ConceptBeginnerRepresenting states

Bloch Sphere

The Bloch sphere represents single-qubit states geometrically: pure states lie on the unit sphere, mixed states inside, and single-qubit gates act as rotations.

Every pure state of a qubit can be written, after removing the global phase, as $|\psi\rangle=\cos\tfrac{\theta}{2}|0\rangle+e^{i\varphi}\sin\tfrac{\theta}{2}|1\rangle$, where $0\le\theta\le\pi$ and $0\le\varphi<2\pi$. These two angles are the spherical coordinates of a point on the unit sphere, and the corresponding Bloch vector is $\vec r=(\sin\theta\cos\varphi,\ \sin\theta\sin\varphi,\ \cos\theta)$, whose components are the expectation values $(\langle X\rangle,\langle Y\rangle,\langle Z\rangle)$.

The north pole is $|0\rangle$ and the south pole $|1\rangle$; $|\pm\rangle$ are on the $\pm x$ axis, and $|{\pm i}\rangle$ on the $\pm y$ axis. Orthogonal states lie at opposite ends of a diameter, which is why the angle $\theta/2$ appears in the amplitudes. The gate $R_{\hat n}(\alpha)=e^{-i\alpha\,\hat n\cdot\vec\sigma/2}$ rotates the vector by the angle $\alpha$ about the axis $\hat n$; $X$ is a rotation by $\pi$ about $x$, and $H$ is a rotation by $\pi$ about the axis $(x+z)/\sqrt2$.

For mixed states, $\rho=\tfrac12(I+\vec r\cdot\vec\sigma)$ with $|\vec r|<1$, and the centre of the sphere is the maximally mixed state $I/2$. The sphere does not generalise simply to several qubits, because entangled states do not correspond to one point per qubit.

Mathematical formula

$$\vec r=(\sin\theta\cos\varphi,\ \sin\theta\sin\varphi,\ \cos\theta)=(\langle X\rangle,\langle Y\rangle,\langle Z\rangle)$$

Worked example

For the state $\theta=\pi/2,\ \varphi=\pi/4$: $\vec r=(\cos\tfrac{\pi}{4},\sin\tfrac{\pi}{4},0)\approx(0.707,0.707,0)$, and the state is $\tfrac{1}{\sqrt2}(|0\rangle+e^{i\pi/4}|1\rangle)=T|+\rangle$. The probability of 0 in the $Z$ basis is $(1+r_z)/2=0.5$, and in the $X$ basis the probability of $+$ is $(1+r_x)/2\approx0.854$.

Test your understanding

The quiz needs JavaScript.

Related topics

References

  1. Michael A. Nielsen; Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press doi:10.1017/CBO9780511976667The standard reference for quantum computing; the Crossref record gives 2012 for the Cambridge Core online edition.
  2. John Watrous / IBM Quantum (2025). Basics of Quantum Information (course). IBM Quantum Learning quantum.cloud.ibm.com