Click a gate, then click the wire to place it. The full 2ⁿ-amplitude statevector recomputes live — entanglement, interference, and phase all visible. Qubit 0 is the top wire and the leftmost bit in each ket.
| basis | probability | P | amplitude | phase |
|---|
Each row is one of the 2ⁿ classical outcomes. The bar is its measurement probability (tallest = the most likely). The amplitude is the underlying complex number; its phase is what interference acts on — two amplitudes pointing opposite ways cancel.
▸ Bell preset → only |00⟩ and |11⟩ survive: the qubits are entangled.
▸ Put H on every qubit → a flat superposition over all states.
▸ Build |+⟩|+⟩ then add a CZ → watch one amplitude flip negative (phase 180°) with no change to the probabilities.
▸ Two T gates stack into an S; four into a Z.