How many numbers describe a qubit?
A qubit state is a unit vector in . Two complex numbers are four real numbers. The previous lesson removed two of them:
- Normalisation, , is one real equation.
- Global phase is unobservable: and are the same physical state, so one more real parameter is redundant.
Four minus two leaves two real parameters. Two real parameters describe a surface, and for a qubit that surface turns out to be a sphere. Having a picture of every possible single-qubit state is a rare luxury in quantum computing (nothing comparable exists for several qubits), so it is worth building carefully. Our conventions follow the course notation sheet and agree with Nielsen and Chuang, Section 1.2.
The Bloch parametrisation
Use the global-phase freedom to make real and non-negative: if , multiply the whole state by . (If the state is up to phase, and we can take .) Now and , so we can write and for a unique , and give its own phase :
The angle controls the balance between and ; the angle is the relative phase between them. At the state is whatever is, and at it is , which is up to global phase. So is meaningless at the two poles, just as longitude is meaningless at the Earth's poles.
Why and not ? With half-angles, runs over while the state runs from to . Read and as the polar angle (from the north pole) and the azimuth (longitude) of a point on the unit sphere:
This unit vector is the Bloch vector of the state, and the sphere is the Bloch sphere.
Bloch vectors are Pauli expectation values
The geometric definition above has a physical reading that is far more useful in practice. Define the Pauli matrices
(Physics texts often write .) Each is Hermitian with eigenvalues , and for a state its expectation value is , a real number in . The measurement lesson explains how these numbers are estimated from repeated measurements. The claim is:
Derivation. Write and , so .
- , so .
- , so .
- , so .
We used and . Each component agrees with the geometric formula. Two consequences follow immediately. First, the Bloch vector does not depend on the global phase, because is unchanged by ; so you can compute it from amplitudes without first fixing the phase. Second, : the height on the sphere gives the computational-basis probabilities.
Landmarks
| State | Bloch vector | ||
|---|---|---|---|
| (any) | |||
| (any) | |||
Every state on the equator is an equal superposition of and ; the equator is a circle of relative phases.
Orthogonal states are antipodes
In , and are orthogonal, yet on the sphere they are opposite poles, apart rather than . This is the half-angle at work, and it holds in general. The cleanest route uses the matrix (the density matrix of the state). Multiplying out with the Bloch form gives
For two states with Bloch vectors and , the squared overlap is . The Pauli matrices satisfy , and for , so expanding the product gives
The overlap is 1 exactly when (same state) and 0 exactly when . Orthogonal states are antipodal points, and every orthonormal basis of a qubit corresponds to an axis through the sphere: to the axis, to the axis, and so on.
Worked example
Take and .
- Amplitudes: and , so .
- Bloch vector: .
- , which matches .
- Overlap with , whose Bloch vector is : . Directly: , with squared modulus . The two methods agree.
- Overlap with , Bloch vector : . The state leans towards , as its position (between the north pole and the axis) suggests.
In code:
import numpy as np
X = np.array([[0, 1], [1, 0]]); Y = np.array([[0, -1j], [1j, 0]]); Z = np.diag([1, -1])
theta, phi = np.pi / 3, np.pi / 2
psi = np.array([np.cos(theta / 2), np.exp(1j * phi) * np.sin(theta / 2)])
r = np.array([np.vdot(psi, P @ psi).real for P in (X, Y, Z)])
print(np.round(r, 6)) # [0. 0.866025 0.5 ]
s_plus_i = np.array([0, 1, 0])
print(round((1 + r @ s_plus_i) / 2, 6)) # 0.933013
A preview: points inside the sphere
So far every state was a unit vector, which we call a pure state. Suppose instead that a device prepares with probability and with probability , and does not tell us which. This is a classical lack of knowledge, a mixed state, and it is described by the average of the density matrices, . Comparing with , its Bloch vector is : the centre of the sphere.
In general a mixture of pure states with probabilities has Bloch vector , a convex combination, which lies inside the ball ; equality holds only for pure states. The length of the vector measures purity: , equal to 1 for pure states and at the centre.
Do not confuse the mixture at the centre with the superposition . Both give 50/50 outcomes in the computational basis, but sits on the surface at , and measuring it in the basis gives "+" with certainty, whereas the mixture still gives 50/50. A superposition carries a definite relative phase; a mixture does not. This lesson only previews mixed states; the noise lesson uses them in earnest, because noise is exactly what pulls Bloch vectors into the interior.
Limits of the picture
- The Bloch sphere describes one qubit. An -qubit pure state needs real parameters, and entangled states cannot be drawn as one sphere per qubit.
- Angles on the sphere are twice angles between state vectors. Points apart are orthogonal states, whereas and (which are "opposite" vectors in ) are the same point.
Common mistakes
- Dropping the half-angle. The amplitude of is , not . With full angles, would give instead of an equator state.
- Assigning meaning to the global phase. and have the same Bloch vector. Before reading off from amplitudes, rotate the global phase so that the amplitude is real and non-negative.
- Treating orthogonal states as perpendicular Bloch vectors. Perpendicular Bloch vectors (such as and ) have overlap ; orthogonal states are antipodal.
- Reading at a pole. For and any describes the same state.
- Calling a mixture a superposition. Both can give equal computational-basis probabilities; only a measurement in another basis tells them apart.
Summary
- A pure qubit state has two real parameters after normalisation and global phase are removed.
- Bloch form: ; Bloch vector .
- , so orthogonal states sit at opposite points.
- Mixed states are points inside the sphere; measures purity.
The exercise has you convert between amplitudes, angles and Bloch vectors and verify the overlap formula numerically. Next, Quantum gates and unitary transformations shows that single-qubit gates are rotations of this sphere.