Keyboard: / notation search · ? shortcuts on practice pages. Settings are saved in this browser.
Go wider
Big ideas behind the module
The lectures give you the rules. These are the physics experiments and maths structures underneath them: why the rules look the way they do, and where they lead. Each one says which lectures it connects to and how advanced it is.
Spin and the Stern–Gerlach experiment: the first qubit
In 1922 Stern and Gerlach fired silver atoms through a non-uniform magnetic field. Classically the beam should smear out; instead it split cleanly in two. The electron's spin, measured along any axis, only ever gives "up" or "down": a natural qubit. Put a second magnet at 90° after the first and the results are 50/50 again; the first measurement didn't reveal a hidden value, it prepared a state. Lecture 8's Bohm–EPR experiment uses exactly these spin measurements.
Lecture 3 uses polarised light (vertical, diagonal, horizontal). A polariser at angle θ to the light lets through a fraction cos2θ of the intensity (Malus's law, 1809). For single photons this becomes a probability: each photon passes with probability cos2θ. That is ∣⟨ϕ∣ψ⟩∣2 with ∣ψ⟩=∣H⟩ and ∣ϕ⟩ at angle θ. Three polarisers (0°, 45°, 90°) let light through where two crossed ones (0°, 90°) block everything: measurement changes the state.
The Mach–Zehnder interferometer: H, phase, H in glass
A half-silvered mirror sends a photon into a superposition of two paths; a second one recombines them. That is a Hadamard, a phase, and another Hadamard. With equal paths the photon always exits one port: the two routes to the other port cancel. This is the experiment behind the double-slit and behind every quantum algorithm's interference. Try it below.
Explore · a single photon in an interferometer
One photon enters at the bottom left. Each half-silvered mirror (beam splitter) acts like a Hadamard gate on "which path". Notice: with both beam splitters in, the photon always reaches detector D0, because the two paths to D1 cancel. Remove the second splitter, or add a phase on the upper path, and the cancellation breaks.
In qubit language: the paths are |0⟩ (lower) and |1⟩ (upper); BS1 is H, the phase shifter is the phase gate P(φ), BS2 is H again. So the circuit is H·P(φ)·H applied to |0⟩: exactly Lecture 4's "H, Z, H = X" when φ = 180°.
Put a bomb that explodes when hit by a photon in one arm of the interferometer. If the bomb is a dud, interference sends every photon to D0. If it is live, it acts as a "which path" detector, interference stops, and 25% of the time the photon reaches D1, telling you the bomb is live without any photon touching it (1993). Repeated cleverly (the quantum Zeno effect) the success rate approaches 100%.
A qubit that interacts with its environment becomes entangled with it. Looking only at the qubit, its relative phase seems to vanish: ∣+⟩⟨+∣ decays towards the mixture 21I. This is decoherence, and it is the main enemy of quantum hardware (the "noisy" in NISQ). It also explains why cats are never seen in superposition, though whether it fully solves the measurement problem is still debated.
Alice and Bob share ∣Φ+⟩. Alice applies I, X, Z or ZX to her half, turning it into one of the four Bell states, then sends her one qubit to Bob. Bob undoes the Bell-pair circuit (CNOT, then H) and reads two bits. One qubit + one ebit = two classical bits; teleportation is two bits + one ebit = one qubit (Bennett & Wiesner 1992).
Stephen Wiesner's idea (written around 1970, published 1983) that started quantum cryptography: a banknote carries qubits each in one of ∣0⟩,∣1⟩,∣+⟩,∣−⟩, known only to the bank. A forger can't copy them (no-cloning) and measuring them in the wrong basis damages them. BB84 is this idea turned into key distribution.
Superconducting circuits (IBM, Google), trapped ions (Quantinuum, IonQ), neutral atoms in optical tweezers (QuEra, Atom Computing), photons (PsiQuantum, Xanadu) and spins in silicon all realise ∣0⟩ and ∣1⟩ differently, but obey exactly the maths of this module. The hard parts are coherence time, gate fidelity and scaling. This is the syllabus's "hardware implementations" topic.
Classical probabilities are non-negative and add: two ways to an outcome means p1+p2. Quantum amplitudes are complex and add before squaring: ∣a1+a2∣2=∣a1∣2+∣a2∣2+2Re(aˉ1a2). The last term is interference, and it can be negative. Bayes' rule (updating after you look) is the classical cousin of the measurement update.
An orthonormal basis {∣ek⟩} has ⟨ej∣ek⟩=δjk. Then any state expands as ∣ψ⟩=∑k⟨ek∣ψ⟩∣ek⟩: the coefficients are the amplitudes for measuring in that basis. Changing measurement basis is just re-expanding the same vector. The identity ∑k∣ek⟩⟨ek∣=I ("resolution of the identity") is the most useful trick in the subject.
Spectral theorem: why measurements are Hermitian matrices
Every Hermitian matrix can be written A=∑kλk∣k⟩⟨k∣ with real eigenvalues and orthonormal eigenvectors. So an observable is "a list of possible results (λk) attached to a measurement basis (∣k⟩)". The average result is ⟨ψ∣A∣ψ⟩, which is how Lecture 8 computes E(a,b).
Euler's formula has a matrix version: if M2=I then eiθM=cosθI+isinθM. With M a Pauli matrix this gives every Bloch-sphere rotation, and with M a Hamiltonian it gives time evolution. Gates are exponentials of Hermitian matrices.
The Paulis with phases {±1,±i} form a group: closed under multiplication, every element has an inverse. Single-qubit gates (up to phase) form SU(2), which covers the rotations of 3D space twice: R(360°)=−I, not I. That is the deep reason for the θ/2 on the Bloch sphere, and why a real electron must turn 720° to come back exactly.
For matrices, A⊗B replaces each entry aij of A by the block aijB. Rules worth knowing: (A⊗B)(C⊗D)=AC⊗BD, and (A⊗B)†=A†⊗B†. Dimensions multiply, which is why n qubits live in 2n dimensions.
Every local hidden-variable model is a mixture of the 16 deterministic strategies, so its possible correlations form a polytope with those 16 as corners. Bell inequalities like CHSH are the faces of that polytope. Quantum correlations form a larger, curved (not polytope) set, and no-signalling correlations a larger polytope still (reaching S=4, Popescu–Rohrlich boxes).
Information theory: bits, entropy and the Holevo bound
Shannon entropy H=−∑plog2p counts bits. Its quantum version, von Neumann entropy S(ρ)=−Trρlog2ρ, measures mixedness and, for half of a pure pair, entanglement. The Holevo bound says one qubit can carry at most one classical bit, which is why teleportation needs two classical bits to move one qubit, and why superdense coding needs a shared ebit to beat it.