Playground

量子 Bloch Sphere

Apply gates and observe state evolution

About

The Bloch sphere represents all possible states of a single qubit. Points on the surface correspond to pure quantum states.

States

∣0⟩|0\rangle — North pole

∣1⟩|1\rangle — South pole

∣+⟩|+\rangle, ∣−⟩|-\rangle — X axis (equator)

∣+i⟩|+i\rangle, ∣−i⟩|-i\rangle — Y axis

Formula
∣ψ⟩=cos⁡(θ/2)∣0⟩+eiϕsin⁡(θ/2)∣1⟩|\psi\rangle = \cos(\theta/2)|0\rangle + e^{i\phi}\sin(\theta/2)|1\rangle
Controls

Drag — rotate view

Scroll — zoom

Buttons — apply gates