State-Vector Sandbox2 qubits · 4 amplitudes · 12 gates

Quantum Lab

Compose a circuit on the wires below and watch the genuine quantum state — every complex amplitude, every phase, and each qubit’s Bloch vector — update live. Grover is loaded as a starting example.

Qubits2
single-qubit
rotations
multi-qubit
angle
tool
Pick a gate, then click a wire to place it.
q0|0⟩q1|0⟩HHZHHXXZXXHH
step 12/12
state vector |ψ⟩
|11
1.000+180°100.0%
magnitude · phase · probability○ separable
Bloch spheres
|0⟩|1⟩
q0
|r| 1.00
|0⟩|1⟩
q1
|r| 1.00

A vector touching the surface is a definite single-qubit state. When it shrinks toward the center, that qubit is entangled with the others — its information lives in the whole system, not in itself.

measurement

Collapse the wavefunction repeatedly to see the Born-rule statistics emerge from the amplitudes above.

This is a faithful classical simulation of quantum mechanics — the same linear algebra a real device obeys — running entirely in your browser. It is not a quantum computer: the state vector grows as 2n, so classical simulation hits a wall around 25–30 qubits. That wall is exactly why quantum hardware matters.