Home▸Quantum Computing▸Quantum Counting: Estimating the Number of Marked Items from Grover Rotation Eigenphases

Quantum Counting: Estimating the Number of Marked Items from Grover Rotation Eigenphases

Count the marked items in an unsorted database without finding them. Grover's operator rotates the state by an angle set by the fraction of marked items; quantum phase estimation on that operator reads the angle out as a peaked distribution of outcomes, and the count follows from N sin squared of the estimated phase. A Blender-built quantum chip shows the database cubes whose amplitudes grow and shrink with each Grover step, the rotation dial and the readout histogram. Change the database size, the number of marked items and the number of phase qubits. The readout distribution is checked against a full state-vector simulation of the circuit and against the Brassard-Hoyer-Tapp error bound.

Quantum Computing3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Quantum Counting: Estimating the Number of Marked Items from Grover Rotation Eigenphases ↗ Open standalone

Count the marked items in an unsorted database without finding them. Grover's operator rotates the state by an angle set by the fraction of marked items; quantum phase estimation on that operator reads the angle out as a peaked distribution of outcomes, and the count follows from N sin squared of the estimated phase. A Blender-built quantum chip shows the database cubes whose amplitudes grow and shrink with each Grover step, the rotation dial and the readout histogram. Change the database size, the number of marked items and the number of phase qubits. The readout distribution is checked against a full state-vector simulation of the circuit and against the Brassard-Hoyer-Tapp error bound.

⚙ Under the hood

Count the marked items in an unsorted database without finding them. Grover's operator rotates the state by an angle set by the fraction of marked items; quantum phase estimation on that operator reads the angle out as a peaked distribution of outcomes, and the count follows from N sin squared of the estimated phase. A Blender-built quantum chip shows the database cubes whose amplitudes grow and shrink with each Grover step, the rotation dial and the readout histogram. Change the database size, the number of marked items and the number of phase qubits. The readout distribution is checked against a full state-vector simulation of the circuit and against the Brassard-Hoyer-Tapp error bound.

Virtual Reality LabImmersive VRQuantum CountingGrover OperatorPhase EstimationAmplitude AmplificationQuantum Algorithms

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)