⬜ Qubit & Bloch Sphere

|
|
Qubit State
θ (polar):0.000°
φ (azimuth):0.000°
P(|0⟩):100.0%
P(|1⟩):0.0%
|ψ⟩ = |0⟩
Gate History
|ψ⟩ = |0⟩
α = 1+0i
β = 0+0i
Gates applied: 0

🔮 Qubit & Bloch Sphere — Quantum Gates

Visualise a qubit state on the Bloch sphere and apply quantum gates in real time. Pauli X, Y, Z, Hadamard, S and T gates rotate the state vector, showing how quantum computation manipulates superposition and phase.

🔬 What It Demonstrates

Every single-qubit state |ψ⟩ = α|0⟩ + β|1⟩ maps to a unique point on the Bloch sphere. Quantum gates are rotations: X rotates 180° around the x-axis (bit flip), Z around z (phase flip), H maps |0⟩ to an equal superposition on the equator.

🎮 How to Use

Click gate buttons to apply them sequentially. Watch the state vector rotate smoothly on the sphere. The probability display shows |α|² and |β|² updating live. The gate log records your sequence.

💡 Did You Know?

The Bloch sphere is named after Felix Bloch, who developed it to visualise nuclear magnetic resonance states. IBM's quantum processors let anyone run real qubit gates on the cloud using the same Bloch-sphere visualisation.