Home▸Geology & Earth Science▸Quantum Computing Quantum Algorithms Simulation

Grover's Search Algorithm: Amplitude Amplification

Interactive 3D visualization of Grover's quantum search algorithm: watch amplitude amplification boost a marked state's probability toward 1 in about π/4·√N oracle-diffusion iterations.

Geology & Earth Science2DModerate60 FPS📱 Mobile-adapted🌍 Earth
quantum-computing-quantum-algorithms-simulation ↗ Open standalone

This simulator explores the core mechanic behind quantum computing's most famous speedup: Grover's search algorithm. Starting from an equal superposition over N basis states, it repeatedly applies an oracle that flips the sign of one marked amplitude, followed by a diffusion operator that reflects every amplitude about their mean. Each 3D bar represents one computational basis state, its height tracking the amplitude's magnitude and its color its sign, so the amplification process — probability mass draining from the unmarked states into the marked one — is directly visible rather than abstract. Live readouts track the iteration count, the theoretically optimal number of steps (π/4·√N), and the exact measurement probability sin²((2t+1)θ), letting you watch the probability rise toward its peak and, if you keep iterating past the optimum, fall back down again exactly as the underlying rotation predicts.

⚙ Under the hood

This simulation allows you to explore the fundamental principles of quantum computing and observe how quantum algorithms operate on simulated qubits. By manipulating these qubits, you can witness the probabilistic nature of quantum computation and its potential for solving complex problems.

Quantum AlgorithmsSimulation

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)