14Stage 5Intermediate13 min

Grover search

Amplify one marked answer—and see why the number of iterations matters.

Back to learning pathQuantum algorithms
2 Qubits4 · Circuit story

Why this experiment matters

See how phase marking and interference can reduce the work needed for unstructured search.

  1. 01

    Create an equal superposition of four states.

  2. 02

    Let the oracle flip only the target's phase.

  3. 03

    Apply diffusion, then decide whether another iteration helps or overshoots.

Grover iterations1Measurements500×
Which result will be most likely at the current setting?Prediction options

INTERACTIVE

Interactive model

Move the control, then run a measurement. This is a teaching simulation—not hardware output.

Simulated locally
Circuit story
H×2OracleDiffusionM×2
Predict before you measure

Choose one answer to unlock the measurement.

Predict before you measure

Measurement results

Make a prediction, then run the measurement to reveal the expected and sampled results.

06 · CHECK

Measurement results

Make a prediction, then run the measurement to reveal the expected and sampled results.