The Bloch Sphere: Every Single-Qubit State Is a Point in Three Dimensions
The Bloch sphere is the geometric picture that makes single-qubit quantum mechanics intuitive. Every pure single-qubit state is a point on the surface of a unit sphere; every mixed state is a point inside. Single-qubit gates are rotations of this sphere. This tutorial constructs the Bloch sphere from the density-matrix formulation, derives the geometry of common gates, and shows how the picture extends (and fails to extend) to multi-qubit systems.
Prerequisites: Tutorial 1: What Is a Qubit, Tutorial 47: Density Matrices and Mixed States
The Bloch sphere is the most-used visualization in quantum computing pedagogy, and for a reason: every pure single-qubit state is a point on the surface of a unit sphere, every mixed state is a point inside, and every single-qubit unitary is a rotation of the sphere. It is the cleanest geometric representation of quantum information, and once you have internalized it, single-qubit quantum mechanics becomes nearly visual.
This tutorial constructs the Bloch sphere from the density-matrix formulation (tutorial 47), derives the geometry of common single-qubit gates (Pauli rotations, Hadamard, T), and explains why the picture works specifically for single qubits and fails for multi-qubit systems.
The Bloch parameterization
A pure single-qubit state can be written
for and . The angles are exactly the polar and azimuthal angles of a point on the unit sphere. Specifically:
- : the north pole, state .
- : the south pole, state .
- , : equator at the front, state .
- , : equator at the back, state .
- , : equator on the right, state .
- , : equator on the left, state .
The two computational-basis states are antipodal points (north and south poles). The two Hadamard-basis states are antipodal (east and west on the equator). The two -basis states are antipodal (south-east and north-west on the equator, in standard conventions). Antipodal points correspond to orthogonal states, which is the structural reason the Bloch sphere works.
The Bloch vector formula
Any single-qubit density matrix can be written as
where is the Bloch vector, and .
- : pure state, point on the sphere surface.
- : mixed state, point strictly inside the sphere.
- : maximally mixed state, the center.
The Bloch vector components are the expectations of the Pauli operators:
So the Bloch vector is operationally meaningful: each component is what you’d measure if you measured the corresponding Pauli observable.
For a pure state, the Bloch vector is also expressible directly:
This is the standard parameterization of a unit vector in — the same one used in classical mechanics, geophysics, and 3D graphics. Every pure single-qubit state is a unit vector in 3D space, and every mixed state is a 3D vector with norm at most 1.
Single-qubit gates as rotations
The deeply useful property: every single-qubit unitary corresponds to a rotation of the Bloch sphere.
For a unitary , where is a unit 3D vector and , the corresponding action on the Bloch vector is:
where is the standard rotation matrix that rotates by angle around axis .
Concrete consequences:
- rotation by around the axis (flips north pole to south pole, , but also since is on the axis).
- rotation by around the axis.
- rotation by around the axis (flips , but leaves and on the axis).
- rotation by around the axis (swaps the and axes — sending to ).
- rotation by around .
- rotation by around .
So if you ever forget what a single-qubit gate does, the Bloch-sphere picture gives you the answer: it is a rotation, and the axis and angle tell you everything.
Measurement geometry
Measuring along a chosen axis gives outcomes with probabilities determined by the projection of the Bloch vector onto that axis. Specifically, measuring along axis :
The probability of is the cosine of the angle between the Bloch vector and the measurement axis, mapped to . A state aligned with the measurement axis gives outcome deterministically; a state anti-aligned gives deterministically; a state perpendicular gives a 50-50 split.
Measurement projects the state onto the corresponding eigenstate of the measured operator. On the Bloch sphere, this means: after measuring axis and getting outcome , the new Bloch vector is exactly . The sphere snaps to the measurement axis. This is the geometric content of measurement-induced collapse.
A small Bloch-sphere visualization
Concrete code that computes Bloch vectors and visualizes:
import numpy as np
import pennylane as qml
dev = qml.device("default.qubit", wires=1)
@qml.qnode(dev)
def circuit_bloch_vector(rotations):
"""Apply a sequence of rotations and return the Bloch vector."""
for axis, angle in rotations:
if axis == 'x':
qml.RX(angle, wires=0)
elif axis == 'y':
qml.RY(angle, wires=0)
elif axis == 'z':
qml.RZ(angle, wires=0)
return [qml.expval(qml.PauliX(0)), qml.expval(qml.PauliY(0)), qml.expval(qml.PauliZ(0))]
# Initial state |0>: Bloch vector (0, 0, 1) — north pole.
print("Initial |0>:", circuit_bloch_vector([]))
# Apply Hadamard (rotation): expect (1, 0, 0) — equator front.
# H = R_y(pi/2) followed by R_x(pi); or equivalently X * R_y(pi/2).
print("After H (≈ R_y(pi/2) X):",
circuit_bloch_vector([('y', np.pi / 2), ('x', np.pi)]))
# Apply just R_y(pi/2): expect (1, 0, 0) — equator front, the |+> state.
print("After R_y(pi/2):", circuit_bloch_vector([('y', np.pi / 2)]))
# Apply Z = R_z(pi) to |+>: expect (-1, 0, 0) — equator back, |->.
print("After R_y(pi/2) then R_z(pi):",
circuit_bloch_vector([('y', np.pi / 2), ('z', np.pi)]))
# Apply T (= R_z(pi/4)) to |+>: rotates around z by pi/4.
# Expect (cos(pi/4), sin(pi/4), 0) = (0.707, 0.707, 0).
print("After R_y(pi/2) then R_z(pi/4):",
circuit_bloch_vector([('y', np.pi / 2), ('z', np.pi / 4)]))
Sample output:
Initial |0>: [0.0, 0.0, 1.0]
After R_y(pi/2): [1.0, 0.0, 0.0]
After R_y(pi/2) then R_z(pi): [-1.0, 0.0, 0.0]
After R_y(pi/2) then R_z(pi/4): [0.707, 0.707, 0.0]
The Bloch vectors confirm the geometric intuition: takes the north pole to the equator at ; rotates around the equator without leaving it. Visualizing the qubit as a vector on a sphere makes the action of every single-qubit gate immediately clear.
In production, libraries like Qiskit and PennyLane have built-in Bloch-sphere plotters that render this visually.
Why it doesn’t extend to multi-qubit systems
The Bloch-sphere picture is specific to single qubits. Two qubits have a 4-dimensional state space, and their density matrix has real parameters — far more than the 3 of a single qubit. There is no 3D sphere that captures all 15 parameters; you’d need a 15-dimensional convex region (the “set of two-qubit density matrices”), and that region has no clean geometric picture.
This is one reason quantum-information visualization is hard. The Bloch sphere is the unique “easy case” — a special feature of two-level systems. Above two levels, geometric pictures either become high-dimensional or restrict to specific subsets (entangled states, Schmidt-rank-1 states, etc.).
For multi-qubit systems, the standard tools are not visual but algebraic: density matrices, Schmidt decomposition, entanglement measures, and operator norms. The Bloch sphere remains a sentimental and pedagogical favorite for the single-qubit special case.
Practical uses
The Bloch sphere is most useful for:
- Teaching. Single-qubit quantum mechanics is much easier to internalize geometrically than algebraically.
- Designing pulse sequences. Quantum-control engineers think in Bloch-sphere rotations: which rotation axis, which angle, which order. Hardware-control software for pulse shaping (Qiskit Pulse, OpenPulse) uses Bloch-sphere terminology.
- Decoherence visualization. A pure state on the sphere surface decays toward the center under depolarizing noise. The Bloch-vector length is proportional to coherence; its decay over time is the measurement.
- Calibration. Single-qubit randomized benchmarking and other characterization protocols are easiest to interpret in Bloch-vector terms.
- Quick mental check. Need to know what does to ? Visualize it: rotate the equator-front point by around , get a point at tilt. Faster than matrix algebra.
Common misconceptions
“Every quantum state has a Bloch sphere.” Only single qubits. The “generalized Bloch sphere” for higher-dimensional systems is a 15-dimensional convex set with no clean geometric structure.
“The Bloch sphere is a 2-sphere in 3D space.” It is a 2-sphere (the surface) for pure states, plus its interior (the 3-ball) for mixed states. Together they form a 3-ball, not a 2-sphere.
“Antipodal points represent the same state.” They represent orthogonal states. The state at the north pole is orthogonal to at the south pole, not equivalent to it. Conjugate pairs of orthogonal states are antipodal — that’s the structure.
“The Bloch sphere is unique to qubits.” A similar geometric picture exists for any 2-level quantum system (atomic transitions, spin-1/2 particles), and the Bloch-vector idea extends to certain higher-dimensional cases (e.g., the “generalized Bloch sphere” for spin-1 particles is more complex). The qubit Bloch sphere is the cleanest case.
“Bloch-sphere rotations are physical rotations.” They are mathematical rotations of the Bloch vector, but they don’t correspond to rotating the physical hardware. A microwave pulse on a transmon qubit drives a Bloch-sphere rotation around an axis determined by the pulse phase, not by physically rotating the chip.
Decision rule
Use the Bloch sphere when:
- You’re teaching single-qubit quantum mechanics. Best pedagogical tool available.
- You’re designing or debugging single-qubit pulse sequences. Hardware engineers think in Bloch rotations.
- You want to visualize decoherence or single-qubit noise. Decoherence visibly shrinks the Bloch vector.
- You’re analyzing single-qubit randomized benchmarking or Pauli-error tomography. The Bloch-vector formalism aligns with the experiment.
Switch to algebraic / matrix methods when:
- You’re working with multi-qubit systems. The Bloch sphere doesn’t generalize cleanly.
- You’re analyzing entanglement. Bloch sphere is for product states; entanglement requires multi-qubit formalism.
- You’re proving theorems. Density matrices and operator algebra are the rigorous tools; Bloch-sphere geometry is intuition.
For day-to-day quantum-computing work past the introductory stage, the Bloch sphere is a beloved-but-narrow tool. It’s perfect for single-qubit thinking and useless for genuinely multi-qubit problems.
Exercises
1. Compute Bloch vectors for common states
Compute the Bloch vector for: (a) , (b) , (c) , (d) the maximally mixed state .
Show answer
(a) : density matrix . Bloch vector: . North pole. (b) : density matrix . Bloch vector: . Equator at . (c) : density matrix . Bloch vector: . Equator at . (d) Maximally mixed: density matrix . Bloch vector: . Center. Each pure state lives on the sphere surface; the maximally mixed state is the center.
2. Hadamard as a rotation
Show that corresponds to a rotation by angle around the axis on the Bloch sphere. (Hint: and .)
Show answer
A rotation by around an axis flips any vector perpendicular to to its negative, and leaves vectors parallel to unchanged. Choose . Then: has component along , projection . The vector decomposes as parallel-to- part plus perpendicular part. The rotation flips the perpendicular part, giving back . Similarly, decomposes and rotates to . So this rotation swaps and axes — precisely the action of on Bloch vectors. The “axis = ” geometric picture is exactly what and encode in matrix form.
3. Decoherence as Bloch vector shrinkage
A qubit starts in pure state (Bloch vector ) and is subjected to depolarizing noise that evolves the density matrix as . Compute the Bloch vector after time and explain what is happening geometrically.
Show answer
Linearity of Bloch vectors: if , then . The Bloch vector shrinks by factor but keeps its direction. Starting at , after depolarization with rate : Bloch vector . Geometrically: the point starts on the equator and moves toward the center along the same radial line. The direction (which superposition basis the qubit is in) is preserved; the coherence (distance from center) decays. This is the signature visual of decoherence: pure states shrink toward the center of the Bloch sphere over time. Tutorial 18 covered the noise channel mathematics; this exercise gives the geometric picture.
4. Why the maximally mixed state is at the center
Explain in geometric terms why the maximally mixed state has Bloch vector . What does this say operationally?
Show answer
Maximally mixed: . All Pauli expectations are zero, so the Bloch vector is . Operationally: any measurement axis gives a 50-50 outcome. The state has no preferred direction — measuring , , or all give equal probabilities for . Geometrically the center is equidistant from every point on the sphere surface, so projection onto any axis gives a length-zero result. Maximum mixedness = maximum symmetry = no preferred axis. Pure states are at the surface, distinguished by direction; the maximally mixed state is the unique direction-free state at the center.
Where this goes next
This concludes the four-tutorial foundations deepening (45-48). The foundations track now has 7 tutorials covering qubits, superposition, entanglement, Bell’s theorem, no-cloning, density matrices, and the Bloch sphere — a complete grounding for someone serious about quantum computing. Future foundations tutorials may cover: specific noise channels (depolarizing, dephasing, amplitude damping), the Schmidt decomposition in detail, entanglement measures, and the von Neumann entropy as the unique entropy on density matrices.