Continuous-time quantum walks

No coin, no steps. A continuous-time walk lets amplitude flow along the edges of a graph under a Hamiltonian. Its spread is ballistic, with a variance of 2t² against 2t for the classical version.

9 min read · reviewed December 2026

The idea

A classical continuous-time random walk has a walker that hops to each neighbouring site at a fixed rate. The probability of each site changes smoothly in time according to a rate equation. The quantum counterpart replaces the rate equation with the Schrödinger equation, using the graph’s adjacency matrix as the Hamiltonian. The adjacency matrix has a 1 for every pair of connected sites and a 0 elsewhere.

This idea was introduced for algorithm design by Farhi and Gutmann in 1998. Because it has no coin, the state is just one amplitude per site, and nothing else needs to be chosen: the graph defines the walk.

amplitude at site x at time t = ⟨x| e^(−i·A·t) |0⟩, where A is the adjacency matrix

Solving it on a ring

On a ring of n sites the adjacency matrix is diagonalised by plane waves. The eigenvalues are 2cos(2πk/n) for k from 0 to n − 1. Each plane wave just picks up a phase, so the amplitude at site x is a sum of n phases:

ψ(x, t) = (1/n) Σ over k e^(2πi·k·x/n) · e^(−2i·t·cos(2πk/n))

The classical comparison

The classical walk on the same ring hops to each neighbour at rate 1. The same plane waves diagonalise its rate equation, and each plane wave decays, with a decay rate 2 − 2cos(2πk/n). The sum has the same shape as the quantum formula, with a real decaying factor in place of a phase. That one difference, a decay in place of a rotation, separates diffusion from ballistic motion.

Variance: 2t² against 2t

On a large ring, before the walker wraps around, the variance of the displacement is 2t² for the quantum walk and 2t for the classical one. The table shows the lab’s exact values on a 512-site ring: 50 against 10 at t = 5, and 800 against 40 at t = 20. These are equalities in the lab’s output, not approximations, to the two decimal places printed.

Continuous-time walk on a 512-site ring (no wrap-around at these times). Variance of the displacement from site 0.
Time tQuantum2t²Classical2t
28.0084.004
550.005010.0010
10200.0020020.0020
20800.0080040.0040

The shape of the quantum walk

On an infinite line the amplitudes can be written with Bessel functions, with a magnitude equal to the Bessel function J_x(2t) at site x. The lab checks one case: at t = 0.5 the chance at site 0 is the square of the Bessel function J₀(1), 0.58553, and the lab’s exact sum gives 0.58553. The front of the distribution moves at 2 sites per unit time, since the eigenvalue 2cos(k) changes with wave number k at a rate of at most 2. Behind the front, the distribution oscillates, with the largest peaks right at the front.

On a finite ring, the front goes round and meets itself. The picture then shows interference between the two arms, which the lab flags when 2t exceeds half the ring size. At that point the plot shows an interference pattern, and it is the reason the lab offers a large ring for the variance check.

Why this version matters for algorithms

The continuous-time walk is the version used in several of the best-known walk-based speedups, including the glued-trees result of Childs and colleagues in 2003. Childs showed in 2009 that a continuous-time walk on a suitably built graph can run any quantum computation, so the walk is a universal model and not only a toy. Both are results from the literature that this page cites from memory and does not reproduce.

Ballistic spread, a variance that grows like t², is the signature of coherent motion. The classical walk loses coherence at every hop and grows like t.

Try it

Questions

Is the continuous-time walk a limit of the discrete one?

In suitable limits the two are related, but they are different models with different state spaces. The continuous-time walk needs no coin.

Why does the lab use a 512-site ring for the variance?

So the front has not wrapped around at the times shown, which would change the variance.

What is the Hamiltonian?

The adjacency matrix of the graph. Other choices, such as the graph Laplacian, give related walks. The lab uses the adjacency matrix.

Read next

Sources and further reading

  • Y. Aharonov, L. Davidovich and N. Zagury, “Quantum random walks” (1993)
  • E. Farhi and S. Gutmann, “Quantum computation and decision trees” (1998)
  • J. Kempe, “Quantum random walks: an introductory overview” (2003)
  • N. Konno, work on limit distributions of the Hadamard walk (about 2002)
  • A. Childs et al., “Exponential algorithmic speedup by quantum walk” (2003)
  • N. Shenvi, J. Kempe and K. B. Whaley, “A quantum random walk search algorithm” (2003)
  • A. Childs, “Universal computation by quantum walk” (2009)

Check the original sources for exact citations.