Interference
Amplitudes can cancel. That one fact powers every quantum algorithm.
Fire single photons, one at a time, at two half-silvered mirrors. Each mirror on its own is a fair coin toss, yet together they send every photon to the same detector. The reason, amplitudes that can cancel, is the engine inside every quantum algorithm.
What you’ll learn
- Explain why quantum probabilities come from adding amplitudes first and squaring second.
- Predict the detector statistics of a Mach–Zehnder interferometer from its phase setting.
- Explain why which-path information destroys interference, even when nobody reads it.
- Read beam splitters as Hadamard gates, and and as interference.
- Describe in one sentence how phase estimation uses interference to measure a phase.
Two fair coins that are not fair
A beam splitter is a half-silvered mirror: half the light goes through, half is reflected. Fire a single photon at one and it is detected on one side or the other, 50/50, at random.
Now build a Mach–Zehnder interferometer. A first beam splitter (BS₁) sends the photon into two arms, mirrors bring the arms back together at a second beam splitter (BS₂), and two detectors, D0 and D1, wait behind it. Two fair coin tosses in a row should give 50/50 at the detectors. Fire some photons and see.
Think first With BS₂ in place, every photon reached D0. With BS₂ removed, the split was 50/50. Why can't "each photon secretly takes one arm at random" explain both results?
If each photon really travelled one definite arm, BS₂ would toss a fresh fair coin for it and the detectors would see 50/50 either way. The perfect 100 : 0 result means that both arms contribute to every single photon's outcome, and the two contributions to D1 cancel.
Amplitudes add, probabilities don’t
Quantum mechanics assigns every way an event can happen an amplitude: a number that can be positive, negative or even complex. The recipe has three steps:
- For each path to an outcome, multiply the amplitudes along the path.
- Add the path amplitudes of all paths that end in the same outcome.
- Only then take the squared magnitude to get the probability (the Born rule).
Each beam splitter contributes per route. Conservation of probability forces one route through BS₂ to carry a minus sign (you will prove this in the Excited State lesson). Here is the bookkeeping:
| Path | Amplitude to D0 | Amplitude to D1 |
|---|---|---|
| via the lower arm | ||
| via the upper arm | ||
| sum of amplitudes | ||
| probability |
Two paths lead to D0, each with amplitude . Adding probabilities would give . What does adding amplitudes give, in percent?
Show the answer
100 %
: certainty. For D1 the amplitudes are and , so its probability is . The total is still ; interference moves probability from D1 to D0 rather than creating it.
Phase steers the photon
Lengthen the upper arm a tiny bit and its amplitude picks up a phase : it gets multiplied by , a rotation in the complex plane. The two contributions then no longer line up perfectly:
At the arms reinforce at D0. At the upper amplitude is flipped to its negative, so the arms cancel at D0 and reinforce at D1. In between, the photon is steered smoothly from one detector to the other.
You set (that is, 120°). What percentage of photons will reach D0?
Show the answer
25 %
. One photon in four reaches D0 and three in four reach D1. Test it in the simulator below.
Knowing the path erases the pattern
What if you check which arm the photon takes? Put an absorber in one arm. Now each photon either hits it and is lost, or it definitely went the other way. With only one path left, there is nothing to cancel against.
The phase is , so with both arms open D1 never clicks. A friend may or may not have blocked one arm. You fire one photon and D1 clicks. What do you now know?
- Nothing: D1 clicks at random half the time anyway
- An arm is definitely blocked, although this photon never touched the blocker
- Both arms are definitely open
- The photon was absorbed and then re-emitted toward D1
Show the answer
B. An arm is definitely blocked, although this photon never touched the blocker
With both arms open at , the two routes to D1 cancel exactly, so a D1 click is impossible. A click therefore proves that one route was removed, yet the photon that clicked must have travelled the open arm, since one entering the blocked arm is absorbed. This is the Elitzur–Vaidman bomb tester, an interaction-free measurement you can study at the Rydberg State level.
Beam splitters are Hadamard gates
Call the lower arm and the upper arm : the photon's path is a qubit. A 50/50 beam splitter then acts like the Hadamard gate
and its minus sign is exactly the one in the path table. The phase shifter multiplies by . The whole interferometer is ", phase, ". With no phase, : the photon leaves exactly as it came in, because the two paths to cancel.
| Phase between the 's | Interferometer | Output qubit |
|---|---|---|
| none: | all photons at D0 | |
| () | 50/50 | |
| () | all photons at D1 |
The circuit view: wrong answers cancel
In a quantum circuit the same choreography happens on qubits. The circuit below is . Scrub through it and watch the state go from to an equal superposition and back. Then rebuild it, using only and , so that the output is with certainty.
Every quantum algorithm is this trick at scale. With qubits there are amplitudes and astronomically many paths. A good algorithm (Deutsch–Jozsa, Grover, Shor) arranges the signs so that paths to wrong answers cancel and paths to the right answer reinforce before you measure.
Interference measures phase
Interference turns an invisible phase into visible statistics: in the interferometer, became . Quantum computers use the same move. Through phase kickback, a controlled operation leaves its phase on a control qubit, and a final Hadamard turns that phase into a measurable bias.
One qubit gives one blurry reading. Phase estimation uses control qubits, where the -th one sees the phase multiplied by , and interferes them all at once (with the quantum Fourier transform) so that the output is the phase, written as a -bit binary fraction.
Key takeaways
- Probabilities come from adding amplitudes over all indistinguishable paths, then squaring: .
- Opposite amplitudes cancel (destructive interference); aligned ones reinforce (constructive).
- In a Mach–Zehnder interferometer : a phase steers the photon between the detectors.
- Which-path information, even if never read, destroys interference.
- A beam splitter acts as a Hadamard gate; and are interference identities.
- Phase estimation uses interference to read a phase out as binary digits, and every quantum speedup is choreographed interference.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
Two indistinguishable paths lead to the same outcome, with amplitudes and . What is the probability of that outcome?
Show the answer
C.
Add first, then square: . This is destructive interference.
In the interferometer . Which phase sends exactly half of the photons to each detector?
Show the answer
B.
. At and everything goes to D0; at everything goes to D1.
You remove the second beam splitter. How do the detector counts depend on the phase ?
- They don't: each detector gets 50% for every
- D0 still gets
- All photons go to D0
- All photons are absorbed
Show the answer
A. They don't: each detector gets 50% for every
Without BS₂ the two arms never recombine, so each detector sees only one arm and there is nothing to interfere. A phase on one arm changes no probability.
In one arm you rotate the photon's polarization so that it records which arm was taken. Nobody ever reads the polarization. What happens to the interference?
- Nothing: the mark is never read, so interference is unaffected
- It survives, but at half the strength
- The photon splits into two half-photons that each reach a detector
- It disappears: the two paths are now distinguishable, so their amplitudes no longer meet in the same final state
Show the answer
D. It disappears: the two paths are now distinguishable, so their amplitudes no longer meet in the same final state
Interference requires the alternatives to end in the same final state. A perfect polarization mark puts the two paths into different (orthogonal) states, so their amplitudes add to different outcomes and can never cancel, whether or not anyone looks.
Which circuit returns to with certainty, because its two paths to cancel?
- alone
- , then , then
- then
- then
Show the answer
C. then
. The paths and have amplitudes and , which cancel, while the two paths back to add up to .
Go deeper
- Amplitudes Add, Probabilities Don’t · Constructive and destructive interference, path by path.
- The Mach–Zehnder Interferometer · Beam splitters as Hadamards, and which-path information.
- Phase Kickback & Phase Estimation · How a control qubit learns the eigenvalue of an operation.
Further reading
- R. P. Feynman, R. B. Leighton & M. Sands, The Feynman Lectures on Physics, Vol. III, Ch. 1, "Quantum Behavior" (Addison-Wesley, 1965).
- M. A. Nielsen & I. L. Chuang, Quantum Computation and Quantum Information, Ch. 1 and §5.2 (Cambridge, 10th anniv. ed., 2010).