Subject overview

Quantum

Simulate a single qubit with quantum gates, explore complex amplitudes and measurement probabilities, and follow state rotations on an interactive 3D Bloch sphere.

01

Qubit

Calculate

Pauli gates
Square-root gates
Hadamard
Rotation gates
General gate

Loading interactive 3D view…

Current state
∣ψ⟩=α∣0⟩+β∣1⟩≈(1.000.00)\displaystyle |\psi\rangle \allowbreak =\nobreak \alpha|0\rangle + \beta|1\rangle \allowbreak \approx\nobreak \begin{pmatrix}1.00\\0.00\end{pmatrix}
Z-basis probabilities
P(0)=∣α∣2≈1.00,P(1)=∣β∣2≈0.00\displaystyle P(0)\allowbreak =\nobreak |\alpha|^2\allowbreak \approx\nobreak 1.00,\quad P(1)\allowbreak =\nobreak |\beta|^2\allowbreak \approx\nobreak 0.00
Bloch coordinates
(x,y,z)≈(0.00,0.00,1.00)\displaystyle (x,y,z)\allowbreak \approx\nobreak (0.00,0.00,1.00)
θ≈0.00 rad,ϕ=undefined at the poles\displaystyle \theta\allowbreak \approx\nobreak 0.00\,\mathrm{rad},\quad \phi \allowbreak =\nobreak \text{undefined at the poles}