Applications of Quantum Walks
Quantum walks are not merely a theoretical curiosity. They serve as the algorithmic engine behind several concrete quantum speedups, and they provide a unified design framework for building new quantum algorithms. This lesson surveys the most important applications.
Element distinctness
The element distinctness problem asks: given numbers , are any two equal? Classically, the best deterministic algorithm requires queries to the list; randomized algorithms offer no asymptotic improvement.
Ambainis showed in 2003 that a quantum walk on a Johnson graph solves element distinctness with only queries — an exponential improvement in the query exponent. The key idea is to walk over subsets of indices of size , storing the corresponding values. The walk has a marked vertex whenever the stored subset contains a collision ( for ). By tuning the subset size to , the walk finds the collision in steps.
This result is tight: no quantum algorithm can solve element distinctness in queries.
Triangle finding
The triangle finding problem asks whether an -vertex graph contains a triangle (three mutually adjacent vertices). Classical algorithms based on fast matrix multiplication run in time; query-complexity lower bounds show any quantum algorithm needs at least queries.
Quantum walk algorithms achieve quantum queries. The construction nests a Grover-style amplitude amplification around a quantum walk on the Johnson graph, letting the algorithm detect triangles faster than repeatedly scanning adjacency lists.
Spatial search on graphs
Classical random walks are used for searching graphs: run the walk and test each visited vertex. The hitting time from a start vertex to the marked target governs the cost. On an -vertex graph, classical hitting times can be or worse.
Childs, Farhi, and Gutmann showed that the continuous-time quantum walk on certain graphs achieves optimal hitting time, matching the Grover lower bound for unstructured search. For the grid graph specifically, the quantum walk locates a marked vertex in steps (within a logarithmic factor of optimal), whereas the classical cover time is .
The spatial search result is conceptually satisfying: Grover's algorithm is a quantum walk on a complete graph. Other graph topologies generalize Grover to structured spaces.
NAND tree evaluation
A NAND tree of depth is a binary tree whose leaves are Boolean variables; each internal node computes the NAND of its two children. Evaluating the root requires reading some leaves, and the question is: how many leaf queries are needed?
Farhi, Goldstone, and Gutmann showed that a continuous-time quantum walk on the NAND tree evaluates it with quantum queries, beating the classical deterministic bound of and the classical randomized bound of (Saks and Wigderson). The quantum walk achieves this by exploiting the tree's recursive structure and the interference of amplitudes propagating from the root to the leaves.
Matrix product verification
Given three matrices , , and of size , the matrix product verification problem asks whether . A quantum walk algorithm verifies this in quantum queries to the matrix entries, improving on both the classical bound and earlier quantum approaches.
A unifying framework: MNRS and the quantum walk framework
Many of these results follow a common template formalized by Magniez, Nayak, Roland, and Santha (MNRS). Given a Markov chain on a graph, the MNRS framework lifts it to a quantum walk operator whose spectral gap controls the cost of finding marked vertices. The total complexity is
where is the setup cost, is the fraction of marked vertices, is the spectral gap of the walk, is the per-step update cost, and is the checking cost per vertex. Plugging in the parameters of the Johnson graph reproduces the element distinctness bound; plugging in the grid reproduces spatial search.
Summary table
| Problem | Classical queries | Quantum walk queries | |---|---|---| | Element distinctness ( elements) | | | | Triangle finding ( vertices) | (time) | | | Spatial search ( nodes) | | | | NAND tree (depth , leaves) | rand. | | | Matrix product verification () | | |
The consistent theme is a square-root or fractional-power improvement in query complexity, tracing directly to the ballistic spreading of quantum walks that was explored in earlier lessons.
Quantum walks also appear as subroutines in quantum chemistry (preparing ground states) and topological data analysis (persistent homology estimation), underscoring their role as a broadly applicable primitive in the quantum algorithm designer's toolbox.
Sign in on the full site to ask questions and join the discussion.