The Mach–Zehnder Interferometer
Beam splitters as Hadamards, and which-path information.
Two beam splitters, two mirrors and a phase shifter make the cleanest interference experiment there is, and a single photon running through it is a qubit running through the circuit . In this lesson you derive its behavior exactly, find where the crucial minus sign comes from, and compute how much interference survives a partial record of the path.
What you’ll learn
- Model beam splitters and phase shifters as unitaries in the dual-rail (path) encoding.
- Derive and .
- Prove that every lossless 50:50 beam splitter satisfies , and reconcile different conventions.
- Derive the fringe visibility for a which-path marker, and the duality for pure markers.
- Interpret single-photon and delayed-choice experiments correctly.
The interferometer as a one-qubit circuit
Encode a single photon by its path: = lower arm, = upper arm (the dual-rail encoding). A 50:50 beam splitter is a unitary on this two-dimensional space, which we take to be the Hadamard . A phase shifter on the upper arm is . The photon enters in , so the interferometer applies
Read right to left: BS₁, then the phase, then BS₂.
Each entry is a sum of two path amplitudes, one per arm.
Factor out the half-angle phase.
Up to a global phase, the interferometer is an -rotation by : a -rotation conjugated by .
The fringe. At the arms reinforce at D0; at they cancel there.
At (60°), what fraction of photons reaches D0, in percent?
Show the answer
75 %
. On the Bloch sphere, tilts by 60° toward , leaving .
Where the minus sign comes from
A real beam splitter has transmission and reflection amplitudes for each input port. Write it as
where the columns are input ports and the rows output ports. Energy conservation (losslessness) means is unitary.
A 50:50 splitter: each route has probability .
The two columns must be orthogonal.
Multiply through by and use .
So in every lossless 50:50 beam splitter, "reflect twice" and "transmit twice" carry opposite signs. This is the minus sign that makes the two routes to the dark port cancel. It is not an extra assumption; it is conservation of probability.
| Convention | Matrix | Two in a row (equal arms) |
|---|---|---|
| Hadamard | : exits the port it entered | |
| Symmetric | : exits the other port |
Which-path information and visibility
Now let the photon disturb a second system, a marker, differently in the two arms: an atom that is excited, a polarization that is rotated, a mirror that recoils. The marker starts in and ends in or depending on the arm.
After BS₁, the marking interaction and the phase shifter.
BS₂ acts on the path only.
Sum over the marker's states: the joint amplitude is a vector, and its squared norm is the probability.
The fringe is shifted by and scaled by .
Fringe visibility equals the overlap of the which-path records. A perfect record () leaves no fringe at all.
A marker ends in states with . What fringe visibility do you see, and how well can the marker reveal the path?
- ; the path can be guessed with probability
- ; the path can be guessed with probability
- ; the path can be guessed with probability
- ; the path can be guessed with probability
Show the answer
B. ; the path can be guessed with probability
. The distinguishability is , and the optimal (Helstrom) guess succeeds with probability . Strong fringes and a decent path guess can coexist, but only as allowed by .
Single photons and delayed choice
Is the fringe really single-photon interference, or a collective effect of many photons? Grangier, Roger and Aspect (1986) answered this with heralded single photons. At a single beam splitter, coincidences between the two outputs were far below the minimum any classical wave model allows: each photon is detected whole, on one side. The same photons, sent through a Mach–Zehnder interferometer, built up the full fringe one click at a time.
Wheeler then asked: what if BS₂ is inserted or removed only after the photon has passed BS₁? Jacques et al. (2007) made the choice with a fast random switch, space-like separated from the photon's entry. The statistics followed the final configuration every time: fringes with BS₂, 50/50 path statistics without it.
| Configuration | D0 | D1 | Absorbed |
|---|---|---|---|
| both arms open, BS₂ in | |||
| BS₂ removed | (upper arm) | (lower arm) | |
| one arm blocked, BS₂ in |
What is the correct lesson of the delayed-choice experiment?
- The photon's past is changed by the later choice
- The photon is a particle until BS₂ is inserted, then becomes a wave
- The statistics depend only on the final setup; the photon need not have had a definite "wave" or "particle" character beforehand, and no signal travels backward
- The choice must be made before the photon enters, or the experiment fails
Show the answer
C. The statistics depend only on the final setup; the photon need not have had a definite "wave" or "particle" character beforehand, and no signal travels backward
Quantum mechanics predicts the detection statistics from the whole experimental arrangement. Assigning the photon a definite path (or not) before the choice is an unnecessary extra story, and the outcomes at earlier times are never altered, so nothing can be signaled.
Going deeper
Everything above follows from three facts: beam splitters are unitaries, amplitudes add before squaring, and records weight the interference term by their overlap. The Rydberg-level lessons push each fact to its limit.
Key takeaways
- In the dual-rail encoding a lossless 50:50 beam splitter is a unitary, and unitarity forces : the minus sign behind every dark port.
- The Mach–Zehnder interferometer is , so .
- A which-path marker multiplies the interference term by : visibility , and for pure markers.
- Uncomputing the record before recombination restores interference; reading it in a conjugate basis restores fringes only in sorted subsets.
- Single-photon and delayed-choice experiments show the fringe is a property of each photon's amplitudes and of the final setup, with no signaling in time.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
Up to a global phase, which single-qubit rotation is the Mach–Zehnder unitary ?
Show the answer
B.
. Conjugating by swaps the and axes, so a -rotation (the phase) becomes an -rotation.
Two symmetric beam splitters are used with perfectly equal arms. A photon enters port 0. Where does it leave?
- Port 0 with certainty
- 50/50 between the ports
- It depends on the photon's wavelength
- Port 1 with certainty
Show the answer
D. Port 1 with certainty
, so . Which port is bright is convention-dependent; that one port is completely dark is not.
A which-path marker ends in pure states with . What is the fringe visibility?
Show the answer
A.
. The distinguishability is , and .
In the circuit , CNOT, (path on qubit 0, marker on qubit 1), which modification restores qubit 0 to with certainty?
- Measure the marker qubit after the final
- Apply to the marker after the final
- Apply a second CNOT before the final , uncomputing the marker
- Apply to the marker after the final
Show the answer
C. Apply a second CNOT before the final , uncomputing the marker
The second CNOT returns the marker to while the paths are still separate, so the paths again end in the same marker state and interfere fully. Operations on the marker after recombination cannot change qubit 0's statistics.
Go deeper
- Interaction-Free Measurement · The Elitzur–Vaidman bomb tester.
- Which-Path Information & the Quantum Eraser · Complementarity, entanglement and restoring fringes.
- Hong–Ou–Mandel & Boson Sampling · Two-photon interference and a route to quantum advantage.
Further reading
- M. A. Nielsen & I. L. Chuang, Quantum Computation and Quantum Information, §7.4 (Cambridge, 10th anniv. ed., 2010).
- P. Grangier, G. Roger & A. Aspect, "Experimental evidence for a photon anticorrelation effect on a beam splitter: a new light on single-photon interferences", Europhys. Lett. 1, 173 (1986).
- V. Jacques, E. Wu, F. Grosshans, F. Treussart, P. Grangier, A. Aspect & J.-F. Roch, "Experimental realization of Wheeler's delayed-choice gedanken experiment", Science 315, 966 (2007).
- B.-G. Englert, "Fringe visibility and which-way information: an inequality", Phys. Rev. Lett. 77, 2154 (1996).