Skip to content

Lesson 5: Qubits, the Superposition Principle and the Bloch Sphere

5.1 Learning Outcomes

By the end of this hour a student will be able to:

  1. State the superposition principle and give its precise mathematical content.
  2. Distinguish global phase (unobservable) from relative phase (observable).
  3. Derive the Bloch sphere parametrisation \(|\psi\rangle = \cos\frac{\theta}{2}|0\rangle + e^{i\varphi}\sin\frac{\theta}{2}|1\rangle\).
  4. Convert between state vectors and Bloch coordinates \((x,y,z)\) in both directions.
  5. Explain why a mixed state lies inside the Bloch ball and how it differs from a superposition.
  6. Name typical physical realisations of a qubit.

5.2 The Superposition Principle

Postulate 1 (State space). The state of an isolated quantum system is a unit vector in a complex Hilbert space \(\mathcal{H}\).

Superposition principle. If \(|\psi_1\rangle\) and \(|\psi_2\rangle\) are physically realisable states of a system, then so is every normalised linear combination

\[ |\psi\rangle = \alpha|\psi_1\rangle + \beta|\psi_2\rangle, \qquad |\alpha|^2+|\beta|^2 = 1 . \]

This is not a statement about ignorance. It is a statement that the state space is a vector space, and that nature realises all of it.

Superposition versus classical probability — the key distinction

Consider two descriptions of a qubit:

Coherent superposition Classical mixture
Description \(\lvert +\rangle = \tfrac{1}{\sqrt2}(\lvert 0\rangle + \lvert 1\rangle)\) "It is \(\lvert 0\rangle\) or \(\lvert 1\rangle\), each w.p. ½"
\(Z\)-measurement result 0 or 1, each w.p. ½ 0 or 1, each w.p. ½
\(X\)-measurement result \(+\) with probability 1 \(+\) or \(-\), each w.p. ½
Density matrix \(\tfrac12\begin{pmatrix}1&1\\1&1\end{pmatrix}\) \(\tfrac12\begin{pmatrix}1&0\\0&1\end{pmatrix}\)

The two are experimentally distinguishable — just measure in the \(X\) basis. The off-diagonal entries of the density matrix are called coherences; a superposition has them, a mixture does not. Decoherence is precisely the process that destroys them.

This table is the single most important conceptual content of Unit I. A superposition is not "the system is secretly one of them and we don't know which."

5.3 Global versus Relative Phase

Definition (Global phase). States \(|\psi\rangle\) and \(e^{i\gamma}|\psi\rangle\) for real \(\gamma\) are called equal up to a global phase.

Theorem. A global phase is physically unobservable.

Proof. Measurement probabilities in any basis \(\{|e_j\rangle\}\) are \(|\langle e_j| e^{i\gamma}|\psi\rangle|^2 = |e^{i\gamma}|^2|\langle e_j|\psi\rangle|^2 = |\langle e_j|\psi\rangle|^2\), since \(|e^{i\gamma}|=1\). Expectation values of any observable are likewise unchanged: \(\langle\psi|e^{-i\gamma}Ae^{i\gamma}|\psi\rangle = \langle\psi|A|\psi\rangle\). \(\blacksquare\)

Definition (Relative phase). In \(\alpha|0\rangle + \beta|1\rangle\), the relative phase is \(\arg\beta - \arg\alpha\). It is observable.

Demonstration. Compare \(|+\rangle = \frac{1}{\sqrt2}(|0\rangle+|1\rangle)\) and \(|-\rangle = \frac{1}{\sqrt2}(|0\rangle-|1\rangle)\). Both give \(\Pr[0]=\Pr[1]=\frac12\) in the \(Z\) basis. But

\[ \langle +|-\rangle = 0, \]

so an \(X\)-basis measurement distinguishes them perfectly. The only difference between them is a relative phase of \(\pi\).

Rule of thumb. Global phase: throw it away. Relative phase: it is the algorithm. Every quantum algorithm in Unit II works by manipulating relative phases and then converting them into amplitudes via a Hadamard or a QFT.

5.4 The Bloch Sphere

Derivation

