Random Circuit Sampling Lab (2D)
Build a real random quantum circuit qubit-by-qubit and watch its exact 2^N-dimensional statevector evolve: random single-qubit rotations plus CZ entangling gates scramble the output distribution into the Porter-Thomas exponential 'speckle' pattern, verified live against many independent circuit instances.
A from-scratch, 2D-canvas companion to the 3D Random Circuit Sampling Lab: the same real random-circuit-sampling protocol — random single-qubit rotations plus CZ entangling gates applied layer by layer to an exact complex statevector of dimension 2N — is simulated exactly for N = 2 to 8 qubits, small enough to track every one of the D basis-state amplitudes directly. Beyond watching a single circuit's output distribution scramble live, this version runs a statistical batch of many independent random circuit instances, pools every resulting probability, and overlays the pooled histogram against the theoretical Porter–Thomas exponential curve P(x) = e−x — a direct numerical check that random quantum circuits really do produce the chaotic "speckle" statistics that real quantum-supremacy experiments are benchmarked against.
Create random quantum circuits with single-qubit rotations and entangling gates on a 6-qubit grid. Observe the resulting probability distribution.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install