The Bloch Sphere
A single qubit lives in a two-dimensional complex vector space. Yet its physical state can be drawn as a single point on an ordinary sphere. This is not a metaphor — it is an exact, faithful geometric picture. Every pure state of a qubit corresponds to exactly one point on the surface of a unit sphere. This holds no matter how the state was prepared. Every point on that sphere corresponds to exactly one pure qubit state. This correspondence holds up to an unobservable global phase. This picture matters because quantum algorithms are usually described as sequences of gates acting on qubits. Gates are unitary matrices acting on complex amplitudes. That algebra is correct but visually opaque. The Bloch sphere turns matrix multiplication into rotation. It turns superposition into geometric position. It turns "how much does this gate change the state" into "how far does this point move." Hardware engineers use it daily to reason about pulse sequences on real qubits. Textbooks use it to make single-qubit gates memorable and provable at a glance. The big picture is a change of coordinates. A qubit state is normally written as a pair of complex numbers subject to a normalization constraint. This leaves two real degrees of freedom after removing an overall phase. Those two real numbers are exactly the latitude and longitude of a point on a sphere. This article makes that correspondence precise. It derives the polar and azimuthal angles from the amplitudes. It explains why global phase disappears and relative phase survives as the sphere's longitude. It also gives worked numerical examples you can check by hand. By the end you will be able to convert any single-qubit state vector into Bloch angles and back. You will be able to explain geometrically why and sit at opposite poles. You will also see why this picture is the natural stage for describing Single-Qubit Gates: X, Y, Z, H, Rotation Gates and Arbitrary Single-Qubit Unitaries as sphere rotations.
- Any pure single-qubit state can be written .
- are spherical coordinates: is the polar (latitude) angle, is the azimuthal (longitude) angle.
- Global phase (an overall factor ) is physically invisible and is discarded before mapping to the sphere.
- Relative phase between the and amplitudes is physically meaningful and becomes the sphere's longitude .
- The poles are () and (); the equator holds equal-superposition states like , , , .
- This representation only works for pure states of a single qubit; mixed states live inside the sphere, and multi-qubit states need a different (higher-dimensional) tool.
A pure single-qubit state is fully and faithfully described by two angles — its Bloch sphere coordinates — because global phase is unobservable and normalization removes one more real degree of freedom.
The idea
A general single-qubit pure state is a unit vector in :
with . Naively this state is specified by four real numbers (two real and two imaginary parts). The normalization constraint removes one real degree of freedom, leaving three. But quantum mechanics postulates that two state vectors differing only by an overall complex phase, and for real , are physically indistinguishable: every measurement probability, computed via , is unchanged by such a factor. This is the global phase, and it removes one further real degree of freedom, leaving exactly two real parameters. Two real parameters are precisely what is needed to label a point on the surface of a sphere: a polar angle and an azimuthal angle , exactly as for latitude and longitude on a globe. Writing the amplitudes in this parametrization,
is called the Bloch sphere representation. The half-angle is a deliberate convention: it makes range over the full while and , which are physically orthogonal (perfectly distinguishable), end up diametrically opposite on the sphere ( and ) rather than at right angles. This matches physical intuition better than the raw amplitude angle would. The key conceptual split is between global phase and relative phase. Global phase multiplies the entire state vector, , and is unobservable — it never appears in the Bloch angles at all. Relative phase is the phase difference between the amplitude and the amplitude; after factoring out global phase to make the coefficient real and non-negative, this relative phase survives as exactly the angle . It is directly observable, for instance by measuring in the or basis, and it is what distinguishes states like from , which have the same but different .
How it works
Step 1 — start from amplitudes. Given with , write and in polar form.
Step 2 — strip global phase. Multiply the whole state by . This does not change the physical state, but now the coefficient is real and non-negative: , and . Define — this is the relative phase.
Step 3 — read off angles. Since , there is a unique with
Concretely, (equivalently , with the branch fixed by ).
Step 4 — plot the point. are spherical coordinates on a unit sphere. The corresponding Cartesian (Bloch vector) coordinates are:
These are exactly the expectation values of the Pauli operators: , , , which is why is called the Bloch vector.
Step 5 (inverse) — angles back to amplitudes. Given , reconstruct
which is unique up to the (physically irrelevant) global phase you discarded in Step 2. ``` FUNCTION StateToBlochAngles(alpha, beta):
# alpha, beta are complex numbers, |alpha|^2 + |beta|^2 = 1 ASSERT |alpha|^2 + |beta|^2 ≈ 1 # normalization check r_alpha = |alpha| r_beta = |beta| theta = 2 arccos(clamp(r_alpha, -1, 1)) # theta in [0, pi] IF r_alpha < EPS: # alpha ≈ 0 (pure |1>) phi = arg(beta) # any global phase convention ELSE IF r_beta < EPS: # beta ≈ 0 (pure |0>) phi = 0 # azimuth undefined at pole; pick 0 ELSE: phi = arg(beta) - arg(alpha) # relative phase phi = phi mod 2pi RETURN (theta, phi) FUNCTION BlochAnglesToState(theta, phi): alpha = cos(theta / 2) beta = exp(i phi) sin(theta / 2) RETURN (alpha, beta) # canonical representative,
# alpha real and ≥ 0 ``` The pseudocode's edge-case handling matters: at the poles ( or ) one of is exactly zero, so the relative phase is geometrically meaningless (longitude is undefined at the poles of a globe too) — the function returns a conventional value rather than dividing by zero or taking `arg` of `0`.
Complexity & correctness
"Complexity" here is representational, not computational. Converting between amplitudes and angles costs a constant number of arithmetic operations: one `arccos`, one or two `arg` (complex argument / `atan2`) calls, and a subtraction. There are no loops, no data structures, and no dependence on any input size — it is time and space per qubit, because a single qubit's pure state is described by a fixed, small number of real parameters regardless of context.
Correctness — this is a bijection (up to global phase). The argument has three parts. Existence. Given any valid amplitudes with , Step 2–3 always produce a valid : this follows because by normalization, and is defined and single-valued on , mapping onto . The value always exists modulo as the difference of two arguments (except at the measure-zero poles, handled by convention). Uniqueness up to global phase. Suppose two amplitude pairs and give the same via the canonical form (real non-negative ). Then and exactly, since the canonicalization removes all phase freedom. Conversely, if and describe the same physical state, they differ by a global phase ; Step 2 strips exactly this factor by construction (it multiplies by , whatever that phase is), so both canonicalize to the identical . Hence the map from physical states (equivalence classes under global phase) to points is a genuine bijection. Surjectivity onto the sphere. Every arises from some valid normalized state, namely the one produced by `BlochAnglesToState`, and one checks directly that for all — so the map covers the whole sphere, not just part of it.
Why Pauli expectation values match spherical coordinates. The identity is not a coincidence; it is a direct computation. For ,
using , and similarly expanding and against the same state gives and . This is exactly why a unitary gate, which conjugates the density matrix and therefore linearly transforms , acts as a rotation of the Bloch vector — the geometric intuition used throughout single-qubit gate theory is not a pedagogical shortcut, it is a provable consequence of the Pauli algebra.
Honest limitations. The Bloch sphere is a surface, and it represents only pure states — states with certainty of preparation, no classical uncertainty mixed in. A statistical mixture of pure states (a mixed state, described by a density matrix rather than a state vector) corresponds to a point strictly inside the sphere, with the fully mixed state (maximal uncertainty) at the exact center. The representation also does not extend simply to multiple qubits: an -qubit pure state has real parameters (after normalization and global phase), which for already exceeds what any single low-dimensional sphere can encode, and entangled states have no faithful "per-qubit Bloch vector" picture at all — tracing out the rest of the system to get a single-qubit Bloch vector for one qubit of an entangled pair necessarily loses information and lands strictly inside the sphere.
Worked example
Take the state produced by applying a Hadamard-like superposition with a phase, a common intermediate state in phase-estimation-style circuits:
| Step | Computation | Result |
|---|---|---|
| Amplitudes | , | already normalized: |
| Strip global phase | , so no rotation needed | (already real, non-negative) |
| Polar angle | ||
| Azimuthal angle | ||
| Bloch vector | , , | |
| Interpretation | Point on the equator, on the axis | This is exactly the state |
Sanity check going backward: plug into `BlochAnglesToState`: , — matches the original state exactly, confirming the round trip. Now contrast with a state that has both a nontrivial global phase and a nontrivial relative phase, to show the two effects don't get confused:
Here and .
- , so .
- , , so .
Notice: the leading factor (global phase) never appears in or — it cancels exactly in the subtraction . Only the relative phase between the two terms survives, exactly as the theory predicts. Both and map to the identical point on the sphere, confirming they are the same physical state.
Common pitfalls & traps
| Pitfall | Why it happens | Fix |
|---|---|---|
| Using (not ) in the amplitudes | Confusing the sphere angle with the raw trigonometric angle between amplitudes | Always use half-angles: , so orthogonal states land at antipodal points |
| Treating global phase as observable | Forgetting that gives identical measurement statistics | Always strip global phase (make real, non-negative) before reading off |
| Confusing relative phase with global phase | Both look like "an somewhere in the formula" | Relative phase is a difference of two arguments; global phase is a common factor on both amplitudes |
| Assuming mixed states have a Bloch sphere point | The Bloch ball (interior) is often glossed over in intro treatments | Remember: pure states are on the surface (); mixed states are strictly inside () |
| Trying to extend the picture directly to 2+ qubits | The sphere trick feels like it should generalize | It does not: entangled multi-qubit states have no single per-qubit Bloch vector that captures all information |
| Azimuth undefined at poles causing NaN/crashes in code | `arg(0)` is undefined; dividing zero vectors | Special-case or and return a fixed convention for |
Pioneers & history
The Bloch sphere is named for Felix Bloch, who introduced the geometric picture in the context of nuclear magnetic resonance, where a spin-1/2 particle's state precesses under a magnetic field in a way that is naturally visualized as a vector on a sphere. The same geometry was later recognized as exactly the right tool for describing any two-level quantum system, including the qubit of quantum computing.
Origins · 1 minFelix Bloch and how this was discovered
history
- 1946 — Felix Bloch publishes the equations describing nuclear magnetic resonance, introducing the vector picture of spin precession that becomes the Bloch sphere.
- 1957 — The Bloch sphere is adopted broadly in the physics of two-level systems (masers, lasers) beyond its original NMR context.
- 1980s — As quantum information theory develops, the two-level system is formalized as the abstract "qubit," and the Bloch sphere becomes its standard visualization.
- 1990s — Textbooks and courses on quantum computing (following the rise of Dirac Notation and the State Vector as a teaching foundation) adopt the Bloch sphere as the canonical picture for single-qubit gates.
- 2000s–present — The Bloch sphere becomes a standard diagnostic tool in experimental quantum hardware labs, used to visualize measured qubit states and gate errors on real superconducting and trapped-ion devices.
Where this matters
Every major single-qubit gate — , , , Hadamard, phase gates, and general rotation gates — is most easily understood and remembered as a specific rotation of the Bloch sphere: is a rotation about the -axis, a rotation about the -axis, and a general rotation gate rotates the Bloch vector by angle about axis . This geometric fact is exactly what makes the transition to Single-Qubit Gates: X, Y, Z, H, Rotation Gates and Arbitrary Single-Qubit Unitaries intuitive rather than purely algebraic. In experimental physics, quantum hardware teams (superconducting circuits, trapped ions, photonic qubits) routinely plot measured qubit states on Bloch spheres to visualize calibration errors, decoherence (the Bloch vector shrinking toward the center as the state becomes mixed over time), and the fidelity of applied pulses. Quantum optimal control — designing microwave pulses that implement a target gate — is frequently framed as steering a point along a desired path on the sphere. Software toolkits for quantum computing (simulators and visualizers used alongside frameworks like Qiskit, Cirq, and similar platforms) include Bloch sphere plotting as a core diagnostic, because it is the fastest way for a human to sanity-check a single-qubit state or debug an unexpected phase. The concept also underlies how textbooks introduce the geometric meaning of The Qubit and Superposition, giving beginners a concrete picture before the abstract linear-algebra machinery of multi-qubit systems and entanglement is introduced.
Ask the tutor: How do the X, Y, and Z gates each correspond to a specific rotation axis on the Bloch sphere, and why does that fully explain their action on any input state?
Why does normalization plus removing global phase leave exactly two real parameters?
A general amplitude pair has four real degrees of freedom (real and imaginary parts of each). The normalization constraint is one real equation, cutting this to three — geometrically, three real parameters describe a point on the unit sphere in four-dimensional real space (). Global phase equivalence, , identifies an entire circle's worth of points as physically identical, removing one more real parameter. Three minus one leaves two, matching the two angles and of ordinary spherical coordinates. This dimension-counting argument is why the Bloch sphere, an ordinary 2-dimensional surface, is exactly the right shape — not a coincidence of the specific parametrization chosen.
Can I recover the original amplitudes exactly from Bloch angles, including phase?
You can recover the amplitudes up to global phase, which is all that is physically meaningful. Given , the formula produces one specific representative state, with the coefficient real and non-negative. Any other state that differs from this by an overall phase factor is physically the same state and maps to the same . So the reconstruction is exact for the equivalence class of physically indistinguishable states, but it deliberately discards information (the specific global phase) that no experiment could ever detect anyway.
Why is the half-angle θ/2 used instead of just using the raw angle between the amplitudes?
Two orthogonal states, meaning states that are perfectly distinguishable by measurement, should intuitively sit as far apart as possible on the sphere — at opposite poles. If the amplitudes were parametrized with the full angle directly (no halving), then and would end up 90 degrees apart on the sphere rather than 180 degrees apart, which would clash with the physical intuition that orthogonal states are "maximally different." The halving in is precisely the convention that fixes this, making perfectly distinguishable states antipodal and, more generally, making the geometric angle between two Bloch vectors relate cleanly to their quantum mechanical overlap.
Does every point inside the sphere correspond to some real physical situation, or is it just decoration?
It is fully physical. Points strictly inside the sphere correspond to mixed states, described by a density matrix where is the Bloch vector with and . Such states arise naturally from decoherence (a qubit interacting with an uncontrolled environment), from classical uncertainty about which pure state was prepared, or from looking at one qubit of an entangled pair while ignoring the other. The exact center, , is the maximally mixed state, representing complete ignorance — equivalent to a fair coin flip between and with no phase information at all.
Why can't this same trick be used to visualize two-qubit or n-qubit states?
Dimension counting again explains the limitation. An -qubit pure state lives in , so after normalization and removing global phase it has real parameters — for that is already 6 real parameters, far more than the 2 that a single sphere's surface can hold. Worse, entanglement means the two qubits' individual states are not even independently well-defined pure states; tracing out one qubit to look at the other generally produces a mixed state (a point inside its own local Bloch ball), and no assignment of two separate Bloch vectors recovers the correlations between the qubits. Genuinely faithful pictures for multi-qubit entangled states require higher-dimensional or more abstract tools.
How does the Bloch sphere make it easy to understand what a quantum gate does?
Because single-qubit unitary gates act on the Bloch vector exactly as three-dimensional rotations (and, if applied to a mixed state, contractions are absent for unitaries — only rotations occur, since unitary evolution preserves for pure states and in fact preserves it for all states). This follows from the fact that conjugating the density matrix by a unitary is a linear, norm-preserving, orientation-preserving map on the real 3-vector , which any linear algebra course shows must be a rotation matrix. So instead of multiplying complex matrices to see what a gate does, you can just picture spinning the sphere about an axis by some angle — the intuition later used to describe , , , Hadamard, and general rotation gates geometrically.
What happens to the Bloch angles if I measure the qubit?
Measurement in the computational basis projects the state onto either (the north pole) or (the south pole), with probabilities and respectively — read directly off the polar angle. This is the Born rule expressed geometrically: the closer the Bloch point is to the north pole, the more likely a outcome. After the measurement, the qubit's state vector collapses to whichever pole was observed, discarding all information about ; the azimuthal angle, which encoded the relative phase, becomes physically irrelevant once the state collapses to a basis state, since a pole has no well-defined longitude.