Quantum Counting: Phase-Estimation Readout Distribution and Grover Rotation (2D)
A rotation dial for the Grover iterate, the amplitude of marked and unmarked items, and the phase-estimation readout histogram with the estimated count. The same shared quantum-counting model as the 3D scene.
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.
A rotation dial for the Grover iterate, the amplitude of marked and unmarked items, and the phase-estimation readout histogram with the estimated count. The same shared quantum-counting model as the 3D scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install