HomeQuantum PhysicsQubit Bloch Sphere Simulator

Qubit Bloch Sphere Simulator

Interactive Bloch sphere simulator: apply Hadamard, Pauli-X/Z and phase gates to a single qubit, watch its state vector rotate in 3D, and see how decoherence shrinks it from a pure state toward the mixed-state center.

Quantum Physics3DModerate60 FPS📱 Mobile-adapted
physics-ext-topic-45 ↗ Open standalone

Every pure state of a single qubit can be drawn as an arrow from the center of a unit sphere — the Bloch sphere — with the north pole representing |0⟩ and the south pole |1⟩. This simulator lets you apply the Hadamard, Pauli-X, Pauli-Z and an adjustable phase gate to a qubit and watch its state vector rotate in real time in 3D, while readouts track the polar angle θ, azimuthal phase φ, and the resulting measurement probabilities P(|0⟩) and P(|1⟩). Toggle decoherence to see the vector's length shrink from the sphere's surface (a pure state) toward its center (a fully mixed state), the same process that limits every real quantum computing platform and motivates quantum error correction.

⚙ Under the hood

Apply Hadamard, Pauli-X/Z and phase gates to a single qubit and watch its Bloch-sphere state vector rotate in 3D. Toggle decoherence to see the vector shrink from a pure state toward the mixed-state center as it loses coherence.

Three.jsQuantum computingQubitBloch sphereDecoherence

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)