Start from the general normalised qubit

\[ |\psi\rangle = \alpha|0\rangle + \beta|1\rangle, \qquad \alpha,\beta\in\mathbb{C},\ |\alpha|^2+|\beta|^2=1. \]

Four real parameters (\(\mathrm{Re}\,\alpha, \mathrm{Im}\,\alpha, \mathrm{Re}\,\beta, \mathrm{Im}\,\beta\)), minus one for normalisation, minus one for the unobservable global phase = two real parameters. A two-parameter family — a surface. Let us find it.

Write both amplitudes in polar form: \(\alpha = r_\alpha e^{i\gamma_\alpha}\), \(\beta = r_\beta e^{i\gamma_\beta}\). Discard the global phase \(e^{i\gamma_\alpha}\):

\[ |\psi\rangle \simeq r_\alpha|0\rangle + r_\beta e^{i\varphi}|1\rangle, \qquad \varphi = \gamma_\beta - \gamma_\alpha \in [0, 2\pi). \]

Normalisation \(r_\alpha^2 + r_\beta^2 = 1\) with \(r_\alpha, r_\beta \ge 0\) lets us set \(r_\alpha = \cos\frac{\theta}{2}\), \(r_\beta = \sin\frac{\theta}{2}\) with \(\theta\in[0,\pi]\). Hence

\[ \boxed{\ |\psi\rangle = \cos\frac{\theta}{2}\,|0\rangle + e^{i\varphi}\sin\frac{\theta}{2}\,|1\rangle\ } \]

This is a point on the unit sphere in \(\mathbb{R}^3\) with polar angle \(\theta\) and azimuthal angle \(\varphi\) — the Bloch sphere.

Why the half-angle? Because \(\theta\) ranges over \([0,\pi]\) while the sphere needs a full \([0,\pi]\) polar sweep to go from north to south pole; the half-angle makes orthogonal states (\(\theta\) and \(\pi-\theta\) pairs) land at antipodal points. Specifically:

\[ \theta = 0 \Rightarrow |0\rangle \ \text{(north pole)}, \qquad \theta = \pi \Rightarrow |1\rangle \ \text{(south pole)} . \]

\(|0\rangle\) and \(|1\rangle\) are orthogonal yet sit at opposite poles, separated by a Bloch-sphere angle of \(\pi\), not \(\pi/2\). Orthogonal in Hilbert space ⟷ antipodal on the Bloch sphere.

Cartesian Bloch coordinates

\[ x = \sin\theta\cos\varphi, \qquad y = \sin\theta\sin\varphi, \qquad z = \cos\theta \]

Equivalently, as expectation values of the Paulis:

\[ \boxed{\ x = \langle\psi|X|\psi\rangle, \qquad y = \langle\psi|Y|\psi\rangle, \qquad z = \langle\psi|Z|\psi\rangle\ } \]

This is the practical way to compute Bloch coordinates and the way a real experiment measures them (quantum state tomography: estimate \(\langle X\rangle,\langle Y\rangle,\langle Z\rangle\) by repeated measurement in three bases).

Landmark states

State \(\theta\) \(\varphi\) \((x,y,z)\) Position
\(\lvert 0\rangle\) \(0\) — \((0,0,1)\) North pole
\(\lvert 1\rangle\) \(\pi\) — \((0,0,-1)\) South pole
\(\lvert +\rangle\) \(\pi/2\) \(0\) \((1,0,0)\) \(+x\)
\(\lvert -\rangle\) \(\pi/2\) \(\pi\) \((-1,0,0)\) \(-x\)
\(\lvert {+}i\rangle\) \(\pi/2\) \(\pi/2\) \((0,1,0)\) \(+y\)
\(\lvert {-}i\rangle\) \(\pi/2\) \(3\pi/2\) \((0,-1,0)\) \(-y\)

Gates as rotations

Every single-qubit unitary is (up to global phase) a rotation of the Bloch sphere:

