Chapter 02 · Interference
Amplitudes that cancel out
Probabilities only add up; amplitudes can cancel. That single difference, interference, is the source of all quantum advantage. A coin tossed twice is still random; a “quantum coin” tossed twice gives a certain answer.
In this chapter
In 1801 Thomas Young passed light through two narrow slits and saw on the wall a pattern of light and dark bands: where the waves arrived in step they reinforced each other, and where they arrived out of step they cancelled. In 1989 Akira Tonomura's team at Hitachi repeated the experiment by firing single electrons, one at a time. Each one left a single dot on the screen, but after thousands of them the same bands appeared. Each electron behaves as if it went through both slits and interfered with itself.
Evolution is linear and unitary
Between measurements, a closed quantum system evolves according to Schrödinger's equation (1926), . Its solution is with , a linear map that preserves the norm.
The evolution of a closed system over a time interval is given by a unitary matrix , that is, one with :
Linearity is the superposition principle: if and are possible states, so is any normalized combination of them, and acts on each part separately. Unitarity ensures that probabilities keep adding up to 1, and that every evolution can be undone with : it is the quantum version of reversible computation.
The interference term
Suppose an outcome can be reached along two paths with amplitudes and . Quantum mechanics adds the amplitudes and only then squares:
The last term can be positive (constructive interference) or negative (destructive). If , the outcome becomes impossible even though each path, on its own, would reach it. Richard Feynman made this rule the starting point of his formulation of quantum mechanics (1948): the amplitude of a process is the sum over all paths of the product of the amplitudes along each path.
If are stochastic matrices, the probability of reaching an outcome is a sum, over paths, of products of non-negative numbers. Adding a new path can only increase it.
This is the whole difference. A randomized algorithm can only accumulate probability on the good answers; a quantum algorithm can, in addition, remove probability from the bad ones by making their paths cancel each other out.
A quantum coin
The Hadamard gate is the quantum version of tossing a coin:
Applied to it gives a 50/50 superposition. A classical random coin applied twice still gives 50/50. The quantum coin, applied twice, gives back exactly the starting state.
The two paths that lead to have amplitudes and and cancel out; the two that lead to add up. The randomness of the first coin was not ignorance about a hidden result: it was a superposition, and superpositions can be undone.
The Mach–Zehnder interferometer
The same circuit can be built with light: a beam splitter (which acts as ), two arms, and a second splitter. If one arm adds a phase delay , the circuit is , with .
Starting from , the output of is detected at 0 with probability
Quantum walks
Interference has striking effects even on simple processes. In a classical random walk, a walker flips a coin at each step and moves left or right: after steps its typical distance from the origin grows like , a consequence of the central limit theorem. In a quantum walk (Aharonov, Davidovich and Zagury, 1993; Ambainis et al., 2001) the coin is a qubit, the Hadamard gate is applied to it, and the walker moves left or right in superposition depending on the coin.
For the Hadamard walk on the line, the standard deviation of the position after steps grows linearly, , whereas for the classical random walk .
This quadratic difference is the same one that will appear in Grover's algorithm, and quantum walks are the basis of several algorithms with exponential speedups for problems on graphs. The general lesson: a quantum computer does not try all the answers at once. It choreographs interference so that the paths towards the wrong answers cancel out.
References
- T. Young (1804). “The Bakerian Lecture: Experiments and Calculations Relative to Physical Optics”. Philosophical Transactions of the Royal Society, 94.
- R. P. Feynman (1948). “Space-Time Approach to Non-Relativistic Quantum Mechanics”. Reviews of Modern Physics, 20(2).
- A. Tonomura et al. (1989). “Demonstration of single-electron buildup of an interference pattern”. American Journal of Physics, 57(2).
- Y. Aharonov, L. Davidovich and N. Zagury (1993). “Quantum random walks”. Physical Review A, 48(2).
- A. Ambainis, E. Bach, A. Nayak, A. Vishwanath and J. Watrous (2001). “One-dimensional quantum walks”. STOC.