Quantum walks on cycles: mixing and what never settles

A classical walk on a ring settles to the uniform distribution. A quantum walk never does, but its time average gets very close. See the numbers and the reason.

9 min read · reviewed December 2026

Why look at a ring

A line is infinite, so the walker can run off for ever. A ring of n sites is finite, so the question changes from how far the walker spreads to whether it settles into a steady distribution. For a classical walk the answer is yes: after enough steps the chance of being at each site is almost exactly 1/n. How quickly this happens is the mixing time, and it controls the running time of many sampling algorithms.

The walk in the lab starts at site 0 of a ring with 5 to 31 sites. The distance from the uniform distribution is measured by the total variation distance, half the sum of the absolute differences between the walk’s chances and 1/n. It is 0 when the distribution is perfectly even and close to 1 when it is concentrated on a single site.

The parity problem on even rings

Each step moves the walker by exactly one site, so after an even number of steps it is on sites of one parity, and after an odd number on the other. On a ring with an even number of sites, this stays true for ever: half of the sites have chance zero at any given step, and the distance from uniform is at least 0.5. Both the classical and the quantum walk suffer from this, and the lab says so when you choose an even n. Use an odd ring, such as 11, to see mixing.

The numbers on an 11-site ring

The table shows the Hadamard walk with the balanced start on 11 sites, next to a classical walk. The classical distance from uniform falls steadily: 0.44 at 10 steps, 0.08 at 50 steps and 0.0002 at 200 steps. The quantum distance does not fall. It is 0.34 at 10 steps, 0.25 at 50 steps and 0.49 at 200 steps: it bounces up and down without settling.

Ring of 11 sites, Hadamard coin, balanced start. Distance from the uniform distribution (total variation).
Steps tQuantum at step tClassical at step tQuantum, averaged over steps 0 to t
50.57390.57390.3580
100.34360.43610.1124
250.24550.22590.0499
500.25310.08080.0215
1000.34710.01020.0193
2000.48610.00020.0069

Why a quantum walk cannot settle

A unitary evolution on a finite system is quasi-periodic. Its eigenvalues are phases that never decay, so the state keeps rotating and comes close to earlier states again and again. There is nothing like friction to damp the motion, so the instantaneous distribution has no limit. A classical random walk, by contrast, loses information at every step because the coin is random, and that loss is what drives it to the uniform distribution.

This is not a sign of failure. It is a fingerprint of unitarity. Quantum computers cannot throw information away in the middle of a computation, so the walk keeps all of it.

What does settle: the time average

Take the distribution at every step from 0 to T and average it. The last column of the table does that, and the distance from uniform of the average falls: about 0.0069 for T = 200 on the 11-site ring and 0.0006 for T = 1000 (this page’s own simulation). So a quantum walk mixes in the weaker sense that if you stop it at a randomly chosen time, the site you see is close to uniform. This is called average mixing, and it is the notion used in much of the literature on mixing of quantum walks.

A practical consequence is that a walk-based sampling algorithm does not run for as long as it can and read off the answer. It chooses a random stopping time, or it is designed around hitting times, the number of steps to first reach a particular vertex, rather than around convergence.

Instantaneous distribution: never settles. Time average: gets close to uniform. The two are different questions, and only the second has a good answer.

How to try this yourself

  • Open the Walk on a cycle tab, leave n = 11 and the Hadamard coin, and move the Steps slider. Watch the quantum bars change shape from step to step and not flatten.
  • Look at the distance-from-uniform table: the classical column falls and the quantum column does not.
  • Compare the quantum number averaged over steps 0 to 200 and note how small it is.
  • Set n to 12. Both distances are stuck near 0.5.

Try it

Questions

Does the quantum walk mix faster than the classical one?

In the average sense it can, depending on the graph. This page shows only the 11-site ring, where the time average gets close to uniform. Generalising needs the research literature.

Why does the distance for an even ring stay at 0.5?

Because the walker is on sites of one parity at each step, so half the sites have chance zero.

Is the instantaneous distribution ever uniform?

It may come close for particular steps on particular rings, but it does not stay there. There is no limit.

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.