Gate Bloch action
\(X\) \(\pi\) rotation about the \(x\)-axis
\(Y\) \(\pi\) rotation about the \(y\)-axis
\(Z\) \(\pi\) rotation about the \(z\)-axis
\(H\) \(\pi\) rotation about the axis \((\hat x + \hat z)/\sqrt2\)
\(S\) \(\pi/2\) rotation about \(z\)
\(T\) \(\pi/4\) rotation about \(z\)
\(R_{\hat n}(\theta)\) \(\theta\) rotation about axis \(\hat n\)
\[ R_{\hat n}(\theta) = e^{-i\theta(\hat n\cdot\vec\sigma)/2} = \cos\tfrac{\theta}{2} I - i\sin\tfrac{\theta}{2}\,(n_xX + n_yY + n_zZ) \]

Note the factor of 2: a \(2\pi\) rotation of the Bloch sphere corresponds to \(e^{-i\pi} = -1\) on the state vector — a global phase of \(-1\). You need \(4\pi\) to return the vector to itself. This is the famous spin-½ "spinor" property.

Mixed states and the Bloch ball

A mixed state is described by a density matrix

\[ \rho = \frac{1}{2}\big(I + x X + y Y + z Z\big) = \frac12\begin{pmatrix} 1+z & x-iy \\ x+iy & 1-z\end{pmatrix} \]

with \(r = \sqrt{x^2+y^2+z^2} \le 1\).

  • \(r = 1\): pure state, on the surface of the sphere. \(\mathrm{Tr}(\rho^2) = 1\).
  • \(r < 1\): mixed state, strictly inside the ball. \(\mathrm{Tr}(\rho^2) < 1\).
  • \(r = 0\): maximally mixed \(\rho = I/2\) — the centre; total ignorance.

Decoherence shrinks \(r\): the Bloch vector spirals toward the centre. Purity \(\mathrm{Tr}(\rho^2) = \frac{1+r^2}{2}\) is the standard quality measure.

5.5 Physical Realisations of a Qubit

Physical system \(\lvert 0\rangle\) \(\lvert 1\rangle\)
Photon polarisation Horizontal Vertical
Electron / nuclear spin Spin up Spin down
Superconducting transmon Ground state First excited state
Trapped ion Two hyperfine levels
Neutral atom Ground state Rydberg state

In each case the "two-level system" is an approximation: real systems have more levels, and leakage out of the computational subspace is a genuine error channel on hardware.

5.6 Solved Problems

Problem 1 — State to Bloch coordinates (algebraic route)

Find the Bloch coordinates of \(|\psi\rangle = \frac{1}{\sqrt2}|0\rangle + \frac{1+i}{2}|1\rangle\).

Solution. First check normalisation: \(\left|\frac{1}{\sqrt2}\right|^2 + \left|\frac{1+i}{2}\right|^2 = \frac12 + \frac{1^2+1^2}{4} = \frac12+\frac12 = 1\) ✓.

Write \(\alpha = \frac{1}{\sqrt2}\), \(\beta = \frac{1+i}{2}\).

\[ z = |\alpha|^2 - |\beta|^2 = \tfrac12 - \tfrac12 = 0 \]
\[ x = 2\,\mathrm{Re}(\alpha^*\beta), \qquad y = 2\,\mathrm{Im}(\alpha^*\beta) \]
\[ \alpha^*\beta = \frac{1}{\sqrt2}\cdot\frac{1+i}{2} = \frac{1+i}{2\sqrt2} \]
\[ x = 2\cdot\frac{1}{2\sqrt2} = \frac{1}{\sqrt2} \approx 0.7071, \qquad y = 2\cdot\frac{1}{2\sqrt2} = \frac{1}{\sqrt2} \approx 0.7071 \]
\[ (x,y,z) = \left(\tfrac{1}{\sqrt2},\ \tfrac{1}{\sqrt2},\ 0\right) \]

Check: \(x^2+y^2+z^2 = \frac12+\frac12+0 = 1\) ✓ (pure state, on the surface).

Angles: \(\theta = \arccos(0) = \pi/2\) (equator); \(\varphi = \arctan(y/x) = \arctan 1 = \pi/4\).

(Useful identities used above: \(x = 2\mathrm{Re}(\alpha^*\beta)\), \(y = 2\mathrm{Im}(\alpha^*\beta)\), \(z = |\alpha|^2-|\beta|^2\).)

