Classical Random Walks
Before studying how a quantum walk differs from its classical counterpart, it is worth understanding exactly what a classical random walk is and what it can — and cannot — do efficiently.
The simplest random walk: a line
Imagine a particle sitting at position on an integer number line. At each discrete time step it flips a fair coin: heads it moves right (), tails it moves left (). After steps the position is a random variable.
Because each step is with equal probability, the expected displacement is zero:
The variance grows linearly with time. Each step contributes an independent variance of 1, so
This spread is the hallmark of diffusive transport. It means the walker typically travels only from the origin in steps — slow compared with for ballistic (straight-line) motion.
Probability distribution after many steps
By the Central Limit Theorem, the distribution of for large converges to a Gaussian:
centered at the origin, with width . The probability spreads outward smoothly and symmetrically, with the peak remaining at the starting point throughout.
Hitting times and cover times
Two quantities that matter when random walks are used as algorithms:
- Hitting time : the expected number of steps to reach vertex starting from vertex . On a path of nodes, — quadratically slow.
- Cover time: the expected steps to visit every vertex at least once. For an -node path, this is as well.
These quadratic scalings motivate the search for faster walks. On a complete graph of nodes the cover time is , and on a -dimensional hypercube it is as well — but even the best classical random walks cannot escape the diffusive envelope entirely.
Why this matters for quantum computing
A quantum walk replaces the classical coin flip with a unitary coin operator and propagates amplitude coherently rather than probability incoherently. The key consequence is that the spread of the quantum walker grows linearly with time — — rather than . This quadratic speedup in the spreading rate translates into algorithmic speedups for tasks like element distinctness, triangle finding, and spatial search on graphs.
The next lessons build the quantum walk step by step, starting with the coined discrete-time model that mirrors the structure of the classical walk described here.
Sign in on the full site to ask questions and join the discussion.