|q⟩ Bad Qubits

intermediate · Programming · Quantum Walks

Ballistic Spreading

The most striking difference between a classical random walk and a quantum walk is how fast the walker spreads from its starting position. Classically the spread is diffusive — the standard deviation grows as t\sqrt{t}. A quantum walk spreading is ballistic — the standard deviation grows linearly with tt. This quadratic speedup in spreading rate is the engine behind several quantum algorithmic advantages.

Classical diffusion: a recap

In a classical random walk on a line, each step adds an independent ±1\pm 1 displacement. Writing step ii as Si{1,+1}S_i \in \{-1, +1\} with equal probability, the position after tt steps is

Xt=S1+S2++St.X_t = S_1 + S_2 + \cdots + S_t.

Because the steps are independent and identically distributed with E[Si]=0\mathbb{E}[S_i] = 0 and Var(Si)=1\text{Var}(S_i) = 1, the variance of XtX_t is

Var(Xt)=i=1tVar(Si)=t,\text{Var}(X_t) = \sum_{i=1}^{t} \text{Var}(S_i) = t,

giving a standard deviation σclassical(t)=t\sigma_{\text{classical}}(t) = \sqrt{t}. The probability distribution converges to a Gaussian of width t\sim \sqrt{t} centered at the origin.

Quantum walk: ballistic growth

A discrete-time quantum walk on a line uses a two-dimensional coin register to keep track of direction. The state of the system at step tt is

ψt=x,cαx,c(t)xc,|\psi_t\rangle = \sum_{x,c} \alpha_{x,c}^{(t)}\, |x\rangle \otimes |c\rangle,

where x|x\rangle is the position and c{,}|c\rangle \in \{|\uparrow\rangle, |\downarrow\rangle\} is the coin state. Each step applies a unitary coin (e.g. the Hadamard coin HcoinH_{\text{coin}}) followed by a conditional shift:

Sx,=x+1,,Sx,=x1,.S\,|\,x, \uparrow\rangle = |\,x+1, \uparrow\rangle, \qquad S\,|\,x, \downarrow\rangle = |\,x-1, \downarrow\rangle.

Because the overall evolution is unitary, the amplitudes αx,c(t)\alpha_{x,c}^{(t)} interfere coherently rather than mixing probabilistically. The two counter-propagating wave packets — moving left and right — develop a systematic phase relationship that causes constructive interference near the edges of the reachable region and destructive interference near the center.

The σt\sigma \sim t scaling

For a Hadamard-coined walk starting in the symmetric coin superposition

012(+i),|0\rangle \otimes \tfrac{1}{\sqrt{2}}(|\uparrow\rangle + i|\downarrow\rangle),

the standard deviation of the position distribution after tt steps satisfies (Kempe 2003):

σquantum(t)t2.\sigma_{\text{quantum}}(t) \approx \frac{t}{\sqrt{2}}.

This is O(t)O(t) — linear rather than t\sqrt{t}. Comparing the two:

| Walk type | σ\sigma after tt steps | Asymptotic shape | |-----------|--------------------------|------------------| | Classical (fair coin) | t\sqrt{t} | Gaussian (bell curve) | | Quantum (Hadamard coin) | t/2\approx t/\sqrt{2} | Two-peaked, flat in center |

The factor 1/21/\sqrt{2} comes from the effective "speed" of the quantum walk; the peak probability concentrates near x±t/2x \approx \pm t/\sqrt{2}, not at the origin.

Shape of the quantum distribution

While a classical walk gives a symmetric bell curve with a maximum at x=0x = 0, the quantum distribution is almost the opposite: it has two pronounced peaks near the extremes x±t/2x \approx \pm t/\sqrt{2} and a relatively flat (but nonzero) middle. This unusual shape is a direct consequence of quantum interference:

The exact profile depends on the initial coin state. Choosing the symmetric state above produces a roughly symmetric double-peak; an asymmetric coin start (e.g. |\uparrow\rangle alone) shifts both peaks toward one side.

Why it matters algorithmically

Ballistic spreading gives quantum walks a quadratic advantage over classical random walks for graph-search tasks. On a path of nn nodes:

This speedup carries over to higher-dimensional grids and irregular graphs, and underpins quantum speedups for element distinctness (Ambainis 2004) and spatial search (Childs and Goldstone 2004).

Comparing the two in numbers

After t=100t = 100 steps:

The advantage grows with tt: after t=10,000t = 10{,}000 steps the classical spread is 100100, while the quantum spread is 7,071\approx 7{,}071 — roughly 70×70\times wider.

Sign in on the full site to ask questions and join the discussion.