Problem 2 — Bloch coordinates to state

A qubit has Bloch vector \((x,y,z) = \left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt2}\right)\). Find \(\theta\), \(\varphi\) and the state vector.

Solution. Check purity: \(\frac14 + \frac14 + \frac12 = 1\) ✓ — pure.

\[ \theta = \arccos z = \arccos\left(\tfrac{1}{\sqrt2}\right) = \frac{\pi}{4} = 45^\circ \]
\[ \varphi = \operatorname{atan2}(y,x) = \operatorname{atan2}(-\tfrac12, \tfrac12) = -\frac{\pi}{4} \ \ \big(\text{i.e. } 7\pi/4\big) \]

Amplitudes:

\[ \cos\frac{\theta}{2} = \cos\frac{\pi}{8} = 0.9239, \qquad \sin\frac{\theta}{2} = \sin\frac{\pi}{8} = 0.3827 \]
\[ |\psi\rangle = 0.9239\,|0\rangle + 0.3827\,e^{-i\pi/4}\,|1\rangle \]
\[ = 0.9239|0\rangle + 0.3827\left(\tfrac{1}{\sqrt2} - \tfrac{i}{\sqrt2}\right)|1\rangle = 0.9239|0\rangle + (0.2706 - 0.2706i)|1\rangle . \]

Verification: \(0.9239^2 + (0.2706^2+0.2706^2) = 0.8536 + 0.1464 = 1\) ✓.

Problem 3 — Relative phase is observable, global phase is not

States \(|\psi_1\rangle = \frac{1}{\sqrt2}(|0\rangle + |1\rangle)\), \(|\psi_2\rangle = \frac{1}{\sqrt2}(|0\rangle + i|1\rangle)\), \(|\psi_3\rangle = \frac{i}{\sqrt2}(|0\rangle + |1\rangle)\). Which pairs are physically identical? Give a measurement that distinguishes any distinguishable pair.

Solution.

\(\psi_1\) vs \(\psi_3\): \(|\psi_3\rangle = i|\psi_1\rangle\) — differ by a global phase \(e^{i\pi/2}\). Physically identical. Bloch vector of both: \((1,0,0)\).

\(\psi_1\) vs \(\psi_2\): \(\psi_1\) has relative phase 0; \(\psi_2\) has relative phase \(\pi/2\). These are different states. Bloch vectors \((1,0,0)\) and \((0,1,0)\) — separated by 90°.

Distinguishing measurement. Measure the observable \(X\). For \(\psi_1\): \(\langle X\rangle = 1\), so outcome \(+1\) with certainty. For \(\psi_2\): \(\langle X\rangle = 0\), so outcomes \(\pm1\) with probability ½ each.

Note that a \(Z\) measurement is useless here — all three give \(\Pr[0]=\Pr[1]=\frac12\). You must rotate to the right basis to see a phase.

Problem 4 — Effect of a gate as a Bloch rotation

Apply the \(S\) gate \(\left(S=\begin{pmatrix}1&0\\0&i\end{pmatrix}\right)\) to \(|+\rangle\). Compute the new state and its Bloch vector, and describe the motion.

Solution.

\[ S|+\rangle = \begin{pmatrix}1&0\\0&i\end{pmatrix}\frac{1}{\sqrt2}\begin{pmatrix}1\\1\end{pmatrix} = \frac{1}{\sqrt2}\begin{pmatrix}1\\ i\end{pmatrix} = |{+}i\rangle \]

Bloch vector: with \(\alpha = \frac{1}{\sqrt2}\), \(\beta = \frac{i}{\sqrt2}\):

\[ \alpha^*\beta = \frac{1}{\sqrt2}\cdot\frac{i}{\sqrt2} = \frac{i}{2} \ \Rightarrow\ x = 2\mathrm{Re}\left(\tfrac{i}{2}\right) = 0,\quad y = 2\mathrm{Im}\left(\tfrac{i}{2}\right) = 1 \]
\[ z = \tfrac12 - \tfrac12 = 0 \qquad \Rightarrow (x,y,z) = (0,1,0) \]

