Implements the general Amplitude Amplification algorithm.
Amplitude Amplification provides a systematic method for amplifying
desired amplitudes in quantum superposition states. It generalizes
Grover's algorithm to work with arbitrary state preparations and oracles.
Algorithm Steps:
State Preparation: Initialize the quantum register in a superposition
Oracle Application: Apply phase flip to marked states
Diffusion: Reflect about the initial state
Iteration: Repeat oracle + diffusion for optimal number of times
Theoretical Speedup:
Classical search: O(N) for N items
Amplitude Amplification: O(√N) with optimal success probability
Implements the general Amplitude Amplification algorithm.
Amplitude Amplification provides a systematic method for amplifying desired amplitudes in quantum superposition states. It generalizes Grover's algorithm to work with arbitrary state preparations and oracles.
Algorithm Steps:
Theoretical Speedup: