Search via Quantum Walk 2: Phase Estimation Repeated k Times on the Szegedy Walk W(P) Fixes |π⟩ and Reflects A + B ⊖ |π⟩ up to Error 2^{1−k}Research Paper
Motivation
Many classical search algorithms are random walks: a Markov chain on a finite state space is run until it hits a marked state. Szegedy (2004) attached to every such chain a unitary quantum walk , and Magniez, Nayak, Roland and Santha (SIAM J. Comput. 2011, arXiv:quant-ph/0608026) used it to search quadratically faster than the classical walk for every reversible ergodic chain. The search runs Grover-style rotations, and each rotation needs the reflection about the stationary state . Preparing exactly can cost far more than one step of the walk, so the paper builds an approximate reflection from the walk alone, by phase estimation. Theorem 6 of the paper is the guarantee for that circuit, and this mission formalizes it.
Timeline:
- Jordan, 1875. Two subspaces of a Euclidean space decompose it into one- and two-dimensional invariant pieces ("principal angles").
- Cleve, Ekert, Macchiavello and Mosca, 1998 (Proc. R. Soc. A). The phase-estimation circuit and its output distribution (Theorem 5 of the paper).
- Szegedy, 2004. The walk , and its spectrum in terms of the singular values of the discriminant matrix (Theorem 4 of the paper).
- Magniez, Nayak, Roland and Santha, 2007/2011. The circuit and Theorem 6, the search algorithm (Theorem 7), and the bound relating the phase gap to the eigenvalue gap.
Setting
is a finite set of size . A Markov chain is a row-stochastic matrix . It is ergodic if some power of has all entries positive. A stationary distribution satisfies , and . The time-reversed chain is defined by , and is reversible if .
The space is with basis . Put and , and
For a subspace , , where is the orthogonal projector onto . The quantum walk is , and the stationary state is .
The discriminant matrix is . Its singular values lie in . The phase gap is , where is the smallest angle in such that is a singular value of .
The phase-estimation circuit acts on . It is
where is the Walsh–Hadamard matrix and is the -point Fourier transform.
The circuit uses and acts on . It is built in three steps:
- applies times, each time to the system register and a fresh ancilla register.
- multiplies by every basis state with a non-zero estimate in some register.
- Then .
Formalization targets
Goal: Theorem 6, properties 2 and 3
For ergodic and reversible on states, and every integer :
Milestones
The milestones follow the order in which the paper's proof uses them:
- Theorem 4 (Szegedy). The spectrum of on . On that space has the eigenvalues (on ), , and for a singular value of in , with matching multiplicities. The mission has two items for it: the full statement, and the direction the proof uses.
- §3.2. For ergodic reversible , is the only -eigenvector of in , up to scalars, and every other eigenvalue there satisfies .
- Theorem 5, properties 2 and 3. fixes when . If with , it outputs with .
- Single-copy bound. For and the above, .
- -copy bound. For with , the all-zero-estimate component of has . For every , .
Significance
Theorem 6 replaces the reflection about with a circuit that only calls the walk. Its cost scales as rather than as the cost of preparing . Combined with , where is the eigenvalue gap, this gives the search cost of Theorem 7, up to logarithmic factors. The same approximate-reflection device recurs in later quantum-walk and amplitude-amplification algorithms.
The results are proved in the paper, which takes Theorem 4 from Szegedy and Theorem 5 from Cleve et al. As far as the platform index shows, none of Theorems 4, 5 or 6 has a machine-checked proof. The mission produces three reusable components: a Lean definition of the Szegedy walk and of the phase-estimation circuit, a formal Jordan-type spectral theorem for products of two reflections, and the analysis of phase estimation on an eigenvector.
Difficulty
Most of the work is linear algebra. The proof of Theorem 6 has a short outline: expand in eigenvectors of , apply Theorem 5 to each, and bound each amplitude by . Three steps carry the weight:
- Theorem 4. The eigen-decomposition of on is Jordan's two-subspace decomposition, with the multiplicities read off the singular value decomposition of . The decomposition has to be built, and the cases at singular values and have to be handled separately.
- Uniqueness of . This step needs ergodicity, through Perron–Frobenius, and reversibility, because is then symmetric and its singular values are the moduli of the eigenvalues of . Without reversibility can have the singular value twice, and property 3 then fails.
- Repetition. The phase estimations share one system register. Their product acts on an eigenvector as a tensor power on the ancillas. This needs the eigenvectors of the unitary restricted to the invariant subspace to be orthogonal.
Formalization scope
- is
EuclideanSpace ℂ (X × X), with the first coordinate the first register. - The ancilla register is indexed by
Fin (2^s), and registers byFin k → Fin (2^s); the all-zeros state is the zero index. - is Mathlib's
Submodule.reflection. - The stationary distribution is passed as data with its defining hypotheses. "Ergodic" is
Matrix.IsPrimitive. - Singular values of the real matrix are
LinearMap.singularValues. - When has no singular value in , the paper leaves undefined, and the formalization sets .
- is
Real.logb 2and the ceiling isNat.ceil.
Deviations from the page.
- Reversibility, the standing assumption of §3.2, is a hypothesis of the goal.
- Property 3 is stated for vectors and is homogeneous in .
- Theorem 5 is stated for any finite-dimensional unitary, not only , and with , because the printed right-hand side can be negative.
- The single-copy bound also covers the eigenvalue .
Only exact statements are formalized. The cost halves (gate counts, calls to -, "", the qubit count, uniformity) are out of scope.
The circuit is the explicit composition above, built from . It is neither "some circuit with properties 2–3" nor anything defined through the projector onto , either of which would make the goal a tautology.
Contributions welcome: proofs of the milestones, Jordan's lemma for two subspaces as a standalone result, and the bound of §3.3.
Selected references
- F. Magniez, A. Nayak, J. Roland, M. Santha, Search via Quantum Walk, SIAM J. Comput. 40(1), 2011. https://arxiv.org/abs/quant-ph/0608026 (v4), https://doi.org/10.1137/090745854
- M. Szegedy, Quantum speed-up of Markov chain based algorithms, FOCS 2004. https://doi.org/10.1109/FOCS.2004.53
- R. Cleve, A. Ekert, C. Macchiavello, M. Mosca, Quantum algorithms revisited, Proc. R. Soc. Lond. A 454, 1998. https://doi.org/10.1098/rspa.1998.0164
- C. Jordan, Essai sur la géométrie à n dimensions, Bull. Soc. Math. France 3, 1875. https://doi.org/10.24033/bsmf.90