Motion: \((1,0,0) \to (0,1,0)\) — a +90° rotation about the \(z\)-axis, exactly as the table predicts for \(S\). The state moved along the equator; its \(Z\)-measurement statistics are unchanged (\(\Pr[0]=\Pr[1]=\frac12\) before and after), but its \(X\) statistics changed from certain to random.

Problem 5 — Pure or mixed?

A qubit is described by \(\rho = \begin{pmatrix} 0.7 & 0.2 \\ 0.2 & 0.3\end{pmatrix}\). Find its Bloch vector, decide whether it is pure or mixed, and compute the purity.

Solution. Match against \(\rho = \frac12\begin{pmatrix}1+z & x-iy \\ x+iy & 1-z\end{pmatrix}\):

\[ \frac{1+z}{2} = 0.7 \Rightarrow z = 0.4 \]
\[ \frac{x - iy}{2} = 0.2 \Rightarrow x = 0.4,\ y = 0 \]
\[ r = \sqrt{0.4^2 + 0^2 + 0.4^2} = \sqrt{0.32} = 0.5657 < 1 \]

So the state is mixed — it sits inside the Bloch ball, at distance 0.566 from the centre.

Purity:

\[ \mathrm{Tr}(\rho^2) = \frac{1+r^2}{2} = \frac{1+0.32}{2} = 0.66 . \]

Direct check: \(\rho^2 = \begin{pmatrix}0.49+0.04 & 0.14+0.06\\ 0.14+0.06 & 0.04+0.09\end{pmatrix} = \begin{pmatrix}0.53 & 0.20\\ 0.20 & 0.13\end{pmatrix}\), trace \(= 0.66\) ✓.

Interpretation. This qubit is not in any single pure state; it is a statistical mixture, equivalently a pure state that has partially decohered. Purity 0.66 lies between the pure value 1 and the maximally mixed value 0.5.

5.7 Practice Problems

  1. Find the Bloch vector of \(\frac{\sqrt3}{2}|0\rangle - \frac{1}{2}|1\rangle\). [Ans: \((-\frac{\sqrt3}{2},0,\frac12)\)]
  2. Write the state at \(\theta = 2\pi/3\), \(\varphi = \pi\) in the computational basis.
  3. Show that \(|\psi\rangle\) and \(|\psi^\perp\rangle\) are always antipodal on the Bloch sphere.
  4. Which single-qubit gate rotates \(|0\rangle\) to \(|{-}i\rangle\)? [Hint: \(S^\dagger H\)]
  5. Compute the purity of \(\rho = 0.5|0\rangle\langle0| + 0.5|1\rangle\langle1|\). [Ans: 0.5, maximally mixed]
  6. Explain why \(\Pr[0] = \frac{1+z}{2}\) for any qubit with Bloch \(z\)-coordinate \(z\).
  7. Show that \(H\) maps the \(+z\) axis to \(+x\) and \(+x\) to \(+z\), but maps \(+y\) to \(-y\).

5.8 Summary

  • Superposition is a statement about the vector-space structure of state space, not about ignorance; coherences (off-diagonal density-matrix entries) distinguish it from a classical mixture.
  • Global phase is unobservable; relative phase is the engine of every quantum algorithm.
  • Bloch parametrisation: \(|\psi\rangle = \cos\frac{\theta}{2}|0\rangle + e^{i\varphi}\sin\frac{\theta}{2}|1\rangle\), with \((x,y,z) = (\langle X\rangle, \langle Y\rangle, \langle Z\rangle)\).
  • Orthogonal states are antipodal; single-qubit gates are rotations; the half-angle produces the spinor \(4\pi\) periodicity.
  • Pure states sit on the sphere (\(r=1\)); mixed states inside (\(r<1\)); decoherence shrinks \(r\).

Next lesson: L06 — Quantum measurement and the postulates.

Practise now: unit1-qubit-lab.html → Bloch Sphere tab. Drag \(\theta\) and \(\varphi\), apply gates, and watch the vector rotate in real time. Verify Problem 4 by clicking S on the \(+\) state.