Quantum walk

On this page 7

A quantum walk is the quantum analog of a classical random walk: a quantum particle or register moves across the vertices of a graph in superposition, and the amplitudes of different paths interfere rather than simply adding as probabilities. Among quantum algorithms in quantum computing, quantum walks are a general framework for algorithm design that yields speedups for search, element distinctness and certain graph problems.

The key difference from a classical walk is the spreading rate. A classical random walk on a line spreads diffusively, with distance growing as the square root of time, while a quantum walk spreads ballistically, with distance growing linearly. This faster spreading and the ability to steer interference are the source of most quantum walk speedups.

How a quantum walk evolves

A quantum walk replaces the probability distribution of a random walk with a vector of complex amplitudes over graph vertices. The evolution is unitary, so it is reversible and never converges to a stationary distribution in the classical sense. Measuring the walker at a chosen time collapses the state and returns a vertex with probability equal to the squared magnitude of its amplitude.

Two formal models exist. The discrete-time quantum walk adds a coin register that decides the direction of each step, while the continuous-time quantum walk evolves the state under a Hamiltonian derived from the graph’s adjacency or Laplacian matrix. The table below compares them.

ModelEvolution ruleTypical use
Discrete-time (coined)Coin operator, then conditional shiftSpatial search on grids and hypercubes
Continuous-timeHamiltonian e^(−iHt) from graph matrixGlued-trees problem, transport
Szegedy walkQuantized Markov chain with two reflectionsQuadratic speedup of hitting times
Staggered walkAlternating graph tessellationsGeneralizes coined and Szegedy walks
Main models of quantum walks

Quantum walks compared with classical random walks

The quantum walk differs from its classical counterpart in spreading, mixing and hitting behavior. These differences explain where the quantum version helps and where it offers nothing extra.

PropertyClassical random walkQuantum walk
Spread on a line after t stepsAbout √tAbout t
Combination of pathsProbabilities addAmplitudes interfere
Long-time behaviorConverges to stationary distributionOscillates, use time-averaged distribution
Hitting time on suitable graphsBaselineOften quadratically faster
ReversibilityGenerally irreversibleAlways reversible
Classical random walk versus quantum walk

A quadratic speedup is the typical gain, but on specially structured graphs the gap can be larger. On the glued-trees graph, a continuous-time quantum walk crosses from one root to the other in polynomial time, while any classical algorithm needs exponentially many queries, an oracle separation proved in the early 2000s.

Algorithms built on quantum walks

Quantum walks are the engine behind several important algorithms. Ambainis’s element distinctness algorithm finds two equal items in a list with about N^(2/3) queries, compared with N classically. Walk-based methods also give speedups for triangle finding, formula evaluation and spatial search on lattices.

The following table lists representative results and the speedup each achieves.

ProblemQuantum walk complexityBest classical
Element distinctnessO(N^(2/3)) queriesO(N) queries
Spatial search on 2D gridO(√N log N) stepsO(N) steps
Glued-trees traversalPolynomialExponential
NAND-tree evaluationAbout N^0.5 queriesAbout N^0.753 queries
Markov chain hittingSquare root of classicalHitting time
Representative quantum walk algorithms

Quantum walks are also universal for quantum computation: both discrete-time and continuous-time walks on suitable graphs can encode any quantum circuit. This makes them a full computational model, not only a toolbox for search.

Relation to Grover’s algorithm and amplitude amplification

Grover’s algorithm can be viewed as a quantum walk on the complete graph, where every vertex connects to every other. Spatial search generalizes this idea to graphs with limited connectivity, where the walker cannot jump directly to any vertex.

Both methods rely on amplitude amplification: repeated reflections rotate the state toward marked items. The quantum walk framework adds structure, letting algorithms reuse data across steps, which is why it achieves the N^(2/3) bound for element distinctness where plain Grover search does not.

The two approaches also differ in design flexibility. Grover search needs only an oracle and a diffusion step, while a walk algorithm also defines a graph, a coin or Hamiltonian, and a checking cost for marked vertices. The general cost formula of walk search, combining setup, update and checking costs, lets designers balance these parts and is the main reason the framework produces new algorithms rather than restating known ones.

Physical implementations and practical limits

Quantum walks have been demonstrated in photonic waveguide arrays, trapped ions, neutral atoms in optical lattices and superconducting circuits. Photonic chips are especially natural because light hopping between coupled waveguides directly realizes a continuous-time walk.

Several practical limits apply. The most important are decoherence and disorder, which turn a quantum walk back into classical diffusion or cause localization.

ObstacleEffectMitigation
DecoherenceLoss of interference, classical spreadingShorter walks, better isolation
Static disorderAnderson localization of the walkerPrecise fabrication and calibration
Large graphsQubit count grows with vertex encodingBinary vertex encoding in registers
Measurement timingSuccess depends on stopping timeRandomized or averaged stopping
Common obstacles for quantum walks

A common misconception is that a quantum walk speeds up every graph problem. On many graphs the gain disappears, and the right choice of coin, Hamiltonian and stopping time is critical.

In plain words

Picture a person exploring a maze by flipping a coin at every turn. That is a classical random walk. It is slow, because the person often goes back over the same paths.

A quantum walk explores many paths at once. The paths can strengthen or cancel each other, like waves on water. With a clever setup, the wrong routes cancel out and the right ones grow stronger. That is why a quantum walk can find a target faster than random wandering.

A real-world example

A university photonics lab builds a chip with 21 coupled waveguides etched in glass. Laser light enters a single waveguide and spreads to its neighbors as it travels along the chip, which realizes a continuous-time quantum walk on a line. Cameras at the output record the intensity pattern.

The measured pattern shows two sharp peaks moving outward at a constant speed, the ballistic signature of a quantum walk, instead of the bell-shaped spread expected from classical diffusion. The team then adds deliberate random variations to the waveguide spacing and observes the light localize near the input. The experiment confirms the theory and provides a test bed for quantum transport and search algorithms.