A qubit is any quantum system with two distinguishable states, conventionally labelled |0⟩ and |1⟩. It could be the spin of an electron, two energy levels of an atom, or the polarization of a photon. Unlike a classical bit, a qubit can be in a superposition: a weighted combination of |0⟩ and |1⟩ with complex coefficients.
Complex numbers are hard to picture. The Bloch sphere, named after Felix Bloch, who used the geometry in his 1946 work on nuclear magnetic resonance, solves this for one qubit. Every possible state becomes a point on or inside an ordinary sphere, and every operation becomes a rotation. This article explains how the mapping works, what it tells you, and where it fails.
From two complex numbers to two angles
A general pure state of one qubit is
\( |\psi\rangle = \alpha|0\rangle + \beta|1\rangle \)
where α and β are complex numbers satisfying \( |\alpha|^2 + |\beta|^2 = 1 \). (A pure state is one described by a single state vector, as opposed to a statistical mixture, discussed below.)
Two complex numbers make four real numbers. The normalization condition removes one. One more drops out because of global phase, explained next. That leaves two real numbers, which can be written as angles θ and φ:
\( |\psi\rangle = \cos(\theta/2)\,|0\rangle + e^{i\varphi}\sin(\theta/2)\,|1\rangle \)
with 0 ≤ θ ≤ π and 0 ≤ φ < 2π. These are exactly the polar and azimuthal angles of a point on a unit sphere. The point has Cartesian coordinates
\( x = \sin\theta\cos\varphi,\quad y = \sin\theta\sin\varphi,\quad z = \cos\theta \)
and the arrow from the centre to that point is called the Bloch vector.
Why the global phase drops out
Multiplying the whole state by a factor \( e^{i\gamma} \) (a global phase) changes nothing that can be measured. Every probability in quantum mechanics comes from squared magnitudes such as \( |\langle\chi|\psi\rangle|^2 \), and the factor's magnitude is 1, so it cancels.
So we can always choose the phase so that the coefficient of |0⟩ is real and non-negative. That is what the cos(θ/2) form does. Only the relative phase φ between the two components is physical, and it can change measurement results along other axes.
A note on the half-angles: θ/2 appears in the state, but θ on the sphere. The consequence is that |0⟩ and |1⟩, which are orthogonal (perfectly distinguishable), sit at opposite poles, 180° apart, not 90° apart as vectors in an ordinary plane would. In general, any two orthogonal qubit states are antipodal points on the sphere.
What the poles and the equator mean
- North pole (θ = 0): the state |0⟩.
- South pole (θ = π): the state |1⟩.
- Equator (θ = π/2): equal superpositions \( (|0\rangle + e^{i\varphi}|1\rangle)/\sqrt{2} \). The points on the +x and −x axes are often written |+⟩ and |−⟩. The points on the ±y axes are \( (|0\rangle \pm i|1\rangle)/\sqrt{2} \).
Measuring in the standard basis gives
\( P(0) = \cos^2(\theta/2) = \frac{1+z}{2},\qquad P(1) = \sin^2(\theta/2) = \frac{1-z}{2} \)
So the probability depends only on the height of the point, not on φ. Every point on the equator gives a 50/50 result, even though those states are physically different. The difference shows up if you measure along x or y instead: measuring along any axis gives probabilities set by the projection of the Bloch vector onto that axis. You can check these numbers with the qubit probability calculator.
Gates as rotations
A quantum gate on one qubit is a unitary operation, a reversible transformation that preserves normalization. On the Bloch sphere, every single-qubit gate acts as a rotation of the sphere about some axis (up to a global phase, which, as above, is invisible). Some standard examples:
- X gate (the quantum NOT): a 180° rotation about the x axis. It swaps |0⟩ and |1⟩.
- Y gate: a 180° rotation about the y axis. It also swaps the poles, with different phases.
- Z gate: a 180° rotation about the z axis. It leaves |0⟩ and |1⟩ in place but flips |+⟩ to |−⟩.
- Phase gates: S is a 90° rotation about z, and T is a 45° rotation about z. In general a phase gate adds a relative phase, shifting φ while leaving θ unchanged.
- Hadamard gate (H): a 180° rotation about the axis halfway between x and z. It sends |0⟩ to |+⟩ and |1⟩ to |−⟩, and back again.
The general rotation by angle α about a unit axis n is written
\( R_{\mathbf{n}}(\alpha) = \exp\!\left(-i\,\frac{\alpha}{2}\,\mathbf{n}\cdot\boldsymbol{\sigma}\right) \)
where σ = (X, Y, Z) are the Pauli matrices. The α/2 is the same half-angle that appeared in the state. This picture is used every day in practice: in NMR and in many qubit hardware platforms, a resonant pulse of a given length and phase is described directly as a rotation by a chosen angle about an axis in the equatorial plane.
The interactive lab has a Bloch sphere module where you can apply these gates and watch the vector move.
Mixed states: inside the sphere
Not every qubit state is pure. If you only know that a qubit is in |0⟩ with probability ½ and |1⟩ with probability ½, it is in a mixed state. Mixed states arise from ignorance, from noise, and, importantly, from entanglement with other systems.
Mixed states are described by a density matrix ρ. For one qubit, every density matrix can be written
\( \rho = \frac{1}{2}\left(I + r_x X + r_y Y + r_z Z\right) \)
where \( \mathbf{r} = (r_x, r_y, r_z) \) is the Bloch vector, now allowed to have length |r| ≤ 1.
- |r| = 1: a pure state, on the surface.
- |r| < 1: a mixed state, inside the ball.
- r = 0: the maximally mixed state at the centre, which gives 50/50 results along every axis.
The measurement rule P(0) = (1 + r_z)/2 still holds. Processes like decoherence (loss of quantum coherence through uncontrolled interaction with the environment) typically shrink the Bloch vector toward the interior. In many hardware descriptions, the times T1 and T2 characterise how quickly the vector relaxes toward the poles and how quickly its equatorial component decays.
Limits of the picture
The Bloch sphere is exact for one qubit and only one qubit.
A general pure state of two qubits needs four complex amplitudes, which after normalization and global phase leaves six real parameters. A sphere has room for two. There is no simple 3D picture that captures all two-qubit states, and in particular no way to draw entanglement as two arrows on two spheres.
You can see the problem directly. Take the entangled singlet state of two qubits. Ask what state each qubit is in on its own, by averaging over the other (this gives the reduced density matrix). For each qubit, the answer is the maximally mixed state: a Bloch vector of length zero at the centre. Two arrows of zero length say nothing about the perfect correlations between the pair. The information is in the joint state, which single-qubit pictures cannot show.
A related point: a Bloch vector shorter than 1 does not tell you why the state is mixed. Classical uncertainty and entanglement with an unseen partner look identical from the single qubit's point of view.
For a step-by-step derivation of the parametrization, see the theory pages.
Further reading
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information (Cambridge University Press, 2000), chapters 1 and 4.
- F. Bloch, "Nuclear induction", Physical Review 70 (1946).
- R. P. Feynman, F. L. Vernon and R. W. Hellwarth, "Geometrical representation of the Schrödinger equation for solving maser problems", Journal of Applied Physics 28 (1957).