Grover's Algorithm Visualization
Initial State
Uniform superposition of all states with equal amplitudes
Play
Reset
Speed:
Previous
Next
How Grover's Algorithm Works:
Start with uniform superposition of all states (all amplitudes equal)
Oracle marks the target state by flipping its phase (direction)
Diffusion reflects amplitudes about the average, amplifying marked state
Repeat oracle and diffusion steps for optimal number of iterations
Measure to find the target state with high probability