Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Quantum Information

126 missions · 39 completed

The study of information encoded in the states of quantum systems, where the qubit, superposition, and entanglement replace the classical bit and measurement is inherently probabilistic. Governed by the constraints of quantum mechanics, it underpins quantum computing and cryptography and the theory of optimal quantum measurements.

Missions

Open87Completed39All126
Algebra·Captain: wenxinzhang

Existence of complete sets of mutually unbiased basesOpen Problem

Motivation

Two orthonormal bases of C^d are mutually unbiased when every transition amplitude has squared modulus 1/d. At most d+1 such bases can coexist, and complete families are known in prime-power dimensions through finite-field constructions. Dimension six is the smallest famous composite case where existence of the complete seven-base family remains unknown.

This mission turns CUHK-Shenzhen AI Math Problem 16, Existence of complete sets of mutually unbiased bases, into an auditable Lean campaign. The objective is not merely to transcribe notation: it is to expose the mathematical model, the capstone, and a smaller attack surface as separate artifacts that other formalizers can inspect and reuse.

Setting

Construct seven 6 by 6 unitary-column matrices whose every distinct pair has all transition amplitudes of squared modulus 1/6. The baseline milestone constructs three pairwise mutually unbiased bases, a known lower bound that tests all matrix conventions.

Significance

Solving this target would settle the precise finite or analytic core represented by the Lean statement and would create reusable infrastructure in quantum information theory, mutually unbiased bases, finite fields, Hilbert spaces. Even a rigorous disproof is valuable: several entries in this collection deliberately ask whether an attractive extrapolation is true, and Lean forces a counterexample to satisfy every side condition. The mission therefore treats theorem proving and model criticism as equally legitimate research outcomes.

Difficulty

The equations are a large coupled system of polynomial equalities over complex phases, modulo substantial gauge symmetry. Numerical near-solutions do not certify exact existence, while nonexistence would require a global obstruction beyond currently known bounds. Dimension six lacks the finite-field structure that supplies complete prime-power constructions.

Suggested attack route

Formalize standard gauge reductions: fix the first basis to the identity and dephase transition Hadamard matrices. Verify a three-basis tensor-product construction. Then encode additional bases through complex Hadamard matrices and study algebraic constraints, Gröbner-style eliminations, semidefinite bounds, or exact certificates. Computational searches may guide conjectures, but uploaded proofs must convert numerical evidence to exact algebraic identities or certified inequalities.

Formalization scope

The Lean target is exact: column orthonormality is U-adjoint times U equals identity, and mutual unbiasedness uses Mathlib complex norm squared. Seven bases are indexed by Fin 7. No quotient by phase, permutation, or global unitary is built into the statement, since these symmetries preserve the predicate and can be used within proofs.

The natural-language source remains authoritative for motivation, while the Lean declaration is authoritative for what Prove2Me will verify. The mission description calls out restrictions where the current formal target is a finite-dimensional core, a fixed interpretation of informal terminology, or one sharpened subquestion from a broader classification problem. Those restrictions should not be silently generalized in a proof claim.

Milestones

Publish an exact three-basis construction in dimension six, then formalize dephasing and obstruction lemmas for extending a partial family.

The capstone is marked as the mission's main item and is never duplicated as a milestone. Definitions precede theorem statements in the proposal order. A milestone is considered complete only when its own exact statement is proved; proving a nearby theorem with stronger-looking prose but mismatched quantifiers, signs, supports, dimensions, or asymptotic constants does not complete it.

Timeline and literature status

The CUHK-Shenzhen AI Math Problems page added this problem on June 23, 2026. At the drafting date, August 31, 2026, the status and target corrections described above were checked against the source page and the cited primary material.

Acceptance criteria

A contribution may prove the displayed theorem or refute it by constructing data satisfying every Lean hypothesis while negating the conclusion. Informal changes of model do not count: any proposed correction must be submitted as a separately reviewed statement with an explanation of which source ambiguity or false implication it repairs. Definitions must remain computational or mathematically constrained; fields that simply assume the desired conclusion are not acceptable. Every proof must compile against the mission's pinned Mathlib revision, use no sorry, and expose a top-level theorem solution when submitted to Prove2Me.

The main theorem is intentionally separated from a smaller milestone. Contributors should preserve that dependency order, publish reusable lemmas rather than monolithic tactics, and report whether a lemma is analytic, algebraic, combinatorial, or infrastructure-only. Numerical evidence, external computer algebra, and exhaustive search are welcome for discovery, but a final certificate must be replayable by Lean. If an external result is invoked, its hypotheses must be represented in the formal statement or proved in the dependency tree.

Formal verification policy

The files were built locally with Lean 4.30.0 and Mathlib revision c5ea00351c28e24afc9f0f84379aa41082b1188f, the supported Prove2Me environment at drafting time. The mission definition file is ordered before all theorem files, and each theorem imports exactly that public definition module or Mathlib. Independent blind read-backs accompany the draft items so reviewers can compare what the Lean code literally says with this mathematical description. Human confirmation remains required before the public proposal can be submitted for moderation.

Selected references

  • Original problem
  • Durt et al., review of MUBs
14 thms5 active usersReviewed
Theoretical Computer Science·Captain: Goku

Stabilizer Rank of Magic StatesOpen Problem

Motivation

Quantum circuits built from Clifford gates alone are classically simulable in polynomial time. Universality is recovered by adding copies of a magic state, and the fastest known classical simulators of such circuits work by writing the magic-state input as a short linear combination of stabilizer states. The length of the shortest such combination -- the stabilizer rank -- is therefore the exponent governing classical simulation of quantum computation in this model, and lower bounds on it are among the very few unconditional obstructions to classical simulation available at all.

A timeline of what is established for the standard magic state ∣H⟩|H\rangle∣H⟩:

  • 2016. Bravyi, Smith and Smolin exhibit a decomposition giving χ(∣H⊗6⟩)≤7\chi(|H^{\otimes 6}\rangle)\le 7χ(∣H⊗6⟩)≤7, hence χ(∣H⊗n⟩)≤7 n/6≤2 0.468n\chi(|H^{\otimes n}\rangle)\le 7^{\,n/6}\le 2^{\,0.468n}χ(∣H⊗n⟩)≤7n/6≤20.468n, and prove a lower bound of order n\sqrt{n}n​.
  • 2020. Huang, Newman and Szegedy show that hardness assumptions stronger than P≠NP\mathrm{P}\neq\mathrm{NP}P=NP, such as the exponential time hypothesis, imply χ(∣H⊗n⟩)=2Ω(n)\chi(|H^{\otimes n}\rangle)=2^{\Omega(n)}χ(∣H⊗n⟩)=2Ω(n) (arXiv link).
  • 2022. Peleg, Shpilka and Volk improve the unconditional lower bound to Ω(n)\Omega(n)Ω(n) and give the first non-trivial bound for the approximate rank (arXiv:2106.03214).
  • 2024. A quadratic lower bound is obtained for the approximate stabilizer rank (arXiv:2305.10277).

Between the linear unconditional lower bound and the 20.468n2^{0.468n}20.468n upper bound lies the open problem this mission targets.

Setting

Index the computational basis of an nnn-qubit system by bit strings x∈{0,1}nx\in\{0,1\}^nx∈{0,1}n, so a state is a vector ψ∈C2n\psi\in\mathbb{C}^{2^n}ψ∈C2n with coordinates ψ(x)\psi(x)ψ(x).

The Pauli operators are XaZbX^aZ^bXaZb for a,b∈{0,1}na,b\in\{0,1\}^na,b∈{0,1}n, acting by XaZb∣x⟩=(−1) b⋅x∣x⊕a⟩X^aZ^b|x\rangle=(-1)^{\,b\cdot x}|x\oplus a\rangleXaZb∣x⟩=(−1)b⋅x∣x⊕a⟩, where b⋅xb\cdot xb⋅x counts the coordinates on which both are 111 and ⊕\oplus⊕ is bitwise addition; the Pauli group is the set of 4⋅4n4\cdot 4^n4⋅4n operators icXaZbi^cX^aZ^bicXaZb. A unitary UUU is a Clifford unitary when UPU†UPU^\daggerUPU† lies in the Pauli group for every Pauli group element PPP, and a stabilizer state is a vector U∣0⋯0⟩U|0\cdots0\rangleU∣0⋯0⟩ for some Clifford UUU. There are 2n∏k=1n(2k+1)2^n\prod_{k=1}^{n}(2^k+1)2n∏k=1n​(2k+1) of them up to phase -- six for a single qubit.

The stabilizer rank χ(ψ)\chi(\psi)χ(ψ) is the least rrr admitting coefficients c1,…,cr∈Cc_1,\dots,c_r\in\mathbb{C}c1​,…,cr​∈C and stabilizer states φ1,…,φr\varphi_1,\dots,\varphi_rφ1​,…,φr​ with ψ=∑j≤rcjφj\psi=\sum_{j\le r}c_j\varphi_jψ=∑j≤r​cj​φj​.

The magic state is ∣H⟩=cos⁡(π/8)∣0⟩+sin⁡(π/8)∣1⟩|H\rangle=\cos(\pi/8)|0\rangle+\sin(\pi/8)|1\rangle∣H⟩=cos(π/8)∣0⟩+sin(π/8)∣1⟩, and ∣H⊗n⟩|H^{\otimes n}\rangle∣H⊗n⟩ its nnn-fold tensor power, with coordinates cos⁡(π/8) n−∣x∣sin⁡(π/8) ∣x∣\cos(\pi/8)^{\,n-|x|}\sin(\pi/8)^{\,|x|}cos(π/8)n−∣x∣sin(π/8)∣x∣ where ∣x∣|x|∣x∣ is the Hamming weight of xxx.

Target

The goal is a super-polynomial lower bound: for every exponent ddd and constant CCC there exists nnn with

χ(∣H⊗n⟩)  >  C nd,\chi\bigl(|H^{\otimes n}\rangle\bigr)\;>\;C\,n^{d},χ(∣H⊗n⟩)>Cnd,

equivalently, χ(∣H⊗n⟩)\chi(|H^{\otimes n}\rangle)χ(∣H⊗n⟩) is not O(nd)O(n^d)O(nd) for any fixed ddd.

Stronger statements are expected but are deliberately not the goal. An exponential bound χ=2Ω(n)\chi=2^{\Omega(n)}χ=2Ω(n) is believed and follows from hardness assumptions, but a goal naming a specific growth rate would be superseded by the next improvement; super-polynomiality is the weakest statement that settles the question of principle.

Significance

The result itself. A super-polynomial lower bound would unconditionally rule out efficient classical simulation of Clifford-plus-magic-state circuits by stabilizer decomposition, currently the leading such technique. The converse direction shows how much is at stake: a polynomial upper bound on χ(∣H⊗n⟩)\chi(|H^{\otimes n}\rangle)χ(∣H⊗n⟩) would imply BPP=BQP\mathrm{BPP}=\mathrm{BQP}BPP=BQP, and via postselection P=NP\mathrm{P}=\mathrm{NP}P=NP. There is also a purely classical payoff -- improving the known bound even to super-linear would produce a Boolean function computable in polynomial time requiring a super-linear number of summands in any decomposition into exponentials of quadratic forms over F2\mathbb{F}_2F2​, resolving a separate open question.

Formalizing it. The goal is open, so no known proof is being transcribed. What the mission produces is a machine-checked statement of the problem together with formalizations of the established bounds, none of which has a machine-checked proof anywhere. It also produces the first Pauli/Clifford/stabilizer layer in Lean: no existing Lean library contains the nnn-qubit Pauli group, the Clifford group, or stabilizer states, and that layer is reusable for stabilizer error correction, magic monotones, and Clifford simulation generally.

Difficulty

Counting settles the problem for random states: the stabilizer states are too few for short combinations to cover a generic state, so almost every state has exponential stabilizer rank. This says nothing about ∣H⊗n⟩|H^{\otimes n}\rangle∣H⊗n⟩, which is a single explicit, highly structured vector, and the entire difficulty is that lower bounds must be proved for that specific state rather than for a typical one. Every newcomer proposes the counting argument; it does not apply.

The known techniques reduce the question to statements about decompositions of explicit Boolean functions into quadratic-form exponentials, and the barrier is quantitative: the available arguments lose a factor that caps them at linear bounds. The source of the current record documents explicitly why its method cannot pass super-linear, and the fact that going beyond linear would resolve an independent open problem in Boolean function complexity indicates the obstruction is not merely technical.

Formalization scope

State vectors are functions {0,1}n→C\{0,1\}^n\to\mathbb{C}{0,1}n→C and are not required to be normalised; normalisation does not affect the rank, and stabilizer states are unit vectors automatically as Clifford images of ∣0⋯0⟩|0\cdots0\rangle∣0⋯0⟩. The Pauli group is given by the explicit parametrisation icXaZbi^cX^aZ^bicXaZb rather than an abstract presentation, and the Clifford group is characterised as its unitary normaliser, equivalent to the usual generated-by-H,S,CNOTH,S,\mathrm{CNOT}H,S,CNOT description. Because eiθUe^{i\theta}UeiθU normalises the Pauli group whenever UUU does, the stabilizer states are closed under global phase; this is harmless, as the coefficients are arbitrary complex numbers.

One trivialising reading must be excluded. The rank is defined as an infimum over a set of natural numbers, and Lean gives the empty infimum the value 000; if no decomposition existed the rank would be 000 for every state and the goal would be false rather than merely unproved. The milestone χ(ψ)≤2n\chi(\psi)\le 2^nχ(ψ)≤2n is what certifies the set is nonempty, making the rank a genuine minimum, and it should be proved first. Separately, the goal quantifies CCC over all reals including negative values, for which the inequality is trivially satisfiable; the content lies in large positive CCC.

A complete development needs, beyond the published definitions, the correspondence between stabilizer states and affine subspaces carrying quadratic phase functions, on which all known lower-bound arguments rest. Contributions of any milestone are welcome, as are function-level reformulations of the rank and the equivalent characterisation of stabilizer states via maximal abelian Pauli subgroups.

Selected references

  • S. Peleg, A. Shpilka, B. L. Volk, Lower Bounds on Stabilizer Rank, Quantum 6 (2022) 652; arXiv:2106.03214.
  • S. Bravyi, G. Smith, J. Smolin, Trading Classical and Quantum Computational Resources, Phys. Rev. X 6 (2016) 021043; arXiv:1506.01396.
  • C. Huang, M. Newman, M. Szegedy, Explicit Lower Bounds on Strong Quantum Simulation, IEEE Trans. Inf. Theory 66(9) (2020) 5585--5600.
  • Quadratic Lower Bounds on the Approximate Stabilizer Rank: A Probabilistic Approach, STOC 2024; arXiv:2305.10277.
5 thms4 active usersReviewed
Information TheoryLinear algebra·Captain: mikedeng1

Reversing quantum dynamics with near-optimal quantum and classical fidelity II: The Pretty Good Measurement Errs at Most the Weighted Sum of Bures–Uhlmann FidelitiesResearch Paper

Motivation

Quantum communication and computation often require a receiver to infer which preparation was sent after it has passed through a noisy quantum process. When possible preparations are mixed states, their overlap makes exact identification impossible. A measurement is then judged by its average probability of a correct label. The pretty good measurement gives a concrete measurement from the ensemble itself, without first solving the optimization over all measurements. Barnum and Knill related it to a general reversal operation for noisy dynamics and bounded its error through pairwise state fidelities in their preprint, §V–VI. The bound is useful when the overlaps are easier to estimate than the measurement's success probability.

The present mission addresses the preprint's second main result. The source is arXiv:quant-ph/0004088v2, not the later journal pagination. The preprint also strengthens its Theorem 3 relative to the published text, as its acknowledgment explains; this mission concerns Theorem 5 and the calculation around it.

Setting

An ensemble is a finite family of output density matrices ρ^j\hat\rho_jρ^​j​ with probabilities pj≥0p_j\geq0pj​≥0 satisfying ∑jpj=1\sum_jp_j=1∑j​pj​=1. A density matrix is a positive semidefinite complex matrix with trace one. For each label jjj, fix an orthonormal eigenbasis vijv_{ij}vij​ and nonnegative eigenvalues λij\lambda_{ij}λij​ such that

ρ^j=∑iλij∣vij⟩⟨vij∣,∑iλij=1.\hat\rho_j=\sum_i\lambda_{ij}|v_{ij}\rangle\langle v_{ij}|, \qquad \sum_i\lambda_{ij}=1.ρ^​j​=i∑​λij​∣vij​⟩⟨vij​∣,i∑​λij​=1.

The eigenpair index iii runs over a finite output basis OOO; zero eigenvalues are allowed. The input labels form a finite basis JJJ. A label distribution is represented by ρ=∑jpj∣j⟩⟨j∣\rho=\sum_jp_j|j\rangle\langle j|ρ=∑j​pj​∣j⟩⟨j∣.

The paper's classicizing channel AAA has Kraus operators Aij=λij∣vij⟩⟨j∣A_{ij}=\sqrt{\lambda_{ij}}|v_{ij}\rangle\langle j|Aij​=λij​​∣vij​⟩⟨j∣. Acting on an input matrix XXX, its value is A(X)=∑i,jAijXAij†A(X)=\sum_{i,j}A_{ij}X A_{ij}^{\dagger}A(X)=∑i,j​Aij​XAij†​. In particular, its output on ρ\rhoρ is ρout=∑jpjρ^j\rho_{\mathrm{out}}=\sum_jp_j\hat\rho_jρout​=∑j​pj​ρ^​j​. The paper assumes ρout\rho_{\mathrm{out}}ρout​ has full support when it writes its reversal operation. For a general Kraus family AaA_aAa​, that operation has operators

(RA,ρ)a=ρ1/2Aa†A(ρ)−1/2.(R_{A,\rho})_a=\rho^{1/2}A_a^\dagger A(\rho)^{-1/2}.(RA,ρ​)a​=ρ1/2Aa†​A(ρ)−1/2.

The inverse square root is spectral: invert nonzero eigenvalues and leave zero eigenvalues at zero. With full support, it is the usual inverse square root.

For an input label jjj, classical fidelity is the chance that the composite operation returns the same label. Averaging gives

Fcl(ρ,K)=∑jpj⟨j∣K(∣j⟩⟨j∣)∣j⟩.F_{\mathrm{cl}}(\rho,K)= \sum_jp_j\langle j|K(|j\rangle\langle j|)|j\rangle.Fcl​(ρ,K)=j∑​pj​⟨j∣K(∣j⟩⟨j∣)∣j⟩.

The Bures–Uhlmann fidelity used here is the unsquared quantity FBU(σ,τ)=tr⁡σ τ σF_{\mathrm{BU}}(\sigma,\tau)=\operatorname{tr}\sqrt{\sqrt\sigma\,\tau\,\sqrt\sigma}FBU​(σ,τ)=trσ​τσ​​. For the classicizing channel, the reversal operation realizes the pretty good measurement, as shown by equation (36) and the discussion after equation (37) in the preprint, p. 10.

Formalization targets

Recovery error

The goal, in the reading established by the paper's proof, is

Fcl(ρ,RA,ρA)≥1−∑i,j∈Ji≠jpipj FBU(ρ^i,ρ^j).F_{\mathrm{cl}}(\rho,R_{A,\rho}A) \geq 1-\sum_{\substack{i,j\in J\\i\ne j}} \sqrt{p_ip_j}\,F_{\mathrm{BU}}(\hat\rho_i,\hat\rho_j).Fcl​(ρ,RA,ρ​A)≥1−i,j∈Ji=j​∑​pi​pj​​FBU​(ρ^​i​,ρ^​j​).

The sum is over ordered pairs; each unordered pair of distinct labels is counted twice. The coefficient is exactly one. The goal applies to every finite ensemble with the spectral data above and a full-support output. It does not fix the number of labels or the dimension of the output.

The milestones are the reversal formula (36), the classical-fidelity identities in (38), the unit squared Frobenius norm (40), the diagonal-block expression (41), the off-diagonal trace-norm identity following (42), and the two-block estimate of Lemma 6. They record the paper's mathematical statements and keep the attack path tied to the authors' displayed results.

Significance

The result bounds a measurement's probability of error using only pairwise similarities of the possible output states and their prior probabilities. For nearly distinguishable states, the weighted fidelity sum is small, so this particular measurement succeeds with high probability. The theorem therefore gives a usable guarantee for a specified recovery procedure, rather than only asserting that some procedure exists. In the preprint, §VII, Barnum and Knill describe quantum-information applications of such recovery bounds.

The mathematical result is already proved in the paper, subject to the correction explained below. The formalization work is to make the mixed-state channel, its recovery, the finite-dimensional spectral conventions, and the block-matrix norm estimate precise in Lean. The published Prove2Me definitions for Kraus updates and trace norm supply reusable starting points. A complete proof of this mission would add a checked mixed-state pretty-good-measurement bound; the local statements here compile as open theorems, and no proof is claimed.

Difficulty

The obvious pairwise-overlap estimate does not by itself express the error of the recovery channel. The recovery's classical fidelity is initially a channel evaluation on basis states, while the bound uses trace norms of blocks of a Gram matrix. The key obstacle is controlling the off-diagonal Frobenius mass of the positive square root of that Gram matrix by the trace norms of the corresponding blocks of the Gram matrix itself. Lemma 6 states the needed two-block comparison, including rectangular blocks. The matrix dimension and block labels must remain consistent when it is applied across a larger array.

Formalization scope

All systems and index sets are finite, with matrices over C\mathbb CC and real probabilities. A general completely positive map is represented by an unbundled finite family of Kraus matrices. The classicizing family has rectangular matrices from the input-label space to the output space; the reversal has matrices in the opposite direction. Composite Kraus families are indexed by pairs. The classical fidelity is defined from the channel action in equation (10); the goal does not define it using the desired overlap bound. The reversal is defined by equation (12) for a general family, so its specialized formula remains a theorem.

The spectral hypotheses include nonnegative probabilities and eigenvalues, unit sums, and orthonormal eigenvectors. Full support of ρout\rho_{\mathrm{out}}ρout​ is an explicit hypothesis wherever the reversal appears, following page 7. Empty input or output types cannot satisfy the normalized data together with these hypotheses. The Bures–Uhlmann expression is the unsquared trace of a positive square root; using the squared fidelity would change the constant and is outside this mission. Lemma 6 is independent of the ensemble and can be reused for finite block-matrix estimates. Contributions to the spectral identities, the array equalities, and the block-norm argument are welcome.

Equation (39) prints the square of the optimal success probability on its left. The first line of (38) compares that quantity with the recovery fidelity in the opposite direction to Corollary 4. The proof on pages 12–13 concludes the displayed bound for Fcl(ρ,RA,ρA)F_{\mathrm{cl}}(\rho,R_{A,\rho}A)Fcl​(ρ,RA,ρ​A). This mission states that proved conclusion and records the printed discrepancy in its item and audit notes.

Selected references

  • Howard Barnum and Emanuel Knill, Reversing quantum dynamics with near-optimal quantum and classical fidelity, arXiv:quant-ph/0004088v2, 2000/2026 version. arXiv
  • Howard Barnum and Emanuel Knill, Reversing quantum dynamics with near-optimal quantum and classical fidelity, Journal of Mathematical Physics 43 (2002), 2097–2106. DOI
11 thms3 active usersReviewed
Complexity TheoryProbabilityTheoretical Computer Science·Captain: mikedeng1

Strengths and Weaknesses of Quantum Computing I: Relative to a Random Oracle, a Quantum Algorithm Needs Ω(2^{n/2}) Queries to Decide Whether 1ⁿ Has a PreimageResearch Paper

Motivation

Grover's algorithm (Grover 1996) finds a marked item among NNN with O(N)O(\sqrt N)O(N​) queries, a quadratic speed-up over any classical algorithm. Whether quantum computers can do substantially better on search, and so solve NP-type problems by brute force in polynomial time, was settled in the negative by Bennett, Bernstein, Brassard and Vazirani (arXiv:quant-ph/9701001, SIAM J. Comput. 26(5), 1997): relative to a random oracle, a quantum algorithm needs Ω(2n/2)\Omega(2^{n/2})Ω(2n/2) queries to decide whether a string has a preimage. The bound matches Grover's algorithm up to a constant factor, and its hybrid argument is one of the two standard lower-bound methods of the field, together with the polynomial method (Beals et al. 1998) and the adversary method (Ambainis 2000).

Timeline:

  • 1996: Grover's algorithm searches NNN items with O(N)O(\sqrt N)O(N​) queries.
  • 1997: the paper proves BQTime(o(2n/2))⊉NP\mathbf{BQTime}(o(2^{n/2})) \not\supseteq \mathbf{NP}BQTime(o(2n/2))⊇NP relative to a random oracle with probability 1 (Theorem 3.5), and the Ω(2n/3)\Omega(2^{n/3})Ω(2n/3) bound for random permutations (Theorem 3.6).
  • 1998: Boyer, Brassard, Høyer and Tapp give tight bounds for quantum searching.
  • 1999: Zalka shows Grover's algorithm is exactly optimal.

Setting

A TTT-query algorithm acts on vectors φ∈C(X∪{⊥})×R×W\varphi \in \mathbb{C}^{(X \cup \{\bot\}) \times R \times W}φ∈C(X∪{⊥})×R×W, where XXX is the set of query strings, RRR the set of answers (an additive group) and WWW a finite workspace. A basis configuration (x,z,w)(x, z, w)(x,z,w) with x∈Xx \in Xx∈X is querying xxx; (⊥,z,w)(\bot, z, w)(⊥,z,w) is not querying. For an oracle f:X→Rf : X \to Rf:X→R the oracle operator is

Of ∣x,z,w⟩=∣x,z+f(x),w⟩,Of ∣⊥,z,w⟩=∣⊥,z,w⟩.O_f\,|x, z, w\rangle = |x, z + f(x), w\rangle, \qquad O_f\,|\bot, z, w\rangle = |\bot, z, w\rangle .Of​∣x,z,w⟩=∣x,z+f(x),w⟩,Of​∣⊥,z,w⟩=∣⊥,z,w⟩.

The algorithm consists of a unit vector φ0\varphi_0φ0​, unitaries U0,…,UT−1U_0, \dots, U_{T-1}U0​,…,UT−1​ that do not depend on the oracle, and a set of accepting configurations. With oracle AAA its states are φi+1=UiOAφi\varphi_{i+1} = U_i O_A \varphi_iφi+1​=Ui​OA​φi​; the acceptance probability is the squared norm of the accepting part of φT\varphi_TφT​. The query magnitude of yyy in φ\varphiφ is qy(φ)=∑z,w∣φ(y,z,w)∣2q_y(\varphi) = \sum_{z, w} |\varphi(y, z, w)|^2qy​(φ)=∑z,w​∣φ(y,z,w)∣2 (Definition 3.2). The algorithm decides a property if it accepts with probability at least 2/32/32/3 when the property holds and at most 1/31/31/3 when it fails.

In the main theorem X=R={0,1}nX = R = \{0,1\}^nX=R={0,1}n with bitwise addition, and the oracle is a uniformly random function A:{0,1}n→{0,1}nA : \{0,1\}^n \to \{0,1\}^nA:{0,1}n→{0,1}n. The question is whether 1n1^n1n belongs to LA={y:∃x A(x)=y}\mathcal{L}_A = \{y : \exists x\ A(x) = y\}LA​={y:∃x A(x)=y}.

Formalization targets

Goal: Theorem 3.5 (finite form)

∃ c>0 ∃N ∀n≥N ∀M with T≤c 2n/2 queries:Pr⁡A[MA fails to decide ∃x A(x)=1n]≥18.\exists\, c > 0\ \exists N\ \forall n \ge N\ \forall M \text{ with } T \le c\, 2^{n/2} \text{ queries}: \quad \Pr_A\bigl[M^A \text{ fails to decide } \exists x\ A(x) = 1^n\bigr] \ge \tfrac18 .∃c>0 ∃N ∀n≥N ∀M with T≤c2n/2 queries:APr​[MA fails to decide ∃x A(x)=1n]≥81​.

The constant is existential, matching the theorem's hypothesis T(n)=o(2n/2)T(n) = o(2^{n/2})T(n)=o(2n/2); ccc and NNN do not depend on the workspace or the algorithm.

Milestones

  1. Theorem 3.1: unit vectors at distance ε\varepsilonε have measurement distributions within total variation 4ε4\varepsilon4ε.
  2. Theorem 3.3 (corrected): changing oracle answers on time–string pairs of total query magnitude ≤ε2/T\le \varepsilon^2/T≤ε2/T moves the final state by at most 2ε2\varepsilon2ε.
  3. Corollary 3.4 (corrected): outside a set of at most 4T2/ε24T^2/\varepsilon^24T2/ε2 strings, changing the oracle at one string moves the final state by at most ε\varepsilonε.
  4. Pr⁡[1n has no preimage]=((2n−1)/2n)2n≥1/4\Pr[1^n \text{ has no preimage}] = ((2^n-1)/2^n)^{2^n} \ge 1/4Pr[1n has no preimage]=((2n−1)/2n)2n≥1/4.
  5. Pr⁡[1n has a unique preimage]=((2n−1)/2n)2n−1≥1/e\Pr[1^n \text{ has a unique preimage}] = ((2^n-1)/2^n)^{2^n-1} \ge 1/ePr[1n has a unique preimage]=((2n−1)/2n)2n−1≥1/e.
  6. Final states within 1/131/131/13 for AAA and AyA_yAy​ force failure on one of them.
  7. The double counting: failing oracles with a unique preimage are at least half the successful oracles with none.

Significance

The theorem shows that the quadratic speed-up of Grover's algorithm cannot be improved for unstructured search, and that relative to a random oracle NP⊈BQP\mathbf{NP} \not\subseteq \mathbf{BQP}NP⊆BQP; any quantum algorithm for NP-complete problems must use the structure of the problem. Theorem 3.3 and Corollary 3.4 isolate the constraint unitary evolution places on "quantum parallelism" and are reused across quantum lower bounds, including the permutation bound of the companion mission (Theorem 3.6).

The results are proved on paper and, to our knowledge, have no machine-checked proof. The mission produces a formal query model with an XOR oracle, a formal hybrid argument, and the lower bound with its constants checked. Two printed bounds are wrong by constant factors (below); the formal statements carry the corrected constants, and a formal proof settles them. Grover's matching upper bound is on the platform as Grover.search_succeeds_bounded, for a phase oracle and one fixed algorithm.

Difficulty

The obvious argument — each query reveals one bit about where the preimage is, so Ω(2n)\Omega(2^n)Ω(2n) queries are needed — fails for quantum algorithms, which query all strings in superposition at once. The difficulty is to bound how much a superposition of queries can learn, which requires controlling the accumulated effect of small changes across TTT unitary steps, and then converting a bound on states into a statement about the probability of failure over random oracles, where the set of sensitive strings depends on the oracle.

Formalization scope

The paper's oracle quantum Turing machines are replaced by the query model above, the model its proofs use. Every oracle QTM running TTT steps is a TTT-query algorithm: oracle answers on lengths other than nnn are fixed and absorbed into the unitaries, as the proof fixes them, and the input 1n1^n1n is absorbed into φ0\varphi_0φ0​. Queries return the full value A(x)∈{0,1}nA(x) \in \{0,1\}^nA(x)∈{0,1}n; one Boolean query is two full-value queries, so the goal implies the Boolean-oracle bound with ccc halved. Strings are Fin n → ZMod 2; states are EuclideanSpace ℂ (Option X × R × W); probabilities over oracles are counting fractions over all (2n)2n(2^n)^{2^n}(2n)2n functions; total variation distance is the paper's ∑x∣D(x)−D′(x)∣\sum_x |\mathcal D(x) - \mathcal D'(x)|∑x​∣D(x)−D′(x)∣ without the factor 1/21/21/2.

Corrections: Theorem 3.3 is printed with conclusion ≤ε\le \varepsilon≤ε, which fails (one query string, T=1T = 1T=1, distance 222 at ε=1\varepsilon = 1ε=1; machine-checked); the true bound is 2ε2\varepsilon2ε. Corollary 3.4 is printed with ∣S∣≤2T2/ε2|S| \le 2T^2/\varepsilon^2∣S∣≤2T2/ε2, which fails (16 strings, T=1T = 1T=1, ε=0.45\varepsilon = 0.45ε=0.45); the true bound is 4T2/ε24T^2/\varepsilon^24T2/ε2. The printed constant T(n)≤2n/2/20T(n) \le 2^{n/2}/20T(n)≤2n/2/20 in the proof of Theorem 3.5 does not support the step 2n−card(S)≥2n−12^n - \mathrm{card}(S) \ge 2^{n-1}2n−card(S)≥2n−1 even with the paper's own count; the goal states an existential constant, and c=1/37c = 1/37c=1/37 works with the corrected Corollary 3.4. The closing probability-111 argument over countably many machines and the class statement about BQTime\mathbf{BQTime}BQTime are not formalized.

A formalization in which algorithms query at every step on every branch (no ⊥\bot⊥ sector), only one side of the bounded-error condition is tested, or the probability is taken over a set of oracles that excludes the hard instances, proves a weaker theorem and is ruled out by these definitions.

Needed infrastructure: norms of finite-dimensional complex vectors, unitaries as linear isometry equivalences, finite counting of functions. The query model and the hybrid argument are reusable for any quantum query lower bound.

Selected references

  • C. H. Bennett, E. Bernstein, G. Brassard, U. Vazirani, Strengths and weaknesses of quantum computing, SIAM J. Comput. 26(5):1510–1523, 1997. arXiv:quant-ph/9701001
  • L. K. Grover, A fast quantum mechanical algorithm for database search, STOC 1996. arXiv:quant-ph/9605043
  • M. Boyer, G. Brassard, P. Høyer, A. Tapp, Tight bounds on quantum searching, Fortschr. Phys. 46, 1998. arXiv:quant-ph/9605034
  • C. Zalka, Grover's quantum searching algorithm is optimal, Phys. Rev. A 60, 1999. arXiv:quant-ph/9711070
  • R. Beals, H. Buhrman, R. Cleve, M. Mosca, R. de Wolf, Quantum lower bounds by polynomials, J. ACM 48, 2001. arXiv:quant-ph/9802049
  • A. Ambainis, Quantum lower bounds by quantum arguments, J. Comput. Syst. Sci. 64, 2002. arXiv:quant-ph/0002066
9 thms3 active usersReviewed
Information TheoryTheoretical Computer Science·Captain: mikedeng1

Shadow Tomography of Quantum States 3: Shadow Tomography Needs Ω(min{D², log M}/ε²) CopiesResearch Paper

Why count copies of a quantum state

A mixed state of a DDD-dimensional quantum system is a D×DD\times DD×D positive semidefinite matrix ρ\rhoρ of trace 111. Writing ρ\rhoρ down takes about D2D^2D2 real numbers, and DDD is exponential in the number of qubits, so learning ρ\rhoρ in full is expensive. Holevo's theorem and the random access code bounds of Ambainis, Nayak, Ta-Shma and Vazirani say that an nnn-qubit state carries far fewer usable classical bits than its 2n2^n2n amplitudes suggest. Shadow tomography, introduced by S. Aaronson (arXiv:1711.01053), makes this quantitative: given MMM known two-outcome measurements E1,…,EME_1,\dots,E_ME1​,…,EM​, how many copies of an unknown ρ\rhoρ are needed to estimate every acceptance probability Tr⁡(Eiρ)\operatorname{Tr}(E_i\rho)Tr(Ei​ρ) to within ε\varepsilonε?

Aaronson shows that O~(log⁡4M⋅log⁡D/ε4)\widetilde O(\log^4 M\cdot\log D/\varepsilon^4)O(log4M⋅logD/ε4) copies suffice, polylogarithmic in MMM and DDD. The question this mission addresses is the converse: how many copies are necessary. Section 6 of the paper proves two lower bounds. Theorem 16 gives Ω(min⁡{D,log⁡M}/ε2)\Omega(\min\{D,\log M\}/\varepsilon^2)Ω(min{D,logM}/ε2) even when ρ\rhoρ and the EiE_iEi​ are diagonal (a classical distribution). Theorem 19, the goal here, strengthens the dimension term to D2D^2D2 for genuinely quantum states.

Timeline:

  • 2016: full tomography of a DDD-dimensional state to trace-distance accuracy ε\varepsilonε needs Θ(D2/ε2)\Theta(D^2/\varepsilon^2)Θ(D2/ε2) copies up to logarithmic factors, with upper and lower bounds by O'Donnell and Wright (arXiv:1508.01907) and Haah, Harrow, Ji, Wu and Yu (arXiv:1508.01797).
  • 2017–2018: Aaronson poses shadow tomography (Problem 1), proves the polylogarithmic upper bound (Theorem 2), and proves the lower bounds of Theorems 16 and 19.
  • 2020 onward: classical shadows (Huang, Kueng and Preskill, arXiv:2002.08953) and later shadow-tomography algorithms study the same estimation task with other measurement models and improved upper bounds.

Setting

Fix a dimension DDD. A two-outcome measurement is a D×DD\times DD×D Hermitian matrix EEE with 0⪯E⪯I0\preceq E\preceq I0⪯E⪯I; it accepts ρ\rhoρ with probability Tr⁡(Eρ)\operatorname{Tr}(E\rho)Tr(Eρ). The tensor power ρ⊗k\rho^{\otimes k}ρ⊗k is the Dk×DkD^k\times D^kDk×Dk matrix of kkk independent copies. A strategy using kkk copies is a measurement of ρ⊗k\rho^{\otimes k}ρ⊗k with finitely many outcomes ω∈Ω\omega\in\Omegaω∈Ω, given by positive semidefinite matrices Πω\Pi_\omegaΠω​ with ∑ωΠω=I\sum_\omega\Pi_\omega = I∑ω​Πω​=I, together with outputs b(ω)=(b1(ω),…,bM(ω))b(\omega)=(b_1(\omega),\dots,b_M(\omega))b(ω)=(b1​(ω),…,bM​(ω)). It succeeds on ρ\rhoρ when, with probability at least 2/32/32/3 over ω\omegaω, ∣bi(ω)−Tr⁡(Eiρ)∣≤ε|b_i(\omega)-\operatorname{Tr}(E_i\rho)|\le\varepsilon∣bi​(ω)−Tr(Ei​ρ)∣≤ε for every i∈[M]i\in[M]i∈[M].

The proof works with these further objects, all defined in the mission:

  • an orthogonal projection P\mathbb PP onto an N/2N/2N/2-dimensional subspace of CN\mathbb C^NCN (Hermitian, idempotent, trace N/2N/2N/2);
  • ρP:=2NP\rho_{\mathbb P} := \tfrac2N\mathbb PρP​:=N2​P, the maximally mixed state on that subspace;
  • σP,ε:=(1−6ε) I/N+6ε ρP\sigma_{\mathbb P,\varepsilon} := (1-6\varepsilon)\,\mathbb I/N + 6\varepsilon\,\rho_{\mathbb P}σP,ε​:=(1−6ε)I/N+6ερP​;
  • the von Neumann entropy in bits, S(ρ)=−∑xλxlog⁡2λxS(\rho) = -\sum_x\lambda_x\log_2\lambda_xS(ρ)=−∑x​λx​log2​λx​ over the eigenvalues of ρ\rhoρ;
  • for states σ1,…,σK\sigma_1,\dots,\sigma_Kσ1​,…,σK​ and ζ:=1K∑iσi⊗T\zeta := \tfrac1K\sum_i\sigma_i^{\otimes T}ζ:=K1​∑i​σi⊗T​, the quantum mutual information with the classical index, I(ζ;i):=S(ζ)−1K∑iS(σi⊗T)I(\zeta;i) := S(\zeta) - \tfrac1K\sum_i S(\sigma_i^{\otimes T})I(ζ;i):=S(ζ)−K1​∑i​S(σi⊗T​).

Formalization targets

Goal: Theorem 19 (p. 23)

There are a universal constant c>0c>0c>0 and a threshold N0N_0N0​ such that for all D≥N0D\ge N_0D≥N0​, all MMM with log⁡2M≥N02\log_2 M\ge N_0^2log2​M≥N02​ and all 0<ε≤160<\varepsilon\le\tfrac160<ε≤61​, some measurements E1,…,EME_1,\dots,E_ME1​,…,EM​ on CD\mathbb C^DCD force every strategy that succeeds on every mixed state to use

k  ≥  c min⁡{D2, log⁡2M}ε2k \;\ge\; c\,\frac{\min\{D^2,\ \log_2 M\}}{\varepsilon^2}k≥cε2min{D2, log2​M}​

copies. The goal fixes only the shape Ω(min⁡{D2,log⁡M}/ε2)\Omega(\min\{D^2,\log M\}/\varepsilon^2)Ω(min{D2,logM}/ε2), not a constant, so a sharper constant does not invalidate it.

Milestones (pp. 23–24)

The milestones follow the proof, which sets N:=⌊min⁡{D,log⁡2M}⌋N:=\lfloor\min\{D,\sqrt{\log_2 M}\}\rfloorN:=⌊min{D,log2​M​}⌋ and K:=⌊cN2⌋K:=\lfloor c^{N^2}\rfloorK:=⌊cN2⌋:

  1. Eq. (2): for some c∈(1,2)c\in(1,2)c∈(1,2) and all large even NNN there are KKK projections Pi\mathbb P_iPi​ of rank N/2N/2N/2 with ∣Tr⁡(Piρj)−12∣≤112|\operatorname{Tr}(\mathbb P_i\rho_j)-\tfrac12|\le\tfrac1{12}∣Tr(Pi​ρj​)−21​∣≤121​ for all i≠ji\ne ji=j.
  2. Tr⁡(Piσi)=12+3ε\operatorname{Tr}(\mathbb P_i\sigma_i) = \tfrac12+3\varepsilonTr(Pi​σi​)=21​+3ε.
  3. ∣Tr⁡(Pjσi)−12∣=6ε∣Tr⁡(Pjρi)−12∣≤ε2|\operatorname{Tr}(\mathbb P_j\sigma_i)-\tfrac12| = 6\varepsilon|\operatorname{Tr}(\mathbb P_j\rho_i)-\tfrac12|\le\tfrac\varepsilon2∣Tr(Pj​σi​)−21​∣=6ε∣Tr(Pj​ρi​)−21​∣≤2ε​ for i≠ji\neq ji=j.
  4. The exact entropy S(σi)=log⁡2N−[1−h(12+3ε)]S(\sigma_i) = \log_2 N - [1-h(\tfrac12+3\varepsilon)]S(σi​)=log2​N−[1−h(21​+3ε)], with hhh the binary entropy, and the bound S(σi)≥log⁡2N−Cε2S(\sigma_i)\ge\log_2 N - C\varepsilon^2S(σi​)≥log2​N−Cε2.
  5. I(ζ;i)≤T(log⁡2N−S(σi))I(\zeta;i)\le T(\log_2 N - S(\sigma_i))I(ζ;i)≤T(log2​N−S(σi​)) when all σi\sigma_iσi​ have equal entropy.

Significance

Theorem 19 shows that the log⁡M\log MlogM dependence of shadow tomography cannot be removed, and that for M≥2D2M\ge 2^{D^2}M≥2D2 shadow tomography is as hard as full tomography: as MMM grows the bound becomes the Ω(D2/ε2)\Omega(D^2/\varepsilon^2)Ω(D2/ε2) tomography lower bound, which it therefore contains. Compared with the classical Theorem 16, it shows that quantum states need quadratically more copies in the dimension term. The 1/ε21/\varepsilon^21/ε2 factor matches the upper bound of Proposition 20 for the decision version, so the ε\varepsilonε-dependence of the lower bound is tight in that setting.

The results are proved in the paper; none of them has a machine-checked proof that we know of. Formalizing the argument requires von Neumann entropy and its additivity on tensor products, the bound S≤log⁡2(dimension)S\le\log_2(\text{dimension})S≤log2​(dimension), a Holevo-plus-Fano step that turns successful estimation into mutual information, and the existence of many nearly orthogonal half-dimensional subspaces. Each is reusable well beyond this mission.

Difficulty

The obvious attempt adapts the classical argument of Theorem 16, which hides KKK subsets of [N][N][N] in a biased distribution. Quantum states allow exp⁡(Ω(N2))\exp(\Omega(N^2))exp(Ω(N2)) hidden subspaces instead of exp⁡(Ω(N))\exp(\Omega(N))exp(Ω(N)) subsets, which is where D2D^2D2 comes from, but two steps change character. First, the hiding family must be shown to exist: Eq. (2) is a concentration statement for random subspaces, and the lemma the paper cites for it (Lemma 18) is misstated, as explained below. Second, the information bound must be carried out for quantum states: the step "learning iii from ζ\zetaζ requires I(ζ;i)≥log⁡2KI(\zeta;i)\ge\log_2 KI(ζ;i)≥log2​K" needs Holevo's bound and Fano's inequality, adjusted for success probability 2/32/32/3 rather than certainty.

Formalization scope

Matrices are Matrix n n ℂ over a finite index type; the goal uses n=Fin Dn=\texttt{Fin } Dn=Fin D. Conventions committed to:

  • A mixed state is the published WildeQIT.IsDensityOperator (positive semidefinite, trace 111), reused as a reference item.
  • A strategy is a finite-outcome POVM on ρ⊗k\rho^{\otimes k}ρ⊗k, indexed by Fin k → Fin D, with deterministic outputs b(ω)∈RMb(\omega)\in\mathbb R^Mb(ω)∈RM; classical randomness can be absorbed into the outcome set.
  • Probabilities and traces are real parts of complex traces. Entropies use log⁡2\log_2log2​; Lean's log⁡20=0\log_2 0 = 0log2​0=0 gives 0log⁡0=00\log 0=00log0=0, and vnEntropy returns 000 on non-Hermitian matrices, which no statement uses.
  • Added to the goal: the threshold N0N_0N0​ on DDD and log⁡2M\sqrt{\log_2 M}log2​M​ (for D=1D=1D=1, k=0k=0k=0 succeeds) and ε≤16\varepsilon\le\tfrac16ε≤61​ (for ε≥12\varepsilon\ge\tfrac12ε≥21​, the output bi=12b_i=\tfrac12bi​=21​ succeeds with k=0k=0k=0). Problem 1's bi∈[0,1]b_i\in[0,1]bi​∈[0,1] is dropped, an equivalent statement under clipping.
  • The measurements are chosen before the strategy (for every strategy, the same EEE), which is the meaning of a lower bound.

A trivializing formalization is ruled out: the goal does not mention NNN, KKK, Pi\mathbb P_iPi​, σi\sigma_iσi​ or ζ\zetaζ, the success condition quantifies over all mixed states rather than a vacuous class, and the measurements are fixed before the strategy.

Not drafted:

  • Lemma 18 (pp. 22–23) is false as printed. Since ES[ρS]=I/N\mathbb E_S[\rho_S] = \mathbb I/NES​[ρS​]=I/N, Tr⁡(PTρS)\operatorname{Tr}(\mathbb P_T\rho_S)Tr(PT​ρS​) concentrates at 1/21/21/2, not 1/41/41/4. The proof needs only Eq. (2), which is centred correctly and is a milestone.
  • Eq. (2) is stated as existence, not as "probability 1−o(1)1-o(1)1−o(1) over Haar-random subspaces", because Mathlib has no Haar measure on the unitary group or the Grassmannian; existence is what the proof uses.
  • "I(ζ;i)I(\zeta;i)I(ζ;i) must be at least log⁡2K\log_2 Klog2​K" is not drafted: as stated it is imprecise for success probability 2/32/32/3, and the correct Holevo–Fano form is left to the solver.
  • The final combination I(ζ;i)=O(Tε2)I(\zeta;i)=O(T\varepsilon^2)I(ζ;i)=O(Tε2), T=Ω(N2/ε2)T=\Omega(N^2/\varepsilon^2)T=Ω(N2/ε2) is the goal's last step.

Contributions welcome: proofs of the milestones; a Haar-measure version of Eq. (2); von Neumann entropy infrastructure (additivity, the dimension bound, concavity); Holevo's bound and Fano's inequality for finite-dimensional states.

Selected references

  • S. Aaronson, Shadow Tomography of Quantum States, arXiv:1711.01053v2, 2018; STOC 2018. https://arxiv.org/abs/1711.01053
  • P. Hayden, D. Leung, A. Winter, Aspects of generic entanglement, Comm. Math. Phys. 265, 2006. https://arxiv.org/abs/quant-ph/0407049
  • R. O'Donnell, J. Wright, Efficient quantum tomography, STOC 2016. https://arxiv.org/abs/1508.01907
  • J. Haah, A. W. Harrow, Z. Ji, X. Wu, N. Yu, Sample-optimal tomography of quantum states, IEEE Trans. Inf. Theory 63, 2017. https://arxiv.org/abs/1508.01797
  • A. Ambainis, A. Nayak, A. Ta-Shma, U. Vazirani, Dense quantum coding and quantum finite automata, J. ACM 49, 2002. https://arxiv.org/abs/quant-ph/9804043
  • H.-Y. Huang, R. Kueng, J. Preskill, Predicting many properties of a quantum system from very few measurements, Nature Physics 16, 2020. https://arxiv.org/abs/2002.08953
16 thms3 active usersReviewed
Graph TheoryQuantum Error Correction·Captain: mikedeng1

Quantum Tanner Codes 1: On a Ramanujan Left-Right Cayley Complex with Robust Dual Tensor Codes, the Quantum Tanner Code Has Rate at Least (1−2ρ)² and Distance at Least δn/(4Δ^{3/2+ε})Research Paper

Why quantum Tanner codes matter

An error-correcting code protects information by adding redundancy. A quantum code must also account for two kinds of errors, commonly called XXX and ZZZ errors. Quantum low-density parity-check codes use checks that each touch only a bounded number of qubits, while each qubit participates in only a bounded number of checks. Such locality matters when the number of qubits grows. For years it was difficult to make both the number of encoded qubits and the minimum distance proportional to the block length while retaining bounded-weight checks. Leverrier and Zémor's quantum Tanner construction gives a route through local codes placed on an expanding square complex; its main distance theorem is the target of this mission Leverrier and Zémor, 2022.

The construction combines two earlier ingredients. Left-right Cayley complexes provide the squares and expansion properties used by the code Dinur, Evra, Livne, Lubotzky, and Mozes, 2021. Robustness of a dual tensor code, including after puncturing coordinates, controls local words Panteleev and Kalachev, 2021. The paper states the local reduction property as Theorem 1 and derives the rate and distance bounds as Theorem 17. This mission formalizes that implication under the paper's stated component-code and expansion conditions; the separate random-code result that supplies robust examples belongs to the second mission of this series.

The square complex and its codes

Let GGG be a finite group and let A,B⊆GA,B\subseteq GA,B⊆G be inverse-closed sets, each of size Δ\DeltaΔ. The total no-conjugacy condition says ag≠gbag\ne gbag=gb for every a∈Aa\in Aa∈A, b∈Bb\in Bb∈B, and g∈Gg\in Gg∈G. Vertices are two copies of the group, V=G×{0,1}V=G\times\{0,1\}V=G×{0,1}. A square associated with v=(g,i)v=(g,i)v=(g,i) and (a,b)∈A×B(a,b)\in A\times B(a,b)∈A×B has vertices vvv, (ag,1−i)(ag,1-i)(ag,1−i), (gb,1−i)(gb,1-i)(gb,1−i), and (agb,i)(agb,i)(agb,i). The set of squares is QQQ, and a binary word on QQQ has length n=∣Q∣n=|Q|n=∣Q∣. At a vertex vvv, the incident squares are indexed by A×BA\times BA×B; this indexing makes the local view xvx_vxv​ of a word x∈F2Qx\in\mathbb F_2^Qx∈F2Q​ an A×BA\times BA×B matrix Leverrier and Zémor, §§3.2 and 4.1.

A binary linear code CAC_ACA​ has coordinates indexed by AAA, and CBC_BCB​ has coordinates indexed by BBB. Their tensor code CA⊗CBC_A\otimes C_BCA​⊗CB​ consists of matrices whose columns lie in CAC_ACA​ and whose rows lie in CBC_BCB​. The dual tensor code CA⊗F2B+F2A⊗CBC_A\otimes\mathbb F_2^B+\mathbb F_2^A\otimes C_BCA​⊗F2B​+F2A​⊗CB​ is the sum of the column and row codes. In Definition 5, it is www-robust when every member of weight at most www is supported on a union of few rows and columns, with the bounds determined by the two component minimum distances. Definition 8 requires this property after deleting up to ppp coordinates from each side. These are conditions on all relevant codewords and all permitted puncturings, including the unpunctured pair Leverrier and Zémor, pp. 15–16.

The two Tanner codes are C0=T(G0□,(CA⊗CB)⊥)\mathcal C_0=T(\mathcal G^\square_0,(C_A\otimes C_B)^\perp)C0​=T(G0□​,(CA​⊗CB​)⊥) and C1=T(G1□,(CA⊥⊗CB⊥)⊥)\mathcal C_1=T(\mathcal G^\square_1,(C_A^\perp\otimes C_B^\perp)^\perp)C1​=T(G1□​,(CA⊥​⊗CB⊥​)⊥). Here Gi□\mathcal G^\square_iGi□​ is the square-adjacency graph on the vertices in copy iii. Together they define the quantum CSS code Q=(C0,C1)\mathcal Q=(\mathcal C_0,\mathcal C_1)Q=(C0​,C1​). Its dimension counts encoded qubits. Its distance is the smaller of the minimum weights in C0∖C1⊥\mathcal C_0\setminus\mathcal C_1^\perpC0​∖C1⊥​ and C1∖C0⊥\mathcal C_1\setminus\mathcal C_0^\perpC1​∖C0⊥​ Leverrier and Zémor, pp. 14, 18.

Formalization targets

The goal is Theorem 17. Fix 0<ρ<1/20<\rho<1/20<ρ<1/2, 0<ε<1/20<\varepsilon<1/20<ε<1/2, 1/2+ε<γ<11/2+\varepsilon<\gamma<11/2+ε<γ<1, and δ>0\delta>0δ>0. For sufficiently large Δ\DeltaΔ, take a left-right Cayley complex satisfying total no-conjugacy and the paper's Ramanujan conditions. Require 0<dim⁡CA≤ρΔ0<\dim C_A\le\rho\Delta0<dimCA​≤ρΔ, dim⁡CB=Δ−dim⁡CA\dim C_B=\Delta-\dim C_AdimCB​=Δ−dimCA​, minimum distance at least δΔ\delta\DeltaδΔ for CA,CBC_A,C_BCA​,CB​ and both duals, and Δ3/2−ε/2\Delta^{3/2-\varepsilon/2}Δ3/2−ε/2 robustness with Δγ\Delta^\gammaΔγ resistance to puncturing for both relevant dual tensor codes. The target is

k≥(1−2ρ)2n,d≥δn4Δ3/2+ε.k\ge (1-2\rho)^2 n,\qquad d\ge \frac{\delta n}{4\Delta^{3/2+\varepsilon}}.k≥(1−2ρ)2n,d≥4Δ3/2+εδn​.

The milestones mirror the paper's route to this result. Lemma 4 bounds the nontrivial eigenvalues of the union and square graphs. Propositions 6 and 7 turn dual-tensor robustness into a decomposition and a 3/23/23/2 closeness bound. Theorem 1 supplies a weight-reducing local codeword for every sufficiently light nonzero Tanner-code word. Display (5) supplies the dimension lower bound. Theorem 17 combines the two distance directions with that rate estimate Leverrier and Zémor, pp. 12, 15–16, 18–23.

What the result supplies

The lower bound on kkk ensures a positive fraction of qubits can carry logical information when ρ<1/2\rho<1/2ρ<1/2. The lower bound on ddd rules out small undetectable logical errors. For a fixed allowable degree Δ\DeltaΔ, both bounds scale linearly with nnn. The paper also shows that random component codes can satisfy the robustness assumptions; that probabilistic result is a separate formalization target Leverrier and Zémor, Theorems 9 and 17.

A checked development would make explicit how the square indexing, duals, punctured codes, and CSS quotient fit together. The source proves the mathematical result; the statements here remain open Lean theorems. Reusable contributions include the tensor-code interface, spectral bounds for the graph construction, and lemmas connecting local views to the global Tanner codes. A proof of the existence of infinite Ramanujan complex families is outside this mission's stated target.

Where the proof is difficult

A light global codeword need not have a local view that is itself close to a tensor-code word. Some square-graph vertices have unusually large local weight, and puncturing is needed to isolate coordinates shared with those exceptional vertices. The paper's small-set expansion estimates and robustness conditions control those interactions. Simply averaging local weights does not yield the weight-reducing local codeword asserted by Theorem 1 Leverrier and Zémor, §4.2.

Formalization scope

Words are functions into ZMod 2, codes are submodules, and a matrix is a function on A×BA\times BA×B with AAA indexing rows. The square coordinates are four-element vertex sets. The construction uses V=G×Fin⁡(2)V=G\times\operatorname{Fin}(2)V=G×Fin(2) and counts nnn as the number of squares rather than building n=Δ2∣G∣/2n=\Delta^2|G|/2n=Δ2∣G∣/2 into a definition. The minimum distance of the zero code is infinity, and robustness uses inequalities involving that extended value. Powers of Δ\DeltaΔ and the parameters w,pw,pw,p are real; the paper uses integer w,pw,pw,p in Definition 8, while the theorem's power thresholds need real comparisons. The formal robustness predicate includes Definition 5's range 0≤w≤Δ20\le w\le\Delta^20≤w≤Δ2; the theorem thresholds satisfy it for sufficiently large Δ\DeltaΔ. These conventions are recorded with each item.

The goal quantifies over every finite complex satisfying inverse closure, total no-conjugacy, and Ramanujan conditions, with a uniform threshold Δ0\Delta_0Δ0​ chosen before the group and codes. This pins the complexes in the cited infinite family without formalizing their existence. In particular, the goal contains no auxiliary set or local reduction assumption that could make the distance bound immediate. The published CodingTheory and TillichZemor.HGP.Setting definitions supply dual codes and CSS dimension; the paper-specific setting supplies the square complex, local views, Tanner codes, and robustness. Contributions that keep these conventions and close any milestone theorem are welcome.

Selected references

  • A. Leverrier and G. Zémor, Quantum Tanner codes, arXiv preprint, 2022. arXiv:2202.13641v3.
  • I. Dinur, S. Evra, R. Livne, A. Lubotzky, and S. Mozes, Locally Testable Codes with constant rate, distance, and locality, arXiv preprint, 2021. arXiv:2111.04808.
  • P. Panteleev and G. Kalachev, Asymptotically good quantum and locally testable classical LDPC codes, arXiv preprint, 2021. arXiv:2111.03654.
9 thms2 active usersReviewed
Linear algebraOptimizationTheoretical Computer Science·Captain: mikedeng1

Optimization by Decoded Quantum Interferometry 2: With an Imperfect Decoder and Uniform v, 𝔼_v⟨f⟩ ≥ wᵀ[A − 2ε(m+1)]w / Σ_k w_k²(1 − ε_k) for max-XORSATResearch Paper

Motivation

A max-XORSAT instance asks for a binary assignment that satisfies as many parity constraints as possible. A matrix specifies the parity check in each constraint, while a second binary vector specifies the desired parity. The objective can be written as the number of satisfied constraints minus the number violated, so an assignment with a high objective value is also a good approximate solution. Jordan and coauthors study decoded quantum interferometry (DQI), a way to sample candidate assignments by encoding a weighted superposition of error patterns and then decoding their syndromes. Their ideal-state analysis assumes that low-weight errors have distinct syndromes. Real decoders can succeed on many errors even when this uniqueness condition fails, which makes the theorem in this mission relevant to the algorithmic regime beyond the guaranteed decoding radius. Jordan et al., §§8.1 and 10.

The paper's 2024 preprint introduced DQI for linear constraint satisfaction and related optimization problems. Its revised 2025 version studies the effect of decoder failures on the measured objective in Theorem 10.1. This mission uses that revision, arXiv:2408.08292v5, and isolates the first inequality of equation (172). The same section supplies explicit identities for the norm of the postselected state and for its objective matrix, making the theorem a bounded campaign of finite combinatorics and linear algebra. Jordan et al., §10, pp. 35–43.

Setting

Fix integers m,n≥0m,n\ge0m,n≥0 and a binary matrix B∈F2m×nB\in\mathbb F_2^{m\times n}B∈F2m×n​. Its iiith row defines a parity bi⋅xb_i\cdot xbi​⋅x of an assignment x∈F2nx\in\mathbb F_2^nx∈F2n​. For a binary vector v∈F2mv\in\mathbb F_2^mv∈F2m​, the objective is

fv(x)=∑i=1m(−1)bi⋅x+vi.f_v(x)=\sum_{i=1}^{m}(-1)^{b_i\cdot x+v_i}.fv​(x)=i=1∑m​(−1)bi​⋅x+vi​.

An error pattern y∈F2my\in\mathbb F_2^my∈F2m​ has syndrome B⊤yB^\top yB⊤y and Hamming weight ∣y∣|y|∣y∣. The weight-kkk shell EkE_kEk​ contains all errors with ∣y∣=k|y|=k∣y∣=k. Choose 0≤ℓ≤m0\le\ell\le m0≤ℓ≤m and real weights w0,…,wℓw_0,\ldots,w_\ellw0​,…,wℓ​. The ideal syndrome-space state in equation (140) sums (−1)v⋅y∣B⊤y⟩(-1)^{v\cdot y}|B^\top y\rangle(−1)v⋅y∣B⊤y⟩ over each EkE_kEk​, multiplied by wk/(mk)w_k/\sqrt{\binom m k}wk​/(km​)​. Jordan et al., equations (140) and (171).

A deterministic decoder dec:F2n→F2m\mathrm{dec}:\mathbb F_2^n\to\mathbb F_2^mdec:F2n​→F2m​ guesses an error from its syndrome. It correctly identifies yyy when dec(B⊤y)=y\mathrm{dec}(B^\top y)=ydec(B⊤y)=y. Write Dk⊆EkD_k\subseteq E_kDk​⊆Ek​ for the correctly identified errors and Fk=Ek∖DkF_k=E_k\setminus D_kFk​=Ek​∖Dk​ for the failures. The shell failure rate is εk=∣Fk∣/(mk)\varepsilon_k=|F_k|/\binom m kεk​=∣Fk​∣/(km​), and ε=max⁡0≤k≤ℓεk\varepsilon=\max_{0\le k\le\ell}\varepsilon_kε=max0≤k≤ℓ​εk​. Postselecting successful decoding leaves the unnormalized state P~D(f)\widetilde P_D(f)PD​(f) formed by replacing each EkE_kEk​ in the ideal state with DkD_kDk​. Apply the binary Hadamard transform, divide by the resulting norm, measure xxx, and evaluate fv(x)f_v(x)fv​(x). Denote this measured expectation by ⟨fv⟩\langle f_v\rangle⟨fv​⟩. Jordan et al., §10.3, pp. 39–40.

Formalization targets

Theorem 10.1: the averaged objective

Let N=∑k=0ℓwk2(1−εk)N=\sum_{k=0}^{\ell}w_k^2(1-\varepsilon_k)N=∑k=0ℓ​wk2​(1−εk​) be the squared norm of the postselected state. The goal, for N>0N>0N>0 and uniform v∈F2mv\in\mathbb F_2^mv∈F2m​, is

Ev⟨fv⟩≥w⊤A(m,ℓ,0)w−2ε(m+1)w⊤wN.\mathbb E_v\langle f_v\rangle\ge \frac{w^\top A^{(m,\ell,0)}w-2\varepsilon(m+1)w^\top w}{N}.Ev​⟨fv​⟩≥Nw⊤A(m,ℓ,0)w−2ε(m+1)w⊤w​.

The matrix A(m,ℓ,0)A^{(m,\ell,0)}A(m,ℓ,0) is the symmetric tridiagonal matrix in equation (70): its diagonal is zero and its entries adjacent to the diagonal are ak=k(m−k+1)a_k=\sqrt{k(m-k+1)}ak​=k(m−k+1)​. This is the first inequality of (172), with the decoder's actual failure fractions in NNN and the worst shell failure rate in the correction. It has no minimum-distance hypothesis. Jordan et al., Theorem 10.1, pp. 39–40.

Supporting targets

The milestone list includes the norm identity of Lemma 10.4, the ideal and postselected objective matrices of Lemmas 10.2 and 10.5, the normalized expectation identity in (179), the averaged matrix identities of Lemmas 10.3 and 10.6, and the error-matrix bound of Lemma 10.7. A separate companion item records the second comparison printed in (172) under an explicit sign condition; without that condition, the printed comparison can fail. Jordan et al., §10, pp. 36–43.

Significance

The result assigns a quantitative cost to decoding errors. It says how the measured max-XORSAT objective changes when some error patterns are lost during postselection, while permitting a code whose low-weight errors share syndromes. Consequently the theorem addresses the setting in which practical decoding succeeds often but exact distance-based uniqueness is unavailable. The denominator also records the survival probability of the weighted state, so the bound keeps the actual normalization visible. Jordan et al., §10, pp. 35 and 39–43.

A complete formalization would provide reusable definitions for binary syndrome decoding, shellwise failure rates, real-amplitude states, normalized measurement expectations, and finite objective matrices. The paper proves the result on paper; this mission asks for machine-checked proofs of the stated goal and its milestones. The formal development would also document exactly which part of equation (172) requires an additional sign assumption. No proof is claimed by the draft statements themselves.

Difficulty

When two errors have the same syndrome, the ideal syndrome state can combine their amplitudes, so its norm need not equal w⊤ww^\top ww⊤w. Postselection changes which errors remain, and the measured objective depends on the normalized state for each vvv. Replacing that normalized expectation with the objective of an average state would change the claim. The proof must keep the decoder fixed while vvv varies and must control the error matrix uniformly over every real weight vector. The printed second inequality of (172) adds a separate sign issue: a smaller positive denominator reverses the expected comparison when the numerator is negative. Jordan et al., equations (161), (171)–(172), (179)–(182).

Formalization scope

Lean uses ZMod 2 for bits, Fin m and Fin n for zero-based coordinates, functions for binary vectors, and Matrix for BBB. The decoder is one function of the syndrome, independent of vvv. Hamming shells, correct and failed decoding sets, and εk\varepsilon_kεk​ are computed from that function. Weights and amplitudes are real. The postselected state uses the factor 1/(mk)1/\sqrt{\binom m k}1/(km​)​; the Hadamard transform uses 1/2n1/\sqrt{2^n}1/2n​. The average over vvv is the sum over all 2m2^m2m vectors divided by 2m2^m2m. The tridiagonal entries compute m−km-km−k in the reals, preserving the square-root formula at the boundary.

Two domain conditions are made explicit. The bound ℓ≤m\ell\le mℓ≤m rules out absent weight shells, for which Lean would otherwise assign zero to division by (mk)=0\binom m k=0(km​)=0. The condition N>0N>0N>0 rules out a zero postselected state, whose normalized expectation would likewise be assigned a meaningless zero by total real division. The goal ranges over every binary matrix, every fixed deterministic decoder, and every real weight vector satisfying those conditions. It states the expectation of the explicit postselected state after a Hadamard transform, rather than an unconstrained expectation variable.

The supporting development needs finite character sums, Hamming-shell cardinalities, matrix quadratic forms, and an operator bound for a symmetric real matrix. These components can serve other finite decoding and quantum-state calculations. Contributions proving the seven cited milestones or the goal are within scope. The circuit's resource accounting, asymptotic equation (173), and numerical decoder studies are outside this mission.

Selected references

  • S. P. Jordan, N. Shutty, M. Wootters, A. Zalcman, A. Schmidhuber, R. King, S. V. Isakov, T. Khattar, and R. Babbush, Optimization by Decoded Quantum Interferometry, arXiv:2408.08292v5, 2025 revision of the 2024 preprint. arXiv
10 thms2 active usersReviewed
OptimizationTheoretical Computer Science·Captain: mikedeng1

A Quantum Approximate Optimization Algorithm Applied to a Bounded Occurrence Constraint Problem II: For Random Signs the QAOA Expectation Concentrates Above (1/2 + sin γ cos^(3D) γ/2)mResearch Paper

Motivation

The Quantum Approximate Optimization Algorithm (QAOA) of Farhi, Goldstone and Gutmann (arXiv:1411.4028) prepares a parametrized quantum state whose measurement yields a candidate solution of a combinatorial optimization problem. Its level-one version alternates a single phase operator and a single mixing operator and is simple enough to analyse by hand. In arXiv:1412.6062 the same authors applied it to Max E3LIN2 with bounded occurrence: given linear equations mod 2, each on exactly three bits, with every bit in at most D+1D+1D+1 equations, satisfy as many equations as possible. A uniformly random string satisfies half of them in expectation; the question is by how much an algorithm can beat 12\tfrac1221​.

Without the occurrence bound no efficient algorithm achieves 12+ϵ\tfrac12+\epsilon21​+ϵ unless P = NP (Håstad, J. ACM 2001). With every bit in at most D+1D+1D+1 equations the history, as recounted on pp. 2–3 of the paper, is:

  • 2000: Håstad gave a classical algorithm with approximation ratio 12+Ω(1/D)\tfrac12+\Omega(1/D)21​+Ω(1/D) (Inf. Process. Lett. 74).
  • 2001: Trevisan showed that an efficient algorithm achieving 12+c/D1/2\tfrac12+c/D^{1/2}21​+c/D1/2 for a sufficiently large constant ccc would imply P = NP (STOC).
  • 2014: the first version of this paper showed that the level-one QAOA satisfies at least (12+122D3/4)m\big(\tfrac12+\tfrac1{22D^{3/4}}\big)m(21​+22D3/41​)m equations.
  • 2015: Barak et al. gave an efficient classical algorithm reaching (12+Ω(D−1/2))m\big(\tfrac12+\Omega(D^{-1/2})\big)m(21​+Ω(D−1/2))m on every instance (arXiv:1505.03424); the second version of this paper improved the QAOA worst-case bound to (12+1101D1/2ln⁡D)m\big(\tfrac12+\tfrac1{101D^{1/2}\ln D}\big)m(21​+101D1/2lnD1​)m (Section II).

Section III, formalized here, studies the typical case: it fixes the triples and draws the right-hand sides at random, and shows that the QAOA then reaches an advantage of order D−1/2D^{-1/2}D−1/2, the order of the classical algorithm, on all but a vanishing fraction of the instances.

Setting

An instance on nnn bits with mmm equations is a list of triples (ai,bi,ci)(a_i,b_i,c_i)(ai​,bi​,ci​) with ai<bi<cia_i<b_i<c_iai​<bi​<ci​, no triple repeated, together with right-hand sides ri∈{0,1}r_i\in\{0,1\}ri​∈{0,1}; equation iii is xai+xbi+xci≡ri(mod2)x_{a_i}+x_{b_i}+x_{c_i}\equiv r_i\pmod 2xai​​+xbi​​+xci​​≡ri​(mod2). The instance has occurrence at most D+1D+1D+1 if every bit lies in at most D+1D+1D+1 triples. Write zv=(−1)xvz_v=(-1)^{x_v}zv​=(−1)xv​ and di=(−1)rid_i=(-1)^{r_i}di​=(−1)ri​; equation iii is satisfied by xxx exactly when zaizbizci=diz_{a_i}z_{b_i}z_{c_i}=d_izai​​zbi​​zci​​=di​.

Let C(x)C(x)C(x) be the number of equations satisfied by xxx, viewed as a diagonal operator on the 2n2^n2n-dimensional space spanned by ∣x⟩|x\rangle∣x⟩, let B=∑vXvB=\sum_v X_vB=∑v​Xv​, and let ∣s⟩|s\rangle∣s⟩ be the uniform superposition. For angles γ,β\gamma,\betaγ,β the level-one QAOA state is

∣γ,β⟩=e−iβBe−iγC∣s⟩.|\gamma,\beta\rangle=e^{-i\beta B}e^{-i\gamma C}|s\rangle .∣γ,β⟩=e−iβBe−iγC∣s⟩.

Measuring it in the computational basis gives a string; N(γ,β)=∑x∣⟨x∣γ,β⟩∣2C(x)N(\gamma,\beta)=\sum_x|\langle x|\gamma,\beta\rangle|^2C(x)N(γ,β)=∑x​∣⟨x∣γ,β⟩∣2C(x) is the expected number of satisfied equations.

In Section III the triples are fixed and the instance is drawn uniformly from the 2m2^m2m choices of right-hand sides; Ed\mathbb E_dEd​ and Vard\mathrm{Var}_dVard​ denote the mean and variance over this choice. The mixing angle is β=π/4\beta=\pi/4β=π/4 and the state analysed is ∣−γ,π/4⟩|-\gamma,\pi/4\rangle∣−γ,π/4⟩, following the paper's sign convention.

For an equation with bits 1,2,31,2,31,2,3, the polynomial cρ(z)=∑dρabzazbc_\rho(z)=\sum d_{\rho ab}z_az_bcρ​(z)=∑dρab​za​zb​ collects the equations that share exactly the bit ρ\rhoρ with it, and DρD_\rhoDρ​ is its number of terms.

Formalization targets

Goal: concentration above the mean bound

For every E3LIN2 family of mmm triples with occurrence at most D+1D+1D+1, every γ∈[0,π/2]\gamma\in[0,\pi/2]γ∈[0,π/2] and every t>0t>0t>0,

Pr⁡d[N(−γ,π/4)≤m2+m2sin⁡γcos⁡3Dγ−t]≤m(6D+3)(D+1)4t2.\Pr_d\Big[N(-\gamma,\pi/4)\le\frac m2+\frac m2\sin\gamma\cos^{3D}\gamma-t\Big]\le\frac{m(6D+3)(D+1)}{4t^2}.dPr​[N(−γ,π/4)≤2m​+2m​sinγcos3Dγ−t]≤4t2m(6D+3)(D+1)​.

With t=cmt=c\sqrt mt=cm​ and DDD fixed, all but a fraction (6D+3)(D+1)/(4c2)(6D+3)(D+1)/(4c^2)(6D+3)(D+1)/(4c2) of the instances reach (12+12sin⁡γcos⁡3Dγ)m−cm\big(\tfrac12+\tfrac12\sin\gamma\cos^{3D}\gamma\big)m-c\sqrt m(21​+21​sinγcos3Dγ)m−cm​. This is the paper's closing sentence of Section III with an explicit failure probability.

Milestones

  1. (55): N(−γ,π/4)=m2+∑i12di⟨ZaiZbiZci⟩N(-\gamma,\pi/4)=\tfrac m2+\sum_i\tfrac12d_i\langle Z_{a_i}Z_{b_i}Z_{c_i}\rangleN(−γ,π/4)=2m​+∑i​21​di​⟨Zai​​Zbi​​Zci​​⟩.
  2. (25): the single-clause term equals 18d Ez[∑±sin⁡(γ(d±c1±c2±c3))]\tfrac18d\,\mathbb E_z\big[\sum_{\pm}\sin(\gamma(d\pm c_1\pm c_2\pm c_3))\big]81​dEz​[∑±​sin(γ(d±c1​±c2​±c3​))] over four sign patterns.
  3. (47): averaging over the clause's own sign gives 12sin⁡γ Ez[cos⁡γc1cos⁡γc2cos⁡γc3]\tfrac12\sin\gamma\,\mathbb E_z[\cos\gamma c_1\cos\gamma c_2\cos\gamma c_3]21​sinγEz​[cosγc1​cosγc2​cosγc3​].
  4. (48): Ed[cos⁡γcρ(z)]=(cos⁡γ)Dρ\mathbb E_d[\cos\gamma c_\rho(z)]=(\cos\gamma)^{D_\rho}Ed​[cosγcρ​(z)]=(cosγ)Dρ​ for every zzz.
  5. (49): Ed\mathbb E_dEd​ of the clause term is 12sin⁡γ(cos⁡γ)D1+D2+D3\tfrac12\sin\gamma(\cos\gamma)^{D_1+D_2+D_3}21​sinγ(cosγ)D1​+D2​+D3​, with D1+D2+D3≤3DD_1+D_2+D_3\le3DD1​+D2​+D3​≤3D.
  6. (50): for γ∈[0,π/2]\gamma\in[0,\pi/2]γ∈[0,π/2], m2sin⁡γcos⁡3Dγ≤Ed[N−m2]≤m2sin⁡γ\tfrac m2\sin\gamma\cos^{3D}\gamma\le\mathbb E_d[N-\tfrac m2]\le\tfrac m2\sin\gamma2m​sinγcos3Dγ≤Ed​[N−2m​]≤2m​sinγ.
  7. (57): clause terms whose (25) expressions share no sign are uncorrelated.
  8. Linked count: each equation is linked to at most (6D+3)(D+1)(6D+3)(D+1)(6D+3)(D+1) equations.
  9. Variance: Vard N(−γ,π/4)≤14m(6D+3)(D+1)\mathrm{Var}_d\,N(-\gamma,\pi/4)\le\tfrac14m(6D+3)(D+1)Vard​N(−γ,π/4)≤41​m(6D+3)(D+1).
  10. (51)–(53): D1/2sin⁡γDcos⁡3DγD→1/3eD^{1/2}\sin\gamma_D\cos^{3D}\gamma_D\to1/\sqrt{3e}D1/2sinγD​cos3DγD​→1/3e​ at γD=1/3D\gamma_D=1/\sqrt{3D}γD​=1/3D​.

Significance

The result shows that on random-sign instances with any fixed bounded-occurrence structure, a single layer of QAOA beats a random assignment by Θ(D−1/2)m\Theta(D^{-1/2})mΘ(D−1/2)m, the same order as the best known classical guarantee and better than the paper's own worst-case bound by a logarithmic factor. It was one of the first concrete performance statements for the QAOA on a problem where its advantage over random guessing could be compared with the best classical guarantee. The average-case technique, an exact single-clause formula followed by an average over independent signs and a dependency count, applies to other local constraint problems.

The statements are proved in the paper by hand; none of them, and no QAOA performance bound, has a machine-checked proof on the platform. The mission produces a verified link from the quantum state to a classical average (25), a finite second-moment method over sign vectors, and an explicit Chebyshev form of the concentration claim.

Difficulty

The central step is (25): turning the expectation of ZaZbZcZ_aZ_bZ_cZa​Zb​Zc​ in the state e−iβBe−iγC∣s⟩e^{-i\beta B}e^{-i\gamma C}|s\ranglee−iβBe−iγC∣s⟩ into a classical average over bits. It requires conjugating three Pauli operators through the mixer at β=π/4\beta=\pi/4β=π/4, expanding the phase operator around the three bits, and showing that equations sharing two bits with the clause cancel. A direct computation in the 2n2^n2n-dimensional space does not scale with nnn and does not give a closed form.

For the variance, the naive bound by m2m^2m2 pairs gives nothing. The argument needs exact independence of clause terms whose sign dependencies are disjoint, which rests on (25) showing that each term depends only on its own sign and on the signs of the equations sharing exactly one bit with it, and then a combinatorial count of linked pairs.

Formalization scope

Bit strings are Fin n → Bool with true the bit 111; the quantum layer reuses the published QAlgorithms definitions (Qubits, act, prob, uniformState, problemHamiltonian, qaoaMixer, qaoaUnitary). The phase operator is the full count of satisfied equations, which differs from the paper's CCC of (6) by the constant m/2m/2m/2; the resulting states differ by a global phase and all probabilities agree. Triples are strictly increasing and pairwise distinct, which encodes "exactly three variables" and dabc∈{0,±1}d_{abc}\in\{0,\pm1\}dabc​∈{0,±1}. DDD is a natural number. Ed\mathbb E_dEd​ is the uniform average over all 2m2^m2m right-hand-side vectors, Ez\mathbb E_zEz​ over all 2n2^n2n strings.

Two pins are disclosed. The angle range 0≤γ≤π/20\le\gamma\le\pi/20≤γ≤π/2 is added to (50) and the goal, since the lower bound needs sin⁡γ,cos⁡γ≥0\sin\gamma,\cos\gamma\ge0sinγ,cosγ≥0. The goal's threshold is (50)'s exact lower bound, not the paper's (54): (12+123eD1/2)m\big(\tfrac12+\tfrac1{2\sqrt{3e}D^{1/2}}\big)m(21​+23e​D1/21​)m is the large-DDD limit and is false at every finite DDD, so (51)–(53) are stated as a limit instead. The goal is about the expected satisfied count of the measured state; the sampling procedure, circuit size and the search over γ\gammaγ are out of scope.

A trivializing reading is excluded: the probability is over the 2m2^m2m instances on the fixed triples, not over a single instance, and the bound is about the quantum expectation at ∣−γ,π/4⟩|-\gamma,\pi/4\rangle∣−γ,π/4⟩ (at +γ+\gamma+γ the mean has the opposite sign and the statement would be false).

A complete development needs finite averages over {0,1}m\{0,1\}^m{0,1}m with independence of coordinates, the single-clause formula (25) in the 2n2^n2n-dimensional Hilbert space, and Chebyshev's inequality on a finite uniform space. The (25) computation and the second-moment count are reusable for other QAOA analyses. Contributions to any milestone are welcome, in any order.

Selected references

  • E. Farhi, J. Goldstone, S. Gutmann, A Quantum Approximate Optimization Algorithm Applied to a Bounded Occurrence Constraint Problem, arXiv:1412.6062v2, 2015. https://arxiv.org/abs/1412.6062
  • E. Farhi, J. Goldstone, S. Gutmann, A Quantum Approximate Optimization Algorithm, arXiv:1411.4028, 2014. https://arxiv.org/abs/1411.4028
  • B. Barak, A. Moitra, R. O'Donnell, P. Raghavendra, O. Regev, D. Steurer, L. Trevisan, A. Vijayaraghavan, D. Witmer, J. Wright, Beating the random assignment on constraint satisfaction problems of bounded degree, APPROX/RANDOM 2015. https://arxiv.org/abs/1505.03424
  • J. Håstad, On bounded occurrence constraint satisfaction, Information Processing Letters 74(1), 2000. (cited as [3] in arXiv:1412.6062v2)
  • L. Trevisan, Non-approximability results for optimization problems on bounded degree instances, Proc. STOC 2001 (cited as [4] in arXiv:1412.6062v2)
17 thms2 active usersReviewed
OptimizationTheoretical Computer Science·Captain: mikedeng1

A Quantum Approximate Optimization Algorithm Applied to a Bounded Occurrence Constraint Problem I: Level-One QAOA Satisfies (1/2 + 1/(101 D^(1/2) ln D))m Equations of Max E3LIN2 for Large DResearch Paper

Motivation

The Quantum Approximate Optimization Algorithm (QAOA) of Farhi, Goldstone and Gutmann (arXiv:1411.4028) is a family of shallow quantum circuits for combinatorial optimization. At its lowest level, p=1p = 1p=1, the circuit has two real parameters, and its output is a random bit string. The question is how many constraints that string satisfies, compared with the best classical algorithms.

Max E3LIN2 is a natural test problem. Each constraint is a linear equation modulo 222 on exactly three bits, and the task is to satisfy as many of the mmm equations as possible. A uniformly random string satisfies m/2m/2m/2 in expectation, and for general instances no efficient algorithm does better than (1/2+ε)m(1/2 + \varepsilon)m(1/2+ε)m unless P = NP (Håstad 2001). The interesting regime is bounded occurrence: every bit lies in at most D+1D + 1D+1 equations.

Timeline, as recorded on p. 3 of the paper:

  • 2000: Håstad gives a classical algorithm with approximation ratio 1/2+const/D1/2 + \mathrm{const}/D1/2+const/D (doi:10.1016/S0020-0190(00)00032-6).
  • 2001: Trevisan shows that an efficient algorithm with ratio 1/2+const/D1/21/2 + \mathrm{const}/D^{1/2}1/2+const/D1/2, for a sufficiently large constant, would imply P = NP (doi:10.1145/380752.380839).
  • December 2014: the first version of this paper shows that the p=1p = 1p=1 QAOA yields a string satisfying (1/2+1/(22D3/4))m(1/2 + 1/(22D^{3/4}))m(1/2+1/(22D3/4))m equations. That beat every classical algorithm known at the time.
  • 2015: Barak et al. (arXiv:1505.03424) and Håstad give efficient classical algorithms reaching (1/2+const/D1/2)m(1/2 + \mathrm{const}/D^{1/2})m(1/2+const/D1/2)m.
  • June 2015: version 2 of this paper (arXiv:1412.6062v2) improves the QAOA bound to (1/2+1/(101D1/2ln⁡D))m(1/2 + 1/(101D^{1/2}\ln D))m(1/2+1/(101D1/2lnD))m. This mission formalizes that bound.

Setting

An instance on nnn bits consists of mmm equations. Equation iii is

xa+xb+xc≡ri(mod2),x_a + x_b + x_c \equiv r_i \pmod 2,xa​+xb​+xc​≡ri​(mod2),

on a triple of distinct bits a<b<ca < b < ca<b<c, with right-hand side ri∈{0,1}r_i \in \{0, 1\}ri​∈{0,1}, and no triple carries two equations. The instance has occurrence bound DDD if every bit appears in at most D+1D + 1D+1 equations.

Let C(z)C(z)C(z) be the number of equations satisfied by the string zzz, viewed as a diagonal operator on the 2n2^n2n-dimensional space spanned by the basis states ∣z⟩|z\rangle∣z⟩. Let B=X1+⋯+XnB = X_1 + \dots + X_nB=X1​+⋯+Xn​ be the sum of the Pauli XXX operators, and ∣s⟩|s\rangle∣s⟩ the uniform superposition of all basis states. For real angles γ,β\gamma, \betaγ,β the level-one QAOA state is

∣γ,β⟩=e−iβBe−iγC∣s⟩.|\gamma, \beta\rangle = e^{-i\beta B} e^{-i\gamma C} |s\rangle .∣γ,β⟩=e−iβBe−iγC∣s⟩.

Measuring it in the computational basis returns zzz with probability ∣⟨z∣γ,β⟩∣2|\langle z|\gamma,\beta\rangle|^2∣⟨z∣γ,β⟩∣2. The expected satisfied count is

F(γ,β)=∑z∣⟨z∣γ,β⟩∣2 C(z).F(\gamma, \beta) = \sum_z |\langle z|\gamma,\beta\rangle|^2\, C(z).F(γ,β)=z∑​∣⟨z∣γ,β⟩∣2C(z).

The paper writes the objective as m/2+12∑dabcZaZbZcm/2 + \tfrac12\sum d_{abc} Z_a Z_b Z_cm/2+21​∑dabc​Za​Zb​Zc​, with dabc=(−1)rd_{abc} = (-1)^{r}dabc​=(−1)r for the equation on a,b,ca, b, ca,b,c. The analysis is phrased through the shifted quantity ⟨γ,β∣12∑dabcZaZbZc∣γ,β⟩=F(γ,β)−m/2\langle\gamma,\beta|\tfrac12\sum d_{abc}Z_aZ_bZ_c|\gamma,\beta\rangle = F(\gamma,\beta) - m/2⟨γ,β∣21​∑dabc​Za​Zb​Zc​∣γ,β⟩=F(γ,β)−m/2.

The angles used are β=π/4\beta = \pi/4β=π/4 and, for an odd integer kkk,

γr=110D1/2cos⁡πrk,r=0,1,…,k.\gamma_r = \frac{1}{10 D^{1/2}} \cos\frac{\pi r}{k}, \qquad r = 0, 1, \dots, k .γr​=10D1/21​coskπr​,r=0,1,…,k.

Formalization targets

Goal: (44)–(45), pp. 8–9

There is a threshold D0D_0D0​ such that for every D≥D0D \ge D_0D≥D0​ there is an odd kkk with 5ln⁡D≤k≤5ln⁡D+25\ln D \le k \le 5\ln D + 25lnD≤k≤5lnD+2, such that on every instance with occurrence bound DDD some grid angle satisfies

F(γr,π/4) ≥ (12+1101 D1/2ln⁡D) m.F(\gamma_r, \pi/4) \ \ge\ \Big(\frac12 + \frac{1}{101\, D^{1/2} \ln D}\Big)\, m .F(γr​,π/4) ≥ (21​+101D1/2lnD1​)m.

D0D_0D0​ and kkk depend on DDD only, never on the instance. Equivalently, in the paper's form (44), max⁡r⟨γr,π/4∣12∑dabcZaZbZc∣γr,π/4⟩≥m/(101D1/2ln⁡D)\max_r \langle\gamma_r,\pi/4|\tfrac12\sum d_{abc}Z_aZ_bZ_c|\gamma_r,\pi/4\rangle \ge m/(101D^{1/2}\ln D)maxr​⟨γr​,π/4∣21​∑dabc​Za​Zb​Zc​∣γr​,π/4⟩≥m/(101D1/2lnD).

Milestones

The milestones are the displayed claims of Section II, in the order the argument uses them:

  • the sum form of FFF and its oddness in γ\gammaγ (p. 4);
  • the exact single-clause formula (25);
  • the Taylor remainder bound (28);
  • hypercontractivity for degree-2 polynomials (29);
  • the second-moment bounds (31) and (32);
  • the uniform remainder bound (34) and the triangle-inequality step (37);
  • the Chebyshev-node inequality (39), and its consequence (41) on the grid;
  • the numerical threshold (43).

Significance

The theorem shows that a single layer of the QAOA, with fixed β\betaβ and O(ln⁡D)O(\ln D)O(lnD) predetermined angles, beats random guessing by Ω(m/(D1/2ln⁡D))\Omega(m/(D^{1/2}\ln D))Ω(m/(D1/2lnD)) on every bounded-occurrence instance. Up to the ln⁡D\ln DlnD factor this matches the 1/2+Θ(D−1/2)1/2 + \Theta(D^{-1/2})1/2+Θ(D−1/2) threshold that Trevisan's hardness result places on efficient algorithms.

Two ingredients are reusable well beyond this paper. The hypercontractive inequality (29) bounds all moments of a degree-2 polynomial in uniform ±1\pm1±1 variables, at every exponent q=k+2q = k + 2q=k+2. The Chebyshev-node inequality (39) bounds from below the maximum of a polynomial with unit linear coefficient over the points cos⁡(πr/k)\cos(\pi r/k)cos(πr/k). Neither is in Mathlib or on the platform in this generality.

The result is proved on paper, with explicit constants, but none of it has been machine-checked. A complete formalization would also pin down two places where the printed argument is loose (see Formalization scope).

Difficulty

The obvious approach is to expand the expected count as a power series in γ\gammaγ and keep the linear term mγ/2m\gamma/2mγ/2. That fails because the higher-order terms are not small: each clause interacts with up to 3D3D3D others, so the coefficient of γj\gamma^jγj can grow like Dj/2D^{j/2}Dj/2, and their signs are uncontrolled. Uniform small-angle estimates therefore lose the linear gain unless ∣γ∣≲D−1/2|\gamma| \lesssim D^{-1/2}∣γ∣≲D−1/2. Even there, the polynomial part of degree up to kkk can cancel the linear term at any single angle. The step that needs a genuinely new input is showing that some angle of a short fixed grid avoids this cancellation for every instance at once. The remaining difficulty is bookkeeping: the threshold where the explicit constants start to work is enormous (ln⁡D\ln DlnD of order several hundred), so it has to be existential.

Formalization scope

  • Representation. Strings are Qubits n = Fin n → Bool, with true the bit 111. An instance is tri : Fin m → Fin n × Fin n × Fin n (strictly increasing coordinates, injective) and rhs : Fin m → Bool. Bounded occurrence counts, for each bit, the equations whose triple contains it.
  • Reused quantum layer. The published QAlgorithms definitions supply act, prob, uniformState, problemHamiltonian, qaoaMixer and qaoaUnitary.
  • Phase operator. The state uses the full count CCC as phase operator, not the paper's C−m/2C - m/2C−m/2. This changes the state by a global phase only, so every probability is the same.
  • Averages. EzE_zEz​ is the uniform average over all 2n2^n2n strings. The paper averages over the bits occurring in c1,c2,c3c_1, c_2, c_3c1​,c2​,c3​ only, which gives the same number.
  • Pinned forms. "For large DDD" is an existential threshold D0D_0D0​, uniform over instances. "k=5ln⁡Dk = 5\ln Dk=5lnD" is an odd kkk with 5ln⁡D≤k≤5ln⁡D+25\ln D \le k \le 5\ln D + 25lnD≤k≤5lnD+2: the Chebyshev-node step requires kkk odd, and 5ln⁡D5\ln D5lnD is not an integer. The grid therefore has at most 5ln⁡D+35\ln D + 35lnD+3 angles rather than the printed "no more than 5ln⁡D5\ln D5lnD".
  • Added hypothesis. The remainder bound (34) and its consumers assume D≥1D \ge 1D≥1. The printed last step e(1+9D)1/2≤9D1/2e(1+9D)^{1/2} \le 9D^{1/2}e(1+9D)1/2≤9D1/2 holds for D≥1D \ge 1D≥1 only, and the printed justification "e<3e < 3e<3" does not by itself give it.
  • Scope. The goal is about the expected satisfied count of the measured p=1p = 1p=1 state, which is what the paper's analysis bounds. Out of scope: the repetition and sampling procedure after (45), running time, circuit size, and the search over angles.
  • No trivialization. The goal cannot be met by a degenerate encoding: D0D_0D0​ and kkk precede the instance, the grid angles are fixed by DDD and kkk, and the hypotheses on the instance (distinct bits, one equation per triple, occurrence at most D+1D + 1D+1) are satisfiable for every DDD.
  • Infrastructure. A complete development needs moments of polynomials on the Boolean cube (hypercontractivity at general qqq), Taylor remainders for sin⁡\sinsin, an extremal inequality for polynomials on Chebyshev extreme points, and exponential-of-Pauli computations on nnn qubits. Hypercontractivity and the Chebyshev-node inequality are stated independently of the QAOA and are the most reusable contributions. Proofs of any milestone are welcome. Platform statements of L4L^4L4–L2L^2L2 Bonami inequalities for bilinear chaos exist, but they cover only q=4q = 4q=4 and do not imply (29).

Selected references

  • E. Farhi, J. Goldstone, S. Gutmann, A Quantum Approximate Optimization Algorithm Applied to a Bounded Occurrence Constraint Problem, arXiv preprint, v2, 2015. https://arxiv.org/abs/1412.6062v2
  • E. Farhi, J. Goldstone, S. Gutmann, A Quantum Approximate Optimization Algorithm, arXiv preprint, 2014. https://arxiv.org/abs/1411.4028
  • I. Dinur, E. Friedgut, G. Kindler, R. O'Donnell, On the Fourier tails of bounded functions over the discrete cube, Israel Journal of Mathematics 160 (2007), 389–412. https://doi.org/10.1007/s11856-007-0068-z
  • J. Håstad, Some optimal inapproximability results, Journal of the ACM 48 (2001), 798–859. https://doi.org/10.1145/502090.502098
  • J. Håstad, On bounded occurrence constraint satisfaction, Information Processing Letters 74 (2000), 1–6. https://doi.org/10.1016/S0020-0190(00)00032-6
  • L. Trevisan, Non-approximability results for optimization problems on bounded degree instances, Proc. 33rd ACM STOC (2001), 453–461. https://doi.org/10.1145/380752.380839
  • B. Barak et al., Beating the random assignment on constraint satisfaction problems of bounded degree, ECCC TR15-082 / arXiv preprint, 2015. https://arxiv.org/abs/1505.03424
18 thms2 active usersReviewed
Information TheoryLinear algebraQuantum Error Correction·Captain: mikedeng1

Reversing quantum dynamics with near-optimal quantum and classical fidelity I: The Reversal Operation Attains at Least the Square of the Optimal Average Entanglement FidelityResearch Paper

Motivation

Quantum error correction and quantum communication both ask the same question: after a known noise process A\mathcal AA has acted on a quantum system, how well can its effect be undone? For a given noise model the best recovery is the solution of a semidefinite program, which gives a number but no structure and no formula. Barnum and Knill showed in 2000 that a single, explicit recovery map, built from A\mathcal AA and the input state alone, is always close to the best one: its fidelity is at least the square of the optimal fidelity (arXiv:quant-ph/0004088). The map they use is now usually called the Petz recovery map or transpose channel; Petz had introduced it in operator-algebraic work on sufficiency (Petz 1986; Petz 1988). Near-optimality results of this kind underlie approximate quantum error correction and the later theory of recoverability in quantum information.

Timeline.

  • 1986–1988, D. Petz: the map ρ1/2A†(A(ρ)−1/2 ⋅ A(ρ)−1/2)ρ1/2\rho^{1/2}\mathcal A^\dagger(\mathcal A(\rho)^{-1/2}\,\cdot\,\mathcal A(\rho)^{-1/2})\rho^{1/2}ρ1/2A†(A(ρ)−1/2⋅A(ρ)−1/2)ρ1/2 characterizes when a channel can be reversed exactly on a family of states.
  • 2002, Barnum and Knill (J. Math. Phys. 43, 2097; doi:10.1063/1.1459754): in the published version, the reversal operation achieves at least the square of the optimal entanglement fidelity for a single input state.
  • arXiv v2 of the same paper (the source of this mission): the published Eq. (34) had dropped the ensemble weights; with that corrected, the bound holds for the average entanglement fidelity of any ensemble of commuting density matrices (Acknowledgments, p. 14).

Setting

A finite-dimensional quantum system is described by complex n×nn\times nn×n matrices; X†X^\daggerX† is the conjugate transpose, and a density matrix is a positive semidefinite matrix of trace one. A completely positive map A\mathcal AA is given by a finite decomposition A∼{Ai}i\mathcal A\sim\{A_i\}_iA∼{Ai​}i​ of matrices and acts by

A(X)=∑iAiXAi†.\mathcal A(X)=\sum_iA_iXA_i^\dagger .A(X)=i∑​Ai​XAi†​.

It is trace-preserving if ∑iAi†Ai=I\sum_iA_i^\dagger A_i=I∑i​Ai†​Ai​=I and trace-nonincreasing if ∑iAi†Ai≤I\sum_iA_i^\dagger A_i\le I∑i​Ai†​Ai​≤I in the Loewner order. The composite RA\mathcal R\mathcal ARA has decomposition {RkAi}(k,i)\{R_kA_i\}_{(k,i)}{Rk​Ai​}(k,i)​.

For a state ρ\rhoρ the paper defines the reversal operation

RA,ρ∼{ρ1/2Ai† A(ρ)−1/2}i,\mathcal R_{\mathcal A,\rho}\sim\{\rho^{1/2}A_i^\dagger\,\mathcal A(\rho)^{-1/2}\}_i,RA,ρ​∼{ρ1/2Ai†​A(ρ)−1/2}i​,

under the standing assumption that A(ρ)\mathcal A(\rho)A(ρ) has full support. Here X−1/2X^{-1/2}X−1/2 is the generalized inverse square root: invert the square roots of the non-zero eigenvalues and keep the zero eigenvalues.

Fidelities are measured by the entanglement fidelity Fe(ρ,K)=∑k∣tr⁡Kkρ∣2F_e(\rho,\mathcal K)=\sum_k|\operatorname{tr}K_k\rho|^2Fe​(ρ,K)=∑k​∣trKk​ρ∣2 of a map K∼{Kk}k\mathcal K\sim\{K_k\}_kK∼{Kk​}k​ and, for an ensemble E={pl,ρl}lE=\{p_l,\rho_l\}_lE={pl​,ρl​}l​ (weights pl≥0p_l\ge0pl​≥0 summing to one, density matrices ρl\rho_lρl​), by the average entanglement fidelity

Fˉe(E,K)=∑lplFe(ρl,K).\bar F_e(E,\mathcal K)=\sum_lp_lF_e(\rho_l,\mathcal K).Fˉe​(E,K)=l∑​pl​Fe​(ρl​,K).

When ρ=∑ipi∣i⟩⟨i∣\rho=\sum_ip_i|i\rangle\langle i|ρ=∑i​pi​∣i⟩⟨i∣ in an orthonormal eigenbasis, the classical fidelity is Fcl(ρ,K)=∑ipi⟨i∣K(∣i⟩⟨i∣)∣i⟩F_{\mathrm{cl}}(\rho,\mathcal K)=\sum_ip_i\langle i|\mathcal K(|i\rangle\langle i|)|i\rangleFcl​(ρ,K)=∑i​pi​⟨i∣K(∣i⟩⟨i∣)∣i⟩, the average entanglement fidelity of the ensemble of eigenstates.

Formalization targets

Goal: Theorem 3 (p. 7)

Let A\mathcal AA be trace-preserving, E={pl,ρl}lE=\{p_l,\rho_l\}_lE={pl​,ρl​}l​ an ensemble of pairwise commuting density matrices, ρ=∑lplρl\rho=\sum_lp_l\rho_lρ=∑l​pl​ρl​, and assume A(ρ)\mathcal A(\rho)A(ρ) has full support. Then for every trace-preserving completely positive R\mathcal RR,

Fˉe(E,RA,ρA)  ≥  Fˉe(E,RA)2.\bar F_e(E,\mathcal R_{\mathcal A,\rho}\mathcal A)\;\ge\;\bar F_e(E,\mathcal R\mathcal A)^2 .Fˉe​(E,RA,ρ​A)≥Fˉe​(E,RA)2.

Milestones

The milestones follow the paper's proof:

  1. Lemma 1 (p. 7): RA,ρ\mathcal R_{\mathcal A,\rho}RA,ρ​ depends only on the map A\mathcal AA, not on its decomposition.
  2. (14)–(15) (p. 7): after replacing RkR_kRk​ by PCRkP_CR_kPC​Rk​ (PCP_CPC​ the support projector of ρ\rhoρ), which leaves Fˉe\bar F_eFˉe​ unchanged and makes R\mathcal RR trace-nonincreasing, each Rk=ρ1/2Bk†A(ρ)−1/2R_k=\rho^{1/2}B_k^\dagger\mathcal A(\rho)^{-1/2}Rk​=ρ1/2Bk†​A(ρ)−1/2, and B(ρ)≤A(ρ)\mathcal B(\rho)\le\mathcal A(\rho)B(ρ)≤A(ρ).
  3. (28)–(32) (p. 9): ∑lpl∑i∣tr⁡ρlRilBil∣2≤∑lpl∑i,jtr⁡RilBjlρlBjl†Ril†\sum_lp_l\sum_i|\operatorname{tr}\rho_lR^l_iB^l_i|^2\le\sum_lp_l\sum_{i,j}\operatorname{tr}R^l_iB^l_j\rho_lB_j^{l\dagger}R_i^{l\dagger}∑l​pl​∑i​∣trρl​Ril​Bil​∣2≤∑l​pl​∑i,j​trRil​Bjl​ρl​Bjl†​Ril†​.
  4. (33)–(34) (p. 9): that sum equals tr⁡R(B(ρ))≤tr⁡R(A(ρ))≤1\operatorname{tr}\mathcal R(\mathcal B(\rho))\le\operatorname{tr}\mathcal R(\mathcal A(\rho))\le1trR(B(ρ))≤trR(A(ρ))≤1.

Two companions are also posed: Proposition 2, RA,ρ(A(ρ))=ρ\mathcal R_{\mathcal A,\rho}(\mathcal A(\rho))=\rhoRA,ρ​(A(ρ))=ρ, and Corollary 4, Fcl(ρ,RA)≤Fcl(ρ,RA,ρA)F_{\mathrm{cl}}(\rho,\mathcal R\mathcal A)\le\sqrt{F_{\mathrm{cl}}(\rho,\mathcal R_{\mathcal A,\rho}\mathcal A)}Fcl​(ρ,RA)≤Fcl​(ρ,RA,ρ​A)​ and Fe(ρ,RA)≤Fe(ρ,RA,ρA)F_e(\rho,\mathcal R\mathcal A)\le\sqrt{F_e(\rho,\mathcal R_{\mathcal A,\rho}\mathcal A)}Fe​(ρ,RA)≤Fe​(ρ,RA,ρ​A)​.

Significance

The result. Theorem 3 says that the error 1−Fˉe1-\bar F_e1−Fˉe​ of the reversal operation is at most twice the optimal error, since (1−η)2≥1−2η(1-\eta)^2\ge1-2\eta(1−η)2≥1−2η. It gives a closed-form recovery whose performance is within a factor two in error of the semidefinite optimum, for every noise process and every commuting ensemble. Taking the ensemble of eigenstates of ρ\rhoρ (Corollary 4) gives the same guarantee for classical information sent through a quantum channel; the companion mission (II of this series) applies the construction to state discrimination, where the reversal operation is the pretty good measurement.

Formalizing it. The result is proved on paper; none of it has a machine-checked proof that we know of. The mission asks for the full argument: the decomposition independence of the reversal map, the reduction to the support of ρ\rhoρ, the singular-value change of decomposition (17)–(18), the chain (19)–(26) of Cauchy–Schwarz inequalities, and the normalization (27)–(34). It also fixes in Lean the arXiv v2 statement (commuting ensembles), which is stronger than the published one.

Difficulty

The obvious approach is to compare RA,ρ\mathcal R_{\mathcal A,\rho}RA,ρ​ with an optimal R\mathcal RR term by term. That fails: the fidelity of RA\mathcal R\mathcal ARA is a sum of squared traces mixing the decompositions of R\mathcal RR and A\mathcal AA, and no termwise inequality relates it to the fidelity of RA,ρA\mathcal R_{\mathcal A,\rho}\mathcal ARA,ρ​A. The paper first rewrites every recovery in the shape of the reversal map, then chooses, for each ensemble member separately, new decompositions of A\mathcal AA and B\mathcal BB that diagonalize a coefficient matrix; making that choice legitimate needs the unitary freedom of Kraus decompositions, which Mathlib does not have. The commutation [ρ,ρl]=0[\rho,\rho_l]=0[ρ,ρl​]=0 is used to move fractional powers of ρ\rhoρ and ρl\rho_lρl​ past each other inside traces; without commutation the authors do not know whether the theorem holds (p. 10).

Formalization scope

  • Matrices are Matrix n n ℂ over a finite type n with decidable equality; Loewner order, square roots and functional calculus come from Mathlib (open scoped MatrixOrder). The map X↦∑iAiXAi†X\mapsto\sum_iA_iXA_i^\daggerX↦∑i​Ai​XAi†​ is the published PeresTerno.krausUpdate, referenced, not redefined.
  • Maps are unbundled Kraus families over arbitrary finite index types. The recovery R\mathcal RR in Theorem 3 ranges over every finite family with ∑kRk†Rk=I\sum_kR_k^\dagger R_k=I∑k​Rk†​Rk​=I.
  • X−1/2X^{-1/2}X−1/2 is cfc (fun x => (Real.sqrt x)⁻¹) X, the generalized inverse; Mathlib's junk matrix inverse is not used. The support projector is the functional calculus of the indicator of x≠0x\ne0x=0.
  • FeF_eFe​ is defined by the formula (8), which the paper derives from its purification definition. FclF_{\mathrm{cl}}Fcl​ takes an orthonormal eigenbasis and weights as data, with ρ=∑ipi∣i⟩⟨i∣\rho=\sum_ip_i|i\rangle\langle i|ρ=∑i​pi​∣i⟩⟨i∣ as a hypothesis.
  • Standing hypotheses, all from the paper: A\mathcal AA trace-preserving (§II's noise model); A(ρ)\mathcal A(\rho)A(ρ) positive definite (full support, p. 7); the ensemble is a probability vector of pairwise commuting density matrices with ρ=∑lplρl\rho=\sum_lp_l\rho_lρ=∑l​pl​ρl​.
  • In (34) the page prints tr⁡R(A(ρ))=1\operatorname{tr}\mathcal R(\mathcal A(\rho))=1trR(A(ρ))=1; after the replacement Rk↦PCRkR_k\mapsto P_CR_kRk​↦PC​Rk​ the map is only trace-nonincreasing, so the milestone states ≤1\le1≤1.
  • Trivializing encodings are ruled out: the reversal family is the literal formula (12) for the given A\mathcal AA and the ensemble's own ρ\rhoρ, and the fidelity of a composite map is (8) applied to the composite decomposition {RkAi}\{R_kA_i\}{Rk​Ai​}, never the right-hand side of the proof's chain.
  • Infrastructure a complete development needs, reusable beyond this mission: the unitary freedom of Kraus decompositions, the singular value decomposition of a complex square matrix, the trace Cauchy–Schwarz inequality for Hilbert–Schmidt products, and functional-calculus identities such as ρ1/2ρ−1/2=PC\rho^{1/2}\rho^{-1/2}=P_Cρ1/2ρ−1/2=PC​. Contributions of any of these as separate theorems are welcome. The pure-state, measurement form Popt2≤PPGM≤PoptP_{\mathrm{opt}}^2\le P_{\mathrm{PGM}}\le P_{\mathrm{opt}}Popt2​≤PPGM​≤Popt​ is already posed on the platform as QAlgorithms.Arunachalam.barnumKnill and is not repeated here.

Selected references

  • H. Barnum, E. Knill, Reversing quantum dynamics with near-optimal quantum and classical fidelity, arXiv:quant-ph/0004088v2. https://arxiv.org/abs/quant-ph/0004088
  • H. Barnum, E. Knill, same title, J. Math. Phys. 43, 2097 (2002). https://doi.org/10.1063/1.1459754
  • D. Petz, Sufficient subalgebras and the relative entropy of states of a von Neumann algebra, Commun. Math. Phys. 105, 123–131 (1986). https://doi.org/10.1007/BF01212345
  • D. Petz, Sufficiency of channels over von Neumann algebras, Quart. J. Math. 39, 97–108 (1988). https://doi.org/10.1093/qmath/39.1.97
  • B. Schumacher, Sending entanglement through noisy quantum channels, Phys. Rev. A 54, 2614 (1996). https://doi.org/10.1103/PhysRevA.54.2614
  • R. A. Horn, C. R. Johnson, Matrix Analysis, Cambridge University Press (1985), §7.3. https://doi.org/10.1017/CBO9780511810817
7 thms2 active usersReviewed
ProbabilityStatistics·Captain: mikedeng1

Direct Fidelity Estimation from Few Pauli Measurements 2: A Unit Vector Nearly Orthogonal to 2^{cd} Given States With Every Non-Identity Pauli Expectation ≤ √(72π³)·√(log d)/√dResearch Paper

Motivation

Quantum state tomography reconstructs an unknown ddd-dimensional quantum state from measurements on many copies of it. For nnn qubits, d=2nd = 2^nd=2n, so the number of copies a tomography procedure needs grows exponentially in nnn, and lower bounds on that number decide how far experiments can scale. In many experiments the only measurements available are Pauli measurements: each qubit is measured in the eigenbasis of one of σx,σy,σz\sigma_x, \sigma_y, \sigma_zσx​,σy​,σz​.

Flammia and Liu, Direct fidelity estimation from few Pauli measurements (arXiv:1104.4695, Phys. Rev. Lett. 106, 230501, 2011), show that the fidelity of an experimental state with a target pure state can be estimated with far fewer copies than full tomography needs. To make the comparison meaningful they also prove that full tomography of a pure state with Pauli measurements requires Ω(d2/log⁡d)\Omega(d^2/\log d)Ω(d2/logd) copies. That lower bound has two steps. The first builds a large family of nearly orthogonal pure states whose Pauli expectation values are all small, so that Pauli measurements extract little information about which state is present. Its engine is Lemma 1 of the paper (p. 7), the subject of this mission. The second step, an information-theoretic argument over a noisy classical channel, is not in scope.

Setting

Fix n≥1n \ge 1n≥1 qubits and put d=2nd = 2^nd=2n. States are unit vectors ψ∈Cd\psi \in \mathbb C^dψ∈Cd, ∥ψ∥2=1\|\psi\|_2 = 1∥ψ∥2​=1; the overlap ⟨φ∣ψ⟩=∑xφx‾ψx\langle\varphi|\psi\rangle = \sum_x \overline{\varphi_x}\psi_x⟨φ∣ψ⟩=∑x​φx​​ψx​ is conjugate-linear in φ\varphiφ.

The single-qubit Pauli matrices are III, σx\sigma_xσx​, σy\sigma_yσy​, σz\sigma_zσz​. A Pauli label k∈{0,1,2,3}nk \in \{0,1,2,3\}^nk∈{0,1,2,3}n determines the nnn-qubit Pauli operator Wk=σk1⊗⋯⊗σknW_k = \sigma_{k_1}\otimes\cdots\otimes\sigma_{k_n}Wk​=σk1​​⊗⋯⊗σkn​​ (with σ0=I\sigma_0 = Iσ0​=I). There are d2d^2d2 labels; the all-zero label gives Wk=IW_k = IWk​=I. Every WkW_kWk​ is Hermitian and unitary, so the Pauli expectation ⟨ψ∣Wk∣ψ⟩\langle\psi|W_k|\psi\rangle⟨ψ∣Wk​∣ψ⟩ is a real number in [−1,1][-1, 1][−1,1].

A Haar-random state is a vector ψ\psiψ drawn from the uniform (rotation-invariant) probability measure on the unit sphere of Cd\mathbb C^dCd, a real sphere of dimension 2d−12d - 12d−1. The constants of the lemma are

ε=9π3(log⁡2) c,τ=72π3,C1=29π3,\varepsilon = \sqrt{9\pi^3(\log 2)\,c},\qquad \tau = \sqrt{72\pi^3},\qquad C_1 = \frac{2}{9\pi^3},ε=9π3(log2)c​,τ=72π3​,C1​=9π32​,

with log⁡\loglog the natural logarithm and c>0c > 0c>0 a parameter.

Formalization targets

Goal: Lemma 1

Let φ1,…,φs∈Cd\varphi_1, \dots, \varphi_s \in \mathbb C^dφ1​,…,φs​∈Cd be states with s≤2cds \le 2^{cd}s≤2cd. Then there is a state ψ∈Cd\psi \in \mathbb C^dψ∈Cd with

∣⟨φi∣ψ⟩∣≤ε(1≤i≤s),∣⟨ψ∣Wk∣ψ⟩∣≤τlog⁡d/d(Wk≠I).|\langle\varphi_i|\psi\rangle| \le \varepsilon \quad (1 \le i \le s), \qquad |\langle\psi|W_k|\psi\rangle| \le \tau\sqrt{\log d}/\sqrt d \quad (W_k \ne I).∣⟨φi​∣ψ⟩∣≤ε(1≤i≤s),∣⟨ψ∣Wk​∣ψ⟩∣≤τlogd​/d​(Wk​=I).

These are (31) and (32) of the paper. The goal is an existence statement with no measure in it.

Milestones (all p. 7)

  1. (33): for a state φ\varphiφ, ∣⟨φ∣ψ⟩−⟨φ∣ψ′⟩∣≤∥ψ−ψ′∥2|\langle\varphi|\psi\rangle - \langle\varphi|\psi'\rangle| \le \|\psi - \psi'\|_2∣⟨φ∣ψ⟩−⟨φ∣ψ′⟩∣≤∥ψ−ψ′∥2​.
  2. E⟨φ∣ψ⟩=0\mathbb E\langle\varphi|\psi\rangle = 0E⟨φ∣ψ⟩=0 for Haar-random ψ\psiψ.
  3. (34): Pr⁡[∣⟨φ∣ψ⟩∣≥ε]≤4exp⁡(−C1dε2/η2)\Pr[|\langle\varphi|\psi\rangle| \ge \varepsilon] \le 4\exp(-C_1 d\varepsilon^2/\eta^2)Pr[∣⟨φ∣ψ⟩∣≥ε]≤4exp(−C1​dε2/η2) with η=1\eta = 1η=1.
  4. (35): Pr⁡[(31) fails for some i]≤4exp⁡(cdlog⁡2−C1dε2)=4⋅2−cd\Pr[(31)\text{ fails for some } i] \le 4\exp(cd\log 2 - C_1 d\varepsilon^2) = 4\cdot 2^{-cd}Pr[(31) fails for some i]≤4exp(cdlog2−C1​dε2)=4⋅2−cd.
  5. (36): on unit vectors, ∣⟨ψ∣Wk∣ψ⟩−⟨ψ′∣Wk∣ψ′⟩∣≤2∥ψ−ψ′∥2|\langle\psi|W_k|\psi\rangle - \langle\psi'|W_k|\psi'\rangle| \le 2\|\psi - \psi'\|_2∣⟨ψ∣Wk​∣ψ⟩−⟨ψ′∣Wk​∣ψ′⟩∣≤2∥ψ−ψ′∥2​.
  6. E⟨ψ∣Wk∣ψ⟩=0\mathbb E\langle\psi|W_k|\psi\rangle = 0E⟨ψ∣Wk​∣ψ⟩=0 for Wk≠IW_k \ne IWk​=I.
  7. (37): Pr⁡[∣⟨ψ∣Wk∣ψ⟩∣≥τlog⁡d/d]≤4exp⁡(−C1τ2(log⁡d)/η2)\Pr[|\langle\psi|W_k|\psi\rangle| \ge \tau\sqrt{\log d}/\sqrt d] \le 4\exp(-C_1\tau^2(\log d)/\eta^2)Pr[∣⟨ψ∣Wk​∣ψ⟩∣≥τlogd​/d​]≤4exp(−C1​τ2(logd)/η2) with η=2\eta = 2η=2.
  8. (38): Pr⁡[(32) fails for some k]≤4exp⁡(2log⁡d−C1τ2(log⁡d)/4)=4/d2\Pr[(32)\text{ fails for some } k] \le 4\exp(2\log d - C_1\tau^2(\log d)/4) = 4/d^2Pr[(32) fails for some k]≤4exp(2logd−C1​τ2(logd)/4)=4/d2.

Every constant is the paper's; none is replaced by an unspecified absolute constant.

Significance

The result. Lemma 1 is a packing statement: applied repeatedly, it yields 2Ω(d)2^{\Omega(d)}2Ω(d) states that are pairwise almost orthogonal and whose non-identity Pauli expectations are all O(log⁡d/d)O(\sqrt{\log d/d})O(logd/d​). Such states are hard to tell apart with Pauli measurements, since each measurement outcome is nearly unbiased. The paper converts this into the Ω(d2/log⁡d)\Omega(d^2/\log d)Ω(d2/logd) copy lower bound for full tomography with Pauli measurements (pp. 3, 7–8). Since direct fidelity estimation of an arbitrary pure state uses O(d)O(d)O(d) copies (for fixed accuracy and failure probability), the lower bound is what shows that the scheme beats tomography followed by a fidelity computation by a factor of about ddd.

Formalizing it. The lemma and its proof are published, but none of it is machine-checked: Mathlib has no Pauli operators, no concentration of measure on spheres with explicit constants, and no Levy lemma. A formal proof needs a concentration inequality on the complex unit sphere with the explicit constant C1=2/(9π3)C_1 = 2/(9\pi^3)C1​=2/(9π3) (or any sharper one), the vanishing of the means by symmetry, and the union bounds. Each milestone is a reusable fact about Haar-random states.

Difficulty

The two union bounds (35) and (38) and the Lipschitz estimates (33) and (36) are elementary. The central difficulty is the tail bounds (34) and (37). The paper obtains them from Levy's lemma, which it cites (P. Lévy, 1951) and does not prove; Levy's lemma rests on the isoperimetric inequality on the sphere, which Mathlib does not have, and (37) concerns a quadratic form of ψ\psiψ rather than a linear one. Both tail bounds also need a working theory of the uniform measure on the complex unit sphere (rotation invariance, the distribution of a coordinate), little of which exists in Lean today.

A second difficulty is that the printed proof does not cover every parameter. The union bound produces a good ψ\psiψ only when 4⋅2−cd+4/d2<14\cdot 2^{-cd} + 4/d^2 < 14⋅2−cd+4/d2<1. For small ddd, or small ccc with few given states, the goal is still true, but a complete proof must handle those cases separately; they are not in the paper.

Formalization scope

  • Representation. Basis labels are Q n = Fin n → Fin 2, Pauli labels P n = Fin n → Fin 4, states live in EuclideanSpace ℂ (Q n), and WkW_kWk​ is the entrywise product of single-qubit Pauli matrices (the Kronecker product). ddd is the real number 2n2^n2n; log⁡\loglog is Real.log; ⟨φ|ψ⟩ is Mathlib's inner ℂ φ ψ.
  • Measure. The uniform measure on the sphere is Mathlib's Measure.toSphere of an additive Haar measure on Cd\mathbb C^dCd (as a real vector space), normalised to total mass one. The paper's "Haar-random vector in Sd−1S^{d-1}Sd−1" is read as this measure on the unit sphere of Cd\mathbb C^dCd.
  • Added hypotheses, all disclosed. The goal assumes n≥1n \ge 1n≥1: at n=0n = 0n=0 (d=1d = 1d=1) and small ccc the lemma is false, since every unit vector of C1\mathbb C^1C1 has overlap 111 with φ1\varphi_1φ1​. It assumes c>0c > 0c>0, under which ε\varepsilonε is defined. "States" means unit vectors, for the given φi\varphi_iφi​ and for the produced ψ\psiψ. The mean-zero statement for Pauli operators assumes Wk≠IW_k \ne IWk​=I (for Wk=IW_k = IWk​=I the mean is 111); the paper's "for each kkk" refers to the non-identity labels of (32). "Wk≠IW_k \ne IWk​=I" is formalized as "the label kkk is not all zeros".
  • Non-trivialization. The produced ψ\psiψ must be a unit vector, so ψ=0\psi = 0ψ=0 does not satisfy the goal; the given states are unit vectors, so (31) is not trivially false; and the mean-zero milestones assert integrability together with the value of the integral, so they cannot hold merely because a non-integrable integral is 000.
  • Infrastructure needed. Facts about nnn-qubit Pauli operators (Hermitian, unitary, traceless for Wk≠IW_k \ne IWk​=I); rotation invariance of the normalised sphere measure; a concentration inequality for Lipschitz functions on the complex unit sphere with an explicit constant. The concentration inequality and the sphere-measure facts are reusable well beyond this mission and are welcome as separate contributions.

Selected references

  • S. T. Flammia and Y.-K. Liu, Direct fidelity estimation from few Pauli measurements, Phys. Rev. Lett. 106, 230501 (2011); arXiv:1104.4695v3. https://arxiv.org/abs/1104.4695
  • P. Lévy, Problèmes concrets d'analyse fonctionnelle, Gauthier-Villars, Paris, 1951 (reference [10] of the paper; no stable online link).
  • M. Ledoux, The Concentration of Measure Phenomenon, Mathematical Surveys and Monographs 89, AMS, 2001. https://doi.org/10.1090/surv/089
  • P. Hayden, D. W. Leung and A. Winter, Aspects of generic entanglement, Comm. Math. Phys. 265, 95–117 (2006); arXiv:quant-ph/0407049. https://arxiv.org/abs/quant-ph/0407049
11 thms2 active usersReviewed
Graph TheoryOptimization·Captain: mikedeng1

A Quantum Approximate Optimization Algorithm II: On v-Regular Graphs the Variance of the Cut Value in the QAOA State Is at Most 2((v−1)^(2p+2)−1)/(v−2) Times the Number of EdgesResearch Paper

Motivation

The Quantum Approximate Optimization Algorithm (QAOA) of Farhi, Goldstone and Gutmann (arXiv:1411.4028, 2014) is a family of shallow quantum circuits for combinatorial optimization, indexed by a depth ppp and 2p2p2p real angles. It has become one of the standard candidate algorithms for near-term quantum hardware, and its MaxCut instance is the usual benchmark on which it is analysed.

The algorithm is run by preparing a quantum state, measuring it in the computational basis to obtain a bit string zzz, and evaluating the classical objective C(z)C(z)C(z). Its analysis in the paper bounds the mean FpF_pFp​ of C(z)C(z)C(z). A mean alone does not say what a single run returns. Section III of the paper supplies the missing piece for MaxCut on bounded-degree graphs: the variance of C(z)C(z)C(z) grows at most linearly in the number of edges, so the measured cut values are concentrated around FpF_pFp​ and a modest number of repetitions reproduces the mean. This mission formalizes that variance bound, equation (30) of the paper, together with the locality and counting facts it rests on.

Setting

Let GGG be a simple graph on vertices {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1} with edge set {⟨jk⟩}\{\langle jk\rangle\}{⟨jk⟩} of size mmm, each edge listed once. Vertices are qubits; a computational basis state is a bit string z∈{0,1}nz\in\{0,1\}^nz∈{0,1}n.

  • The clause operator of an edge is C⟨jk⟩=12(−σjzσkz+1)C_{\langle jk\rangle}=\tfrac12(-\sigma^z_j\sigma^z_k+1)C⟨jk⟩​=21​(−σjz​σkz​+1). It is diagonal: C⟨jk⟩(z)=1C_{\langle jk\rangle}(z)=1C⟨jk⟩​(z)=1 if zj≠zkz_j\ne z_kzj​=zk​ and 000 otherwise.
  • The MaxCut objective is C=∑⟨jk⟩C⟨jk⟩C=\sum_{\langle jk\rangle}C_{\langle jk\rangle}C=∑⟨jk⟩​C⟨jk⟩​; C(z)C(z)C(z) is the number of edges cut by zzz.
  • The mixer is B=∑jσjxB=\sum_j\sigma^x_jB=∑j​σjx​, and U(C,γ)=e−iγCU(C,\gamma)=e^{-i\gamma C}U(C,γ)=e−iγC, U(B,β)=e−iβBU(B,\beta)=e^{-i\beta B}U(B,β)=e−iβB.
  • The initial state is ∣s⟩=2−n/2∑z∣z⟩|s\rangle=2^{-n/2}\sum_z|z\rangle∣s⟩=2−n/2∑z​∣z⟩.
  • For p≥1p\ge1p≥1 and angles γ=(γ1,…,γp)\boldsymbol\gamma=(\gamma_1,\dots,\gamma_p)γ=(γ1​,…,γp​), β=(β1,…,βp)\boldsymbol\beta=(\beta_1,\dots,\beta_p)β=(β1​,…,βp​), the QAOA state is
∣γ,β⟩=U(B,βp) U(C,γp)⋯U(B,β1) U(C,γ1) ∣s⟩.|\boldsymbol\gamma,\boldsymbol\beta\rangle=U(B,\beta_p)\,U(C,\gamma_p)\cdots U(B,\beta_1)\,U(C,\gamma_1)\,|s\rangle .∣γ,β⟩=U(B,βp​)U(C,γp​)⋯U(B,β1​)U(C,γ1​)∣s⟩.
  • Measuring it gives zzz with probability P(z)=∣⟨z∣γ,β⟩∣2P(z)=|\langle z|\boldsymbol\gamma,\boldsymbol\beta\rangle|^2P(z)=∣⟨z∣γ,β⟩∣2. The mean is Fp(γ,β)=⟨γ,β∣C∣γ,β⟩=∑zP(z)C(z)F_p(\boldsymbol\gamma,\boldsymbol\beta)=\langle\boldsymbol\gamma,\boldsymbol\beta|C|\boldsymbol\gamma,\boldsymbol\beta\rangle=\sum_zP(z)C(z)Fp​(γ,β)=⟨γ,β∣C∣γ,β⟩=∑z​P(z)C(z) and the variance is
⟨γ,β∣C2∣γ,β⟩−⟨γ,β∣C∣γ,β⟩2.\langle\boldsymbol\gamma,\boldsymbol\beta|C^2|\boldsymbol\gamma,\boldsymbol\beta\rangle-\langle\boldsymbol\gamma,\boldsymbol\beta|C|\boldsymbol\gamma,\boldsymbol\beta\rangle^2 .⟨γ,β∣C2∣γ,β⟩−⟨γ,β∣C∣γ,β⟩2.
  • The light cone (the paper's subgraph g(j,k)g(j,k)g(j,k)) of an edge is the set of qubits at graph distance at most ppp from jjj or from kkk.

In Lean these are edgeCut, cutValue, qaoaState, expectCut and edgeTerm in the shared FarhiQAOA.Cubic setting, and edgePairs, cutVariance, edgePairTerm, edgeCov and lightCone in FarhiQAOA.Concentration, all built on the published QAlgorithms definitions of qubit registers, measurement probabilities, the uniform superposition, the problem Hamiltonian and the QAOA unitary.

Formalization targets

Goal: the variance bound (30)

For a vvv-regular graph with v≥3v\ge3v≥3, every depth p≥1p\ge1p≥1 and all real angles,

⟨γ,β∣C2∣γ,β⟩−⟨γ,β∣C∣γ,β⟩2≤2[(v−1)2p+2−1(v−1)−1]⋅m.\langle\boldsymbol\gamma,\boldsymbol\beta|C^2|\boldsymbol\gamma,\boldsymbol\beta\rangle-\langle\boldsymbol\gamma,\boldsymbol\beta|C|\boldsymbol\gamma,\boldsymbol\beta\rangle^2\le2\left[\frac{(v-1)^{2p+2}-1}{(v-1)-1}\right]\cdot m .⟨γ,β∣C2∣γ,β⟩−⟨γ,β∣C∣γ,β⟩2≤2[(v−1)−1(v−1)2p+2−1​]⋅m.

The constant is the paper's, as printed.

Milestones

  1. (27)–(28). The variance is the double sum, over ordered pairs of edges, of the covariances ⟨C⟨jk⟩C⟨j′k′⟩⟩−⟨C⟨jk⟩⟩⟨C⟨j′k′⟩⟩\langle C_{\langle jk\rangle}C_{\langle j'k'\rangle}\rangle-\langle C_{\langle jk\rangle}\rangle\langle C_{\langle j'k'\rangle}\rangle⟨C⟨jk⟩​C⟨j′k′⟩​⟩−⟨C⟨jk⟩​⟩⟨C⟨j′k′⟩​⟩.
  2. Disjoint light cones. If g(j,k)g(j,k)g(j,k) and g(j′,k′)g(j',k')g(j′,k′) share no qubit, the covariance of the two edges is 000.
  3. (26). For maximum degree v≥3v\ge3v≥3, ∣g(j,k)∣≤2[((v−1)p+1−1)/((v−1)−1)]|g(j,k)|\le2\big[((v-1)^{p+1}-1)/((v-1)-1)\big]∣g(j,k)∣≤2[((v−1)p+1−1)/((v−1)−1)].
  4. (29). For maximum degree v≥3v\ge3v≥3, at most 2[((v−1)2p+2−1)/((v−1)−1)]2\big[((v-1)^{2p+2}-1)/((v-1)-1)\big]2[((v−1)2p+2−1)/((v−1)−1)] edges ⟨j′k′⟩\langle j'k'\rangle⟨j′k′⟩ have g(j′,k′)g(j',k')g(j′,k′) meeting g(j,k)g(j,k)g(j,k).
  5. Summand bound. Each covariance is at most 111 in absolute value.

Companions, printed in the paper for v=2v=2v=2: ∣g(j,k)∣≤2p+2|g(j,k)|\le2p+2∣g(j,k)∣≤2p+2 and at most 4p+44p+44p+4 meeting edges.

Significance

The result. For fixed vvv and ppp the bound makes the standard deviation of the cut value O(m)O(\sqrt m)O(m​), while the mean is of order mmm. The algorithm's output is therefore concentrated: a single measurement already returns a cut close to FpF_pFp​ in relative terms, and the paper uses this to argue that the sample mean of polynomially many runs estimates FpF_pFp​ within 111. The same locality structure, that each edge term depends only on a bounded neighbourhood, is what makes FpF_pFp​ classically computable for fixed ppp and underlies later analyses of QAOA on bounded-degree and random regular graphs.

Formalizing it. The bound is proved in the paper in a few lines; none of it is machine-checked. A formal proof has to make the paper's operator locality argument precise (the conjugated clause operator is supported on the light cone, and the initial state is a product state), connect it to the computational-basis probabilities, and carry out the graph counting with explicit constants. The resulting locality lemma for QAOA circuits on graphs is reusable for any statement about QAOA at fixed depth.

Difficulty

The algebra of (28) and the bound by 111 are routine. The substance is in two places.

The vanishing of a covariance requires showing that U†C⟨jk⟩UU^\dagger C_{\langle jk\rangle}UU†C⟨jk⟩​U, for the full depth-ppp QAOA unitary UUU, acts only on the qubits of g(j,k)g(j,k)g(j,k), and that for two operators acting on disjoint sets of qubits the expectation in the product state ∣s⟩|s\rangle∣s⟩ factorizes. Both are statements about operators on (C2)⊗n(\mathbb C^2)^{\otimes n}(C2)⊗n, whereas the objects in the statement are probabilities of computational basis states; the formal proof must pass between the two. Matrix exponentials of commuting sums have to be split into commuting factors, which in Lean means working with NormedSpace.exp on matrices indexed by bit strings.

The counting (26) and (29) is a ball-growth bound in a graph of bounded degree. The paper's count, via (26) with ppp replaced by 2p+12p+12p+1, bounds vertices, while (29) counts edges; the passage between the two, and the extended graph distance on disconnected graphs, must be made exact with the printed constant.

Formalization scope

  • Qubits are indexed by Fin n, bit strings are Fin n → Bool with true the bit 111, and states live in EuclideanSpace ℂ (Fin n → Bool).
  • All expectations are sums ∑zP(z) f(z)\sum_zP(z)\,f(z)∑z​P(z)f(z) over the computational basis. This equals the operator expectation in the paper because every operator involved is diagonal.
  • Each edge is counted once (pairs j<kj<kj<k), in mmm, in CCC, in the double sum of (28) and in the count (29).
  • Graph distance is the extended distance SimpleGraph.edist (+∞+\infty+∞ between components).
  • The goal is stated for vvv-regular graphs with v≥3v\ge3v≥3, the domain of the printed formula. The milestones (26) and (29) assume only maximum degree ≤v\le v≤v, as printed there.
  • The angles range over all of Rp\mathbb R^pRp. The paper restricts them to [0,2π][0,2\pi][0,2π] and [0,π][0,\pi][0,π] by periodicity; the bound does not depend on that restriction.
  • The QAOA state is the state itself, not an arbitrary vector: normalisation of the measurement probabilities follows from unitarity and is part of what must be proved.

A variance defined with two different states, or a probability vector that is not normalised, would make the goal vacuous or false; the definitions use the single state ∣γ,β⟩|\boldsymbol\gamma,\boldsymbol\beta\rangle∣γ,β⟩ throughout.

Out of scope: the O(m)O(\sqrt m)O(m​) standard-deviation reading and the sampling claim after (30), which carry no explicit constant; the measurement-and-repetition procedure, running time, circuit depth and the classical search for the angles.

Welcome contributions: a general light-cone lemma for conjugation by products of exponentials of local Hamiltonians on qubits; factorization of product-state expectations over disjoint qubit sets; ball-size bounds in graphs of bounded degree.

Selected references

  • E. Farhi, J. Goldstone, S. Gutmann, A Quantum Approximate Optimization Algorithm, arXiv preprint, 2014. https://arxiv.org/abs/1411.4028 (v1; Section III, pp. 6–7)
  • E. Farhi, J. Goldstone, S. Gutmann, M. Sipser, Quantum Computation by Adiabatic Evolution, arXiv preprint, 2000. https://arxiv.org/abs/quant-ph/0001106
14 thms2 active usersReviewed
Linear algebra·Captain: mikedeng1

Improvements in Quantum SDP-Solving with Applications 1: A Unitary Preparing a Purification of a Subnormalized Density Operator ϱ Gives an Exact (1, w+a+1, 0)-Block-Encoding of ϱResearch Paper

Motivation

Quantum algorithms for semidefinite programming need a way to use an input matrix inside a quantum circuit. In the quantum state input model, an oracle prepares a purification of a density operator. In the quantum operator input model, a unitary instead exposes that operator as a block of a larger unitary. The two kinds of access serve different subroutines. Lemma 12 of van Apeldoorn and Gilyén’s 2018 preprint connects them for a subnormalized density operator. The same paper uses this connection when comparing its input models for quantum SDP solving.

The result concerns a precise finite-dimensional construction. It matters even without the paper’s query-complexity estimates: it specifies which registers must be present, what happens to probability mass outside the accepted flag state, and which block of the resulting unitary equals the desired operator. These details are easy to lose when a statement is shortened to “purification gives a block-encoding.”

Setting

A w-qubit register has basis labels in {0,1}w\{0,1\}^{w}{0,1}w. A subnormalized density operator ϱ\varrhoϱ on that register is a positive semidefinite complex matrix with Tr⁡ϱ≤1\operatorname{Tr}\varrho\leq1Trϱ≤1. Its trace may be strictly below one. A purification is a unit vector ∣φ⟩|\varphi\rangle∣φ⟩ on three registers: the w-qubit system, one flag qubit, and a c-qubit junk register. The operator ϱ\varrhoϱ is the flag-zero block after tracing out the junk. In entries,

ϱij=∑t∈{0,1}cφi,0,t φj,0,t‾.\varrho_{ij}=\sum_{t\in\{0,1\}^{c}}\varphi_{i,0,t}\,\overline{\varphi_{j,0,t}}.ϱij​=t∈{0,1}c∑​φi,0,t​φj,0,t​​.

Thus probability in the flag-one branch does not contribute to ϱ\varrhoϱ. Let a=c+1a=c+1a=c+1, so a unitary GGG preparing ∣φ⟩|\varphi\rangle∣φ⟩ acts on w+aw+aw+a qubits and ∣φ⟩=G∣0⟩⊗(w+a)|\varphi\rangle=G|0\rangle^{\otimes(w+a)}∣φ⟩=G∣0⟩⊗(w+a). The result adds an initial w-qubit system and one extra qubit. Its register swap SSS exchanges the initial (system,extra)(\text{system},\text{extra})(system,extra) register with the (prepared system,flag)(\text{prepared system},\text{flag})(prepared system,flag) register and leaves the c junk qubits fixed. The construction is

V=(I2w+1⊗G†)S(I2w+1⊗G).V=(I_{2^{w+1}}\otimes G^{\dagger})S(I_{2^{w+1}}\otimes G).V=(I2w+1​⊗G†)S(I2w+1​⊗G).

A (α,k,ε)(\alpha,k,\varepsilon)(α,k,ε) block-encoding of an operator AAA is a unitary on the system and k ancilla qubits whose all-zero ancilla block differs from A/αA/\alphaA/α in operator norm by at most ε/α\varepsilon/\alphaε/α. Here the scale is one and the error is zero. The block of VVV is taken at the all-zero state of the extra qubit and the entire register of GGG.

Formalization targets

The goal is Lemma 12 with the ancilla count given by its displayed construction:

∥ϱ−(I2w⊗⟨0∣⊗(w+a+1))V(I2w⊗∣0⟩⊗(w+a+1))∥=0.\left\|\varrho-(I_{2^w}\otimes\langle0|^{\otimes(w+a+1)})V (I_{2^w}\otimes|0\rangle^{\otimes(w+a+1)})\right\|=0.​ϱ−(I2w​⊗⟨0∣⊗(w+a+1))V(I2w​⊗∣0⟩⊗(w+a+1))​=0.

The target includes that VVV is unitary, making it an exact (1,w+a+1,0)(1,w+a+1,0)(1,w+a+1,0) block-encoding of ϱ\varrhoϱ. The theorem identifies VVV explicitly, so its use of one GGG and one G†G^{\dagger}G† is part of the construction. The source’s Lemma 12 prints (1,w+a,0)(1,w+a,0)(1,w+a,0), while its proof says VVV has 2w+a+12w+a+12w+a+1 qubits and takes the block at 1+w+a1+w+a1+w+a ancillas. This mission uses the proof’s consistent count and labels the correction. The four milestones follow the proof’s stated steps: unitarity of VVV, identification of its zero block, elimination of the flag-one component, and equality of the remaining SWAP sandwich with ϱ\varrhoϱ.

Significance

The exact identity shows that a state-preparation unitary can be used where the paper’s quantum operator model expects a block-encoding. It also covers genuinely subnormalized operators, for which a normalized-state argument is insufficient: a preparation may have nonzero amplitude in the flag-one branch even though only the flag-zero branch defines ϱ\varrhoϱ. The explicit ancilla count prevents such lost probability mass from being silently included in the output block.

Formalizing this known result gives a reusable interface between a purification predicate and a block-encoding predicate. The mission statement is open on Prove2Me; the paper’s mathematical argument is known. A related open block-encoding statement in Nannicini’s treatment concerns a normalized density matrix and a circuit-level construction with a different ancilla arrangement. It does not state this paper’s subnormalized, flag-qubit identity. The finite-register definitions and SWAP identities can be reused by later matrix-level quantum algorithms, whether or not the paper’s larger complexity bounds are formalized.

Difficulty

The first apparent shortcut is to use the ordinary purification identity without the flag qubit. That recovers the trace over both flag outcomes, which can have trace one even when Tr⁡ϱ<1\operatorname{Tr}\varrho<1Trϱ<1. The required block must select flag zero. A second source of error is register order: the paper displays the system first, while the existing Lean block-encoding predicate places the ancilla register first. Equality of matrix blocks depends on the explicit reindexing. Complex conjugation also matters: swapping the vector and covector amplitudes would produce a transpose of ϱ\varrhoϱ instead of ϱ\varrhoϱ for complex states.

Formalization scope

The Lean system register is QAlgorithms.Qubits w; the flag and extra register are each Bool; and the junk is QAlgorithms.Qubits c. The identity a=c+1a=c+1a=c+1 makes the flag register present even at c=0c=0c=0. The all-zero state is the all-false basis label. Matrices are over C\mathbb CC, tensor products are matrix Kronecker products, and SSS is a permutation matrix fixing the junk. The paper’s printed identity factor beside the swap has size 2a2^a2a; the consistent factor is 2a−1=2c2^{a-1}=2^c2a−1=2c, since the swap already acts on two w+1w+1w+1-qubit registers.

The referenced QAlgorithms.IsBlockEncoding definition includes unitarity and measures error with the operator norm. Lean reindexes VVV to put its (extra,prepared system,flag,junk)(\text{extra},\text{prepared system},\text{flag},\text{junk})(extra,prepared system,flag,junk) ancilla first. The theorem requires GGG unitary, ϱ\varrhoϱ subnormalized, and the exact purification relation between G∣0⟩G|0\rangleG∣0⟩ and ϱ\varrhoϱ. The purification relation prevents a vacuous claim about an unrelated matrix. The optional quantum gate-count clause of the printed lemma is outside this matrix-level formalization; the register swap is explicitly the swap of w+1w+1w+1 qubit pairs. A circuit-level gate-count theorem would require an additional gate-list representation.

The needed reusable components are finite complex matrices, unitary permutation matrices, Kronecker products, partial traces, and the operator norm. Contributions can address the four milestone identities, the main theorem, or a circuit-level refinement of the gate count. None of the statements introduces the proof’s Schmidt decomposition as an assumption.

Selected references

  • J. van Apeldoorn and A. Gilyén, Improvements in Quantum SDP-Solving with Applications, arXiv preprint, 2018, arXiv:1804.05058v1, Definition 1 (p. 3), Definition 2 (p. 4), Lemma 12 and proof (pp. 15–16).
  • G. Nannicini, Quantum Algorithms for Optimizers, arXiv preprint, 2024, arXiv:2408.07086, Definition 7.11 and the normalized density-matrix construction.
8 thms2 active usersReviewed
Linear algebra·Captain: mikedeng1

Improvements in Quantum SDP-Solving with Applications 2: A Two-Outcome Measurement Implemented With Bias ε Gives a (1, a+1, ε)-Block-Encoding of Its POVM Element MResearch Paper

Motivation

Many recent quantum algorithms for linear algebra and optimization take their input as a block-encoding: a unitary circuit whose top-left block, after projecting a set of ancilla qubits onto ∣0⟩|0\rangle∣0⟩, approximates the matrix of interest. The quantum semidefinite-programming solver of van Apeldoorn and Gilyén (arXiv:1804.05058) introduces the quantum operator model, in which every constraint matrix of the SDP is given this way (Definition 2, p. 4). Block-encodings are also the input format of quantum singular value transformation and of Hamiltonian simulation by qubitization (Low and Chuang, arXiv:1610.06546).

A natural question is where block-encodings come from in applications. In §4.1, on shadow tomography, the constraint matrices are the elements EjE_jEj​ of two-outcome measurements, and what a user can do is perform those measurements, not write down their matrices. The closing remark of §4.1 (pp. 24–25) answers the question for that setting: if a two-outcome measurement can be implemented on a quantum computer with small bias, then a block-encoding of its measurement operator can be built from the same circuit with one extra qubit and one CNOT gate. The remark is credited to the same observation by Low and Chuang (arXiv:1707.05391).

Setting

A two-outcome POVM on a finite-dimensional system is a pair {M,I−M}\{M, I - M\}{M,I−M} of operators with MMM and I−MI - MI−M positive semidefinite. A mixed state (density matrix) is a positive semidefinite operator ρ\rhoρ with Tr⁡ρ=1\operatorname{Tr}\rho = 1Trρ=1; outcome MMM occurs with probability Tr⁡(Mρ)\operatorname{Tr}(M\rho)Tr(Mρ).

An implementation of the measurement on a quantum computer, as the paper fixes it, takes the input ρ\rhoρ, attaches aaa ancilla qubits in the state ∣0⟩⊗a|0\rangle^{\otimes a}∣0⟩⊗a, applies a unitary UUU to system and ancillas, measures in the computational basis, and accepts when the last qubit reads ∣0⟩|0\rangle∣0⟩:

ρ→ρ⊗∣0⟩⟨0∣⊗a→U(ρ⊗∣0⟩⟨0∣⊗a)U†→Tr⁡((I⊗∣0⟩⟨0∣) U(ρ⊗∣0⟩⟨0∣⊗a)U†).\rho \to \rho\otimes|0\rangle\langle 0|^{\otimes a} \to U\big(\rho\otimes|0\rangle\langle 0|^{\otimes a}\big)U^\dagger \to \operatorname{Tr}\Big((I\otimes|0\rangle\langle 0|)\,U\big(\rho\otimes|0\rangle\langle 0|^{\otimes a}\big)U^\dagger\Big).ρ→ρ⊗∣0⟩⟨0∣⊗a→U(ρ⊗∣0⟩⟨0∣⊗a)U†→Tr((I⊗∣0⟩⟨0∣)U(ρ⊗∣0⟩⟨0∣⊗a)U†).

The implementation has bias at most ε\varepsilonε if, for every state ρ\rhoρ,

∣Tr⁡((I⊗∣0⟩⟨0∣) U(ρ⊗∣0⟩⟨0∣⊗a)U†)−Tr⁡(Mρ)∣≤ε.(14)\Big|\operatorname{Tr}\Big((I\otimes|0\rangle\langle 0|)\,U\big(\rho\otimes|0\rangle\langle 0|^{\otimes a}\big)U^\dagger\Big) - \operatorname{Tr}(M\rho)\Big| \le \varepsilon. \qquad (14)​Tr((I⊗∣0⟩⟨0∣)U(ρ⊗∣0⟩⟨0∣⊗a)U†)−Tr(Mρ)​≤ε.(14)

Write K=(I⊗⟨0∣⊗a) U†(I⊗∣0⟩⟨0∣)U (I⊗∣0⟩⊗a)K = (I\otimes\langle 0|^{\otimes a})\,U^\dagger(I\otimes|0\rangle\langle 0|)U\,(I\otimes|0\rangle^{\otimes a})K=(I⊗⟨0∣⊗a)U†(I⊗∣0⟩⟨0∣)U(I⊗∣0⟩⊗a), an operator on the system. A unitary VVV on a′a'a′ ancilla qubits and the system is an (α,a′,ε)(\alpha, a', \varepsilon)(α,a′,ε)-block-encoding of AAA (Definition 2) if ∥A−α(⟨0∣⊗a′⊗I)V(∣0⟩⊗a′⊗I)∥≤ε\|A - \alpha(\langle 0|^{\otimes a'}\otimes I)V(|0\rangle^{\otimes a'}\otimes I)\| \le \varepsilon∥A−α(⟨0∣⊗a′⊗I)V(∣0⟩⊗a′⊗I)∥≤ε in the operator norm. Finally U′=U⊗I2U' = U\otimes I_2U′=U⊗I2​ adds one fresh qubit, and I⊗CNOTI\otimes\mathrm{CNOT}I⊗CNOT is a CNOT gate whose control is the measured qubit and whose target is the fresh qubit.

Formalization targets

Goal (§4.1, p. 25)

(14)  ⟹  U′†(I⊗CNOT)U′ is a (1, a+1, ε)-block-encoding of M.\text{(14)} \;\Longrightarrow\; U'^\dagger(I\otimes\mathrm{CNOT})U' \text{ is a } (1,\ a+1,\ \varepsilon)\text{-block-encoding of } M .(14)⟹U′†(I⊗CNOT)U′ is a (1, a+1, ε)-block-encoding of M.

The subnormalization is 111, the ancilla count is a′=a+1a' = a + 1a′=a+1 and the error is the same ε\varepsilonε as the bias; none of these is weakened.

Milestones (all p. 25, in the order of the derivation)

  1. The trace identity: ρ⊗∣0⟩⟨0∣⊗a=(I⊗∣0⟩⊗a)ρ(I⊗⟨0∣⊗a)\rho\otimes|0\rangle\langle 0|^{\otimes a} = (I\otimes|0\rangle^{\otimes a})\rho(I\otimes\langle 0|^{\otimes a})ρ⊗∣0⟩⟨0∣⊗a=(I⊗∣0⟩⊗a)ρ(I⊗⟨0∣⊗a), hence the acceptance probability equals Tr⁡(Kρ)\operatorname{Tr}(K\rho)Tr(Kρ).
  2. The equivalence ∀ρ: ∣Tr⁡([K−M]ρ)∣≤ε  ⟺  ∥K−M∥≤ε\forall\rho:\ |\operatorname{Tr}([K - M]\rho)| \le \varepsilon \iff \|K - M\| \le \varepsilon∀ρ: ∣Tr([K−M]ρ)∣≤ε⟺∥K−M∥≤ε, with ρ\rhoρ over density matrices.
  3. The CNOT identity K=(I⊗⟨0∣⊗a′) U′†(I⊗CNOT)U′ (I⊗∣0⟩⊗a′)K = (I\otimes\langle 0|^{\otimes a'})\,U'^\dagger(I\otimes\mathrm{CNOT})U'\,(I\otimes|0\rangle^{\otimes a'})K=(I⊗⟨0∣⊗a′)U′†(I⊗CNOT)U′(I⊗∣0⟩⊗a′).

Significance

The result. It converts an operational primitive, performing a measurement, into the input format that block-encoding algorithms consume, with an additive error equal to the measurement's bias and at the cost of one qubit and one CNOT. In the paper it is what makes the shadow-tomography application of §4.1 meaningful: the cost of the SDP solver is stated in terms of block-encodings of the EjE_jEj​, and this remark lets one replace that by the cost of controlled implementations of the measurements. More generally it shows that the quantum operator model is no stronger than the ability to measure.

Formalizing it. The paper proves the remark in a few displayed lines, one of which ("it is easy to see") is left to the reader and whose CNOT direction is not printed. No machine-checked version exists. A formal proof fixes the register conventions, makes the direction of the CNOT explicit, and contributes a reusable fact about matrices: for a Hermitian XXX, sup⁡ρ∣Tr⁡(Xρ)∣=∥X∥\sup_\rho |\operatorname{Tr}(X\rho)| = \|X\|supρ​∣Tr(Xρ)∣=∥X∥ over density matrices. The block-encoding predicate itself is already published on the platform and is reused.

Difficulty

The algebra of milestones 1 and 3 is bookkeeping over tensor-product index sets, and the main cost there is choosing representations that make the registers line up.

The one step with mathematical content is the direction "⇒\Rightarrow⇒" of milestone 2. The bias condition controls ∣Tr⁡(Xρ)∣|\operatorname{Tr}(X\rho)|∣Tr(Xρ)∣ only for density matrices ρ\rhoρ, that is, it bounds the numerical radius of X=K−MX = K - MX=K−M, while a block-encoding needs the operator norm. For a general matrix these differ by up to a factor of two, so the step needs XXX to be Hermitian: MMM is Hermitian as a POVM element, and KKK is Hermitian because it is a compression of the projector I⊗∣0⟩⟨0∣I\otimes|0\rangle\langle 0|I⊗∣0⟩⟨0∣. A formal proof must use both facts and exhibit a state that attains the norm.

Formalization scope

The Lean development lives in the namespace QuantumSDP18.MeasureBE. Its conventions are:

  • The system register is an arbitrary finite type ι\iotaι (a www-qubit system is ι={0,1}w\iota = \{0,1\}^wι={0,1}w). Operators are complex matrices; †\dagger† is the conjugate transpose; the operator norm is the platform's QAlgorithms.specNorm.
  • The ancilla register is Qubits c × Bool, so a=c+1≥1a = c + 1 \ge 1a=c+1≥1 and the Bool factor is the last, measured qubit. The basis state ∣0⟩|0\rangle∣0⟩ of any register is its all-false index.
  • (14) ranges over all density matrices (PosSemidef with trace 111), and its absolute value is the modulus of a complex trace.
  • The CNOT is the platform's QAlgorithms.cnot (control first), placed on the measured qubit (control) and the fresh qubit (target). With the opposite direction the block is U†UU^\dagger UU†U and the goal is false; the chosen direction is the only reading under which the page's identity holds.
  • The block-encoding predicate is the platform's QAlgorithms.IsBlockEncoding, which puts the ancilla register first, as Definition 2 does; the circuit, written system-first as on p. 25, is reindexed to match.
  • Added hypothesis: ε≥0\varepsilon \ge 0ε≥0 (a bias is nonnegative). It matters only for a zero-dimensional system, where (14) holds vacuously.

The goal keeps both POVM hypotheses (M⪰0M \succeq 0M⪰0 and I−M⪰0I - M \succeq 0I−M⪰0), and the bias condition quantifies over all states rather than one fixed state, under which the conclusion would be false. A formalization in which (14) ranges over arbitrary matrices, or which drops the CNOT and states only ∥K−M∥≤ε\|K - M\| \le \varepsilon∥K−M∥≤ε, is a different theorem.

Needed infrastructure: Kronecker products and reindexing of matrices, the unitarity of permutation matrices and of Kronecker products, and the variational characterization of the operator norm of a Hermitian matrix through its eigenvectors. The last is reusable beyond this mission. Proofs of the three milestones are welcome independently.

Selected references

  • J. van Apeldoorn, A. Gilyén, Improvements in quantum SDP-solving with applications, arXiv preprint, 2018 (ICALP 2019). https://arxiv.org/abs/1804.05058
  • G. H. Low, I. L. Chuang, Hamiltonian simulation by qubitization, arXiv preprint, 2016 (Quantum 3, 163, 2019). https://arxiv.org/abs/1610.06546
  • G. H. Low, I. L. Chuang, Hamiltonian simulation by uniform spectral amplification, arXiv preprint, 2017. https://arxiv.org/abs/1707.05391
  • S. Aaronson, Shadow tomography of quantum states, STOC 2018. https://arxiv.org/abs/1711.01053
8 thms2 active usersReviewed
Graph TheoryOptimization·Captain: mikedeng1

A Quantum Approximate Optimization Algorithm I: At p = 1 the QAOA Expected Cut Is at Least 0.6924 Times the Maximum Cut on Every Connected 3-Regular GraphResearch Paper

Motivation

The quantum approximate optimization algorithm (QAOA) of Farhi, Goldstone and Gutmann (arXiv:1411.4028, 2014) is a family of shallow quantum circuits, indexed by an integer depth p≥1p \ge 1p≥1, that prepare states whose computational-basis measurements are biased toward good solutions of a combinatorial optimization problem. It became the standard candidate for optimization on near-term quantum hardware, and its performance on MaxCut is the benchmark against which later analyses and experiments are measured.

The original paper proves one concrete performance guarantee: at depth p=1p = 1p=1, on 3-regular graphs, the algorithm achieves an approximation ratio of at least 0.69240.69240.6924. Short timeline:

  • 2014, Farhi–Goldstone–Gutmann: the p=1p = 1p=1 bound 0.69240.69240.6924 on 3-regular graphs, by reducing the expected cut to three subgraph functions and a numerical minimization (arXiv:1411.4028).
  • 2018, Wang, Hadfield, Jiang and Rieffel: closed-form expressions for the p=1p = 1p=1 MaxCut expectation on arbitrary graphs (arXiv:1706.02998, Phys. Rev. A 97, 022304).
  • Classically, Goemans and Williamson's semidefinite rounding achieves 0.8780.8780.878 on all graphs (J. ACM 42, 1995), so the p=1p = 1p=1 guarantee is, as the paper itself notes, below the best classical algorithms.

Setting

A graph GGG has vertex set {0,…,n−1}\{0, \dots, n-1\}{0,…,n−1}, and 3-regular means every vertex has exactly three neighbours. Each vertex carries a qubit; a computational basis state is a bit string z=z0⋯zn−1z = z_0 \cdots z_{n-1}z=z0​⋯zn−1​. For an edge ⟨jk⟩\langle jk\rangle⟨jk⟩ the clause C⟨jk⟩(z)C_{\langle jk\rangle}(z)C⟨jk⟩​(z) is 111 if zj≠zkz_j \neq z_kzj​=zk​ and 000 otherwise, and the cut objective is

C(z)=∑⟨jk⟩C⟨jk⟩(z),C(z) = \sum_{\langle jk\rangle} C_{\langle jk\rangle}(z),C(z)=⟨jk⟩∑​C⟨jk⟩​(z),

the number of edges cut by the bipartition zzz defines. As an operator, CCC is diagonal in the computational basis.

Let B=∑jσjxB = \sum_j \sigma^x_jB=∑j​σjx​ and let ∣s⟩=2−n/2∑z∣z⟩|s\rangle = 2^{-n/2}\sum_z |z\rangle∣s⟩=2−n/2∑z​∣z⟩. For angles γ,β∈R\gamma, \beta \in \mathbb Rγ,β∈R, the depth-one QAOA state and its expected cut are

∣γ,β⟩=e−iβB e−iγC ∣s⟩,F1(γ,β)=⟨γ,β∣ C ∣γ,β⟩=∑z∣⟨z∣γ,β⟩∣2 C(z).|\gamma,\beta\rangle = e^{-i\beta B}\, e^{-i\gamma C}\, |s\rangle, \qquad F_1(\gamma,\beta) = \langle\gamma,\beta|\,C\,|\gamma,\beta\rangle = \sum_z |\langle z|\gamma,\beta\rangle|^2\, C(z).∣γ,β⟩=e−iβBe−iγC∣s⟩,F1​(γ,β)=⟨γ,β∣C∣γ,β⟩=z∑​∣⟨z∣γ,β⟩∣2C(z).

The angles may be restricted to γ∈[0,2π]\gamma \in [0, 2\pi]γ∈[0,2π], β∈[0,π]\beta \in [0, \pi]β∈[0,π] by periodicity.

Two kinds of small subgraphs govern the analysis. A crossed square is a set of four vertices spanning exactly five edges (a 4-cycle with one diagonal). An isolated triangle is a triangle whose three outgoing edges end on three distinct vertices. SSS and TTT denote their numbers in GGG. Finally, for an edge ⟨jk⟩\langle jk\rangle⟨jk⟩ the subgraph type is the shape of the edge together with its adjacent edges; in a 3-regular graph there are three types g4,g5,g6g_4, g_5, g_6g4​,g5​,g6​, according as jjj and kkk have two, one or no common neighbours. Each type ggg defines a function fg(γ,β)f_g(\gamma, \beta)fg​(γ,β), the expectation of the clause of the central edge in the depth-one QAOA state of the subgraph ggg alone.

Formalization targets

Goal: the depth-one ratio on cubic graphs

For every connected 3-regular graph GGG there are angles γ∈[0,2π]\gamma \in [0, 2\pi]γ∈[0,2π], β∈[0,π]\beta \in [0, \pi]β∈[0,π] with

F1(γ,β)  ≥  0.6924⋅C(z)for every bit string z,F_1(\gamma, \beta) \;\ge\; 0.6924 \cdot C(z) \qquad \text{for every bit string } z,F1​(γ,β)≥0.6924⋅C(z)for every bit string z,

that is, M1=max⁡γ,βF1≥0.6924⋅max⁡zC(z)M_1 = \max_{\gamma,\beta} F_1 \ge 0.6924 \cdot \max_z C(z)M1​=maxγ,β​F1​≥0.6924⋅maxz​C(z). The constant is exactly the paper's 0.69240.69240.6924, and K4K_4K4​ is included.

Milestones

The paper's argument passes through the following claims, each a milestone:

  1. At p=1p = 1p=1 each edge term of a 3-regular graph equals fg4f_{g_4}fg4​​, fg5f_{g_5}fg5​​ or fg6f_{g_6}fg6​​ according to its subgraph type (p. 5).
  2. In a connected 3-regular graph other than K4K_4K4​, there are SSS edges of type g4g_4g4​ and 4S+3T4S + 3T4S+3T of type g5g_5g5​ (pp. 8–9).
  3. Equation (32): F1=Sfg4+(4S+3T)fg5+(3n/2−5S−3T)fg6F_1 = S f_{g_4} + (4S + 3T) f_{g_5} + (3n/2 - 5S - 3T) f_{g_6}F1​=Sfg4​​+(4S+3T)fg5​​+(3n/2−5S−3T)fg6​​ (p. 9).
  4. 3T+4S≤n3T + 4S \le n3T+4S≤n (p. 8).
  5. Every cut has at most 3n/2−S−T3n/2 - S - T3n/2−S−T edges (p. 9).
  6. For s,t≥0s, t \ge 0s,t≥0 with 4s+3t≤14s + 3t \le 14s+3t≤1, the scaled ratio (35) M1(1,s,t)/(3/2−s−t)M_1(1, s, t)/(3/2 - s - t)M1​(1,s,t)/(3/2−s−t) is at least 0.69240.69240.6924 (p. 9).
  7. On K4K_4K4​ the depth-one ratio exceeds 0.69240.69240.6924 (p. 8).

Significance

The result is the first rigorous worst-case guarantee for the QAOA, and the method behind it (the expected objective is a sum of local terms, each depending only on a bounded neighbourhood of an edge) is the template for every later analysis of fixed-depth QAOA on bounded-degree graphs. It shows that a depth-one circuit, of depth independent of nnn, achieves a constant approximation ratio uniformly over an infinite class of graphs.

The paper's proof is complete apart from one numerical step: the minimization of (35) is reported as a numerical evaluation. No machine-checked version of the result exists. A formal proof requires an exact evaluation of the three subgraph functions at suitable angles, an exact combinatorial count of edge types, and a certified inequality in place of the numerical minimization. The margin is small: the exact minimum is 12+133≈0.692450\tfrac12 + \tfrac{1}{3\sqrt 3} \approx 0.69245021​+33​1​≈0.692450, about 5⋅10−55 \cdot 10^{-5}5⋅10−5 above the paper's constant.

Difficulty

The light-cone reduction (milestone 1) is the conceptual step: one must show that conjugating a two-qubit clause by e−iγCe^{-i\gamma C}e−iγC and e−iβBe^{-i\beta B}e−iβB leaves an operator that involves only the qubits adjacent to the edge, and that the remaining qubits contribute a factor of one. In matrix form on 2n2^n2n-dimensional space this is a statement about tensor-product structure that the definitions do not make visible. The combinatorial count (milestones 2–4) needs a careful case analysis of how triangles sit in a cubic graph, including the exceptional graph K4K_4K4​, where the count fails. The final inequality (milestone 6) has a margin of order 10−410^{-4}10−4, so crude bounds on the trigonometric functions fgf_{g}fg​ do not suffice.

Formalization scope

  • Representation. Bit strings are Qubits n = Fin n → Bool from the published QAlgorithms layer, with true the bit 111. States are vectors in EuclideanSpace ℂ (Qubits n); ∣s⟩|s\rangle∣s⟩, CCC as a diagonal operator, BBB and the QAOA unitary are the published definitions uniformState, problemHamiltonian, qaoaMixer, qaoaUnitary. The latter takes mixer angles before phase angles.
  • Conventions. Graphs are SimpleGraph (Fin n) with decidable adjacency; "3-regular" is IsRegularOfDegree 3. The cut counts each edge once. F1F_1F1​ is defined as ∑zPr⁡[z] C(z)\sum_z \Pr[z]\,C(z)∑z​Pr[z]C(z), which equals ⟨γ,β∣C∣γ,β⟩\langle\gamma,\beta|C|\gamma,\beta\rangle⟨γ,β∣C∣γ,β⟩ because CCC is diagonal. The constant 0.69240.69240.6924 is the exact rational 1731/25001731/25001731/2500.
  • Added hypotheses. Milestones 2 and 3 assume GGG connected and n≠4n \ne 4n=4, which excludes K4K_4K4​, the case the paper sets aside on p. 8. No other hypothesis is added.
  • Out of scope. The goal concerns the expected cut at good angles, which is what the paper's analysis bounds. Measuring the state, repeating, and the claim that a cut of that size is then found with high probability are not formalized; nor are running time, circuit depth, or the search for optimal angles.
  • Ruled-out trivializations. A cut objective counting each edge twice, or an unnormalized state, would leave the ratio statement formally intact but about the wrong objects; the setting counts each edge once and uses the normalized uniform superposition. The goal quantifies over all bit strings, so it cannot be satisfied by bounding a particular cut.
  • Contributions welcome. Reusable lemmas on the light-cone locality of conjugated Pauli operators, closed forms of the depth-one MaxCut expectation, and counting lemmas for triangles in cubic graphs all serve beyond this mission.

Selected references

  • E. Farhi, J. Goldstone, S. Gutmann, A Quantum Approximate Optimization Algorithm, arXiv preprint, 2014. https://arxiv.org/abs/1411.4028
  • Z. Wang, S. Hadfield, Z. Jiang, E. G. Rieffel, Quantum approximate optimization algorithm for MaxCut: A fermionic view, Phys. Rev. A 97, 022304, 2018. https://arxiv.org/abs/1706.02998
  • M. X. Goemans, D. P. Williamson, Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming, J. ACM 42(6), 1995. https://doi.org/10.1145/227683.227684
14 thms2 active usersReviewed
ProbabilityStatistics·Captain: mikedeng1

Direct Fidelity Estimation from Few Pauli Measurements 1: ⌈1/(ε²δ)⌉ Importance-Sampled Pauli Measurements Estimate tr(ρσ) Within 2ε With Probability ≥ 1 − 2δResearch Paper

Certifying a prepared quantum state

Experiments that prepare many-body entangled states (GHZ, W, stabilizer, cluster and matrix product states) need a way to check that the device produced the intended state. Full quantum state tomography answers the question but its cost grows with the dimension d=2nd = 2^nd=2n of an nnn-qubit system: a reconstruction needs on the order of d2d^2d2 measurement settings. Entanglement witnesses are cheap but exist only for special states.

Direct fidelity estimation (S. T. Flammia and Y.-K. Liu, arXiv:1104.4695, Phys. Rev. Lett. 106, 230501, 2011; the same idea appears in M. P. da Silva, O. Landon-Cardinal and D. Poulin, arXiv:1104.3835) estimates only the one number the experimentalist needs, the fidelity of the prepared state σ\sigmaσ to the target pure state ρ\rhoρ. It measures a constant number of randomly chosen Pauli observables, independent of nnn, and needs only single-qubit measurements. The method has since become a standard benchmarking tool in experimental quantum information.

Setting

Consider nnn qubits, d=2nd = 2^nd=2n. Let WkW_kWk​, kkk ranging over the d2=4nd^2 = 4^nd2=4n labels in {0,1,2,3}n\{0,1,2,3\}^n{0,1,2,3}n, be the nnn-fold tensor products of the single-qubit matrices I,σx,σy,σzI, \sigma_x, \sigma_y, \sigma_zI,σx​,σy​,σz​. The characteristic function of a d×dd\times dd×d matrix ρ\rhoρ is

χρ(k)=tr(ρWk/d).\chi_\rho(k) = \mathrm{tr}(\rho W_k/\sqrt d).χρ​(k)=tr(ρWk​/d​).

The target ρ\rhoρ is a pure state, ρ=∣ψ⟩⟨ψ∣\rho = |\psi\rangle\langle\psi|ρ=∣ψ⟩⟨ψ∣ with ∥ψ∥=1\|\psi\| = 1∥ψ∥=1; the prepared σ\sigmaσ is an arbitrary state (positive semidefinite, trace one). For pure ρ\rhoρ the fidelity is F(ρ,σ)=tr(ρσ)F(\rho,\sigma) = \mathrm{tr}(\rho\sigma)F(ρ,σ)=tr(ρσ), and tr(ρσ)=∑kχρ(k)χσ(k)\mathrm{tr}(\rho\sigma) = \sum_k\chi_\rho(k)\chi_\sigma(k)tr(ρσ)=∑k​χρ​(k)χσ​(k).

Given an additive error ε>0\varepsilon>0ε>0 and a failure probability δ>0\delta>0δ>0, the protocol runs in two stages.

  1. Importance sampling. Draw ℓ=⌈1/(ε2δ)⌉\ell = \lceil 1/(\varepsilon^2\delta)\rceilℓ=⌈1/(ε2δ)⌉ labels k1,…,kℓk_1,\dots,k_\ellk1​,…,kℓ​ independently with probability Pr⁡(k)=χρ(k)2\Pr(k) = \chi_\rho(k)^2Pr(k)=χρ​(k)2. The ideal estimator is Y=1ℓ∑iXiY = \frac1\ell\sum_i X_iY=ℓ1​∑i​Xi​, Xi=χσ(ki)/χρ(ki)X_i = \chi_\sigma(k_i)/\chi_\rho(k_i)Xi​=χσ​(ki​)/χρ​(ki​).
  2. Finite precision. For each iii, measure the observable WkiW_{k_i}Wki​​ on
mi=⌈2d χρ(ki)2 ℓ ε2log⁡(2/δ)⌉m_i = \Big\lceil\frac{2}{d\,\chi_\rho(k_i)^2\,\ell\,\varepsilon^2}\log(2/\delta)\Big\rceilmi​=⌈dχρ​(ki​)2ℓε22​log(2/δ)⌉

copies of σ\sigmaσ. Each measurement gives an outcome Aij∈{1,−1}A_{ij}\in\{1,-1\}Aij​∈{1,−1} with mean tr(σWki)=d χσ(ki)\mathrm{tr}(\sigma W_{k_i}) = \sqrt d\,\chi_\sigma(k_i)tr(σWki​​)=d​χσ​(ki​), independently. The output is

Y~=1ℓ∑i=1ℓX~i,X~i=1mid χρ(ki)∑j=1miAij.\tilde Y = \frac1\ell\sum_{i=1}^\ell\tilde X_i,\qquad \tilde X_i = \frac{1}{m_i\sqrt d\,\chi_\rho(k_i)}\sum_{j=1}^{m_i}A_{ij}.Y~=ℓ1​i=1∑ℓ​X~i​,X~i​=mi​d​χρ​(ki​)1​j=1∑mi​​Aij​.

Formalization targets

Goal: the direct-fidelity-estimation guarantee (p. 2)

For every nnn, every pure ρ\rhoρ, every state σ\sigmaσ and every ε,δ>0\varepsilon,\delta>0ε,δ>0,

Pr⁡[ tr(ρσ)∈[Y~−2ε, Y~+2ε] ] ≥ 1−2δ,\Pr\Big[\,\mathrm{tr}(\rho\sigma)\in[\tilde Y-2\varepsilon,\ \tilde Y+2\varepsilon]\,\Big]\ \ge\ 1-2\delta ,Pr[tr(ρσ)∈[Y~−2ε, Y~+2ε]] ≥ 1−2δ,

the probability being over both stages of the protocol.

Milestones

  • the fidelity formula (1) and the Pauli expansion (2) (p. 1), and the normalization of (3) (footnote [6], p. 4);
  • unbiasedness EX=tr(ρσ)\mathbb E X = \mathrm{tr}(\rho\sigma)EX=tr(ρσ) and the variance bound Var(X)≤tr(σ2)−[tr(ρσ)]2≤1\mathrm{Var}(X)\le\mathrm{tr}(\sigma^2)-[\mathrm{tr}(\rho\sigma)]^2\le1Var(X)≤tr(σ2)−[tr(ρσ)]2≤1 ((12)–(14), p. 6);
  • the ideal-estimator bound (5), Pr⁡[∣Y−tr(ρσ)∣≥ε]≤δ\Pr[|Y-\mathrm{tr}(\rho\sigma)|\ge\varepsilon]\le\deltaPr[∣Y−tr(ρσ)∣≥ε]≤δ;
  • Hoeffding's bound (16)–(17), Pr⁡[∣Y~−Y∣≥t]≤2exp⁡(−2t2/C)\Pr[|\tilde Y - Y|\ge t]\le 2\exp(-2t^2/C)Pr[∣Y~−Y∣≥t]≤2exp(−2t2/C), the computation (18), C≤2ε2/log⁡(2/δ)C\le2\varepsilon^2/\log(2/\delta)C≤2ε2/log(2/δ), and the finite-precision bound (8), Pr⁡[∣Y~−Y∣≥ε]≤δ\Pr[|\tilde Y - Y|\ge\varepsilon]\le\deltaPr[∣Y~−Y∣≥ε]≤δ for every fixed k1,…,kℓk_1,\dots,k_\ellk1​,…,kℓ​;
  • the resource bounds (9)–(10) on the expected number of copies and the deterministic bound mi≤1+2log⁡(2/δ)/(α2ℓε2)m_i\le1+2\log(2/\delta)/(\alpha^2\ell\varepsilon^2)mi​≤1+2log(2/δ)/(α2ℓε2) for well-conditioned states.

Significance

The guarantee says that ℓ=⌈1/(ε2δ)⌉\ell = \lceil1/(\varepsilon^2\delta)\rceilℓ=⌈1/(ε2δ)⌉ Pauli settings suffice to estimate the fidelity of any nnn-qubit state to any pure target, whatever nnn. The number of copies of σ\sigmaσ is O(d)O(d)O(d) in expectation in the worst case and constant for stabilizer states, while the paper's lower bounds show that full tomography with Pauli measurements needs a number of copies polynomial in ddd. The same scheme, applied to the Choi state, certifies unitary channels and Clifford circuits.

The result is proved on paper but has not been machine-checked. A formal proof requires the Pauli-basis machinery (orthogonality and completeness of the nnn-qubit Pauli operators), the Born-rule model of repeated Pauli measurements, and the combination of a second-moment bound with a sub-Gaussian bound through a two-stage union bound. The formalization also corrects a printed slip: the paper's equality (13) holds only as an inequality (see the milestone's note), which does not affect the result.

Difficulty

Each individual step is classical: Chebyshev's inequality for the first stage, Hoeffding's inequality for the second. The difficulty lies in the bookkeeping that the informal proof leaves implicit. The first-stage estimator involves 1/χρ(k)1/\chi_\rho(k)1/χρ​(k), which is undefined at labels the sampling never produces, so every probability must be weighted by Pr⁡(k)\Pr(k)Pr(k). The second-stage bound holds conditionally on the labels, and its sample sizes mim_imi​ depend on them, so the two stages cannot be treated as one product of independent variables. The constant in Hoeffding's bound must be tracked through the d\sqrt dd​ factors of χ\chiχ and of EAij\mathbb E A_{ij}EAij​, and through the ceiling in mim_imi​. Finally, the Pauli expansion (2) requires the trace orthogonality tr(WkWk′)=d δkk′\mathrm{tr}(W_kW_{k'}) = d\,\delta_{kk'}tr(Wk​Wk′​)=dδkk′​ of nnn-fold tensor products, which is not in Mathlib.

Formalization scope

  • Basis labels are Q n := Fin n → Fin 2, Pauli labels P n := Fin n → Fin 4; matrices are Matrix (Q n) (Q n) ℂ, and WkW_kWk​ is the entrywise product ∏i(Pki)xiyi\prod_i(P_{k_i})_{x_iy_i}∏i​(Pki​​)xi​yi​​. ddd is the real number 2n2^n2n.
  • Traces are real parts of complex traces (real on Hermitian matrices); χρ(k)\chi_\rho(k)χρ​(k) is real-valued.
  • States are WildeQIT.IsDensityOperator (positive semidefinite, trace one), referenced from the platform; purity is ρ=ψψ†\rho = \psi\psi^\daggerρ=ψψ† with ψ†ψ=1\psi^\dagger\psi = 1ψ†ψ=1.
  • ⌈⋅⌉\lceil\cdot\rceil⌈⋅⌉ is Nat.ceil, log⁡\loglog the natural logarithm.
  • The first stage is a finite sum over label tuples weighted by ∏iχρ(ki)2\prod_i\chi_\rho(k_i)^2∏i​χρ​(ki​)2. The second stage is an explicit product measure: each AijA_{ij}Aij​ is +1+1+1 with probability (1+tr(σWki))/2(1+\mathrm{tr}(\sigma W_{k_i}))/2(1+tr(σWki​​))/2 and −1-1−1 otherwise. This Born-rule law is the unique ±1\pm1±1 law with the page's mean d χσ(ki)\sqrt d\,\chi_\sigma(k_i)d​χσ​(ki​). The outcomes are not arbitrary random variables with hypothesised means, which would make the goal vacuous or false.
  • Statements that divide by χρ(ki)\chi_\rho(k_i)χρ​(ki​) either weight by Pr⁡(ki)\Pr(k_i)Pr(ki​) or assume χρ(ki)≠0\chi_\rho(k_i)\neq0χρ​(ki​)=0; none quantifies over all labels without weights.
  • (9), (10), (18) and the well-conditioned bound assume δ<1\delta<1δ<1, so that log⁡(2/δ)>0\log(2/\delta)>0log(2/δ)>0; the goal, (5) and (8) carry no such hypothesis.
  • The goal does not mention variances, Chebyshev, Hoeffding's constant or (15), and it quantifies over every nnn, pure ρ\rhoρ, state σ\sigmaσ and ε,δ>0\varepsilon,\delta>0ε,δ>0. It cannot be discharged by a special case or a degenerate measure.

A complete development needs the Pauli-basis lemmas (Hermiticity, Wk2=IW_k^2 = IWk2​=I, trace orthogonality and the expansion of a matrix in the Pauli basis), a Born-rule lemma for ±1\pm1±1 observables, and Hoeffding and Chebyshev bounds specialised to finite product measures. The Pauli-basis lemmas are reusable well beyond this mission (stabilizer formalism, shadow tomography, randomized benchmarking). Proofs of any milestone, and of auxiliary Pauli-basis facts, are welcome.

Selected references

  • S. T. Flammia and Y.-K. Liu, Direct fidelity estimation from few Pauli measurements, Phys. Rev. Lett. 106, 230501 (2011); arXiv:1104.4695v3. https://arxiv.org/abs/1104.4695
  • M. P. da Silva, O. Landon-Cardinal and D. Poulin, Practical characterization of quantum devices without tomography, Phys. Rev. Lett. 107, 210404 (2011). https://arxiv.org/abs/1104.3835
  • R. Jozsa, Fidelity for mixed quantum states, J. Mod. Opt. 41, 2315 (1994). https://doi.org/10.1080/09500349414552171
  • W. Hoeffding, Probability inequalities for sums of bounded random variables, J. Amer. Statist. Assoc. 58, 13–30 (1963). https://doi.org/10.1080/01621459.1963.10500830
15 thms2 active usersReviewed
Linear algebraTheoretical Computer Science·Captain: mikedeng1

Learning Stabilizer States by Bell Sampling: Algorithm 1 Identifies an n-Qubit Stabilizer State from 5n+2 Copies, Failing with Probability at Most 2⁻ⁿResearch Paper

Motivation

Determining an unknown quantum state of nnn qubits to good accuracy requires, in general, a number of copies of the state exponential in nnn; this follows from Holevo's theorem. One way around this barrier is to restrict the class of states. Stabilizer states are the natural candidate: they are the states produced from ∣0n⟩|0^n\rangle∣0n⟩ by Clifford circuits, they underlie quantum error-correcting codes, measurement-based computation and randomized benchmarking, and there are 2Θ(n2)2^{\Theta(n^2)}2Θ(n2) of them, so Ω(n)\Omega(n)Ω(n) copies are necessary to identify one.

Timeline.

  • Aaronson and Gottesman (2008, Identifying stabilizer states, talk, http://pirsa.org/08080052/) described a procedure identifying an unknown stabilizer state from O(n2)O(n^2)O(n2) copies with single-copy measurements, and a variant using O(n)O(n)O(n) copies with measurements collective across all copies.
  • Low (2009, arXiv:0907.2833) showed that a Clifford unitary can be identified from O(n2)O(n^2)O(n2) uses, or O(n)O(n)O(n) with access to its inverse.
  • Rocchetto (2017, arXiv:1705.00345) showed that stabilizer states are PAC-learnable efficiently.
  • Montanaro (2017, arXiv:1707.04012) gave the algorithm of this mission: O(n)O(n)O(n) copies, collective measurements on at most two copies at a time, failure probability exponentially small in nnn. Zhao, Pérez-Delgado and Fitzsimons obtained a related O(n)O(n)O(n)-copy algorithm for graph states independently (arXiv:1510.03742).

Bell sampling became a standard tool after this paper, for instance in stabilizer testing (Gross, Nezami and Walter, arXiv:1712.08628), so a machine-checked version of its analysis is a reusable base.

Setting

A state of nnn qubits is a vector ψ:{0,1}n→C\psi:\{0,1\}^n\to\mathbb Cψ:{0,1}n→C; its complex conjugate ψ∗\psi^*ψ∗ is taken entrywise in the computational basis. The paper uses the four 2×22\times22×2 matrices

σ00=(1001), σ01=(0110), σ10=(100−1), σ11=σ10σ01=(01−10),\sigma_{00}=\begin{pmatrix}1&0\\0&1\end{pmatrix},\ \sigma_{01}=\begin{pmatrix}0&1\\1&0\end{pmatrix},\ \sigma_{10}=\begin{pmatrix}1&0\\0&-1\end{pmatrix},\ \sigma_{11}=\sigma_{10}\sigma_{01}=\begin{pmatrix}0&1\\-1&0\end{pmatrix},σ00​=(10​01​), σ01​=(01​10​), σ10​=(10​0−1​), σ11​=σ10​σ01​=(0−1​10​),

which are the Pauli matrices up to the factor −i-i−i on σ11\sigma_{11}σ11​. For a string s∈{0,1}2ns\in\{0,1\}^{2n}s∈{0,1}2n, σs=σs1s2⊗⋯⊗σs2n−1s2n\sigma_s=\sigma_{s_1s_2}\otimes\cdots\otimes\sigma_{s_{2n-1}s_{2n}}σs​=σs1​s2​​⊗⋯⊗σs2n−1​s2n​​; strings are added bitwise, s⊕ts\oplus ts⊕t.

The Bell basis of C4\mathbb C^4C4 is ∣σ00⟩=12(∣00⟩+∣11⟩)|\sigma_{00}\rangle=\frac1{\sqrt2}(|00\rangle+|11\rangle)∣σ00​⟩=2​1​(∣00⟩+∣11⟩), ∣σ01⟩=12(∣01⟩+∣10⟩)|\sigma_{01}\rangle=\frac1{\sqrt2}(|01\rangle+|10\rangle)∣σ01​⟩=2​1​(∣01⟩+∣10⟩), ∣σ10⟩=12(∣00⟩−∣11⟩)|\sigma_{10}\rangle=\frac1{\sqrt2}(|00\rangle-|11\rangle)∣σ10​⟩=2​1​(∣00⟩−∣11⟩), ∣σ11⟩=12(∣01⟩−∣10⟩)|\sigma_{11}\rangle=\frac1{\sqrt2}(|01\rangle-|10\rangle)∣σ11​⟩=2​1​(∣01⟩−∣10⟩). Bell sampling on 2n2n2n qubits A1,…,An,B1,…,BnA_1,\dots,A_n,B_1,\dots,B_nA1​,…,An​,B1​,…,Bn​ measures each pair AiBiA_iB_iAi​Bi​ in the Bell basis and returns a string r∈{0,1}2nr\in\{0,1\}^{2n}r∈{0,1}2n. On two copies ∣ψ⟩∣ψ⟩|\psi\rangle|\psi\rangle∣ψ⟩∣ψ⟩ (first copy on the AAA's) the outcome rrr has probability pψ(r)=∣⟨σr∣ ψ⊗ψ⟩∣2p_\psi(r)=|\langle\sigma_r|\,\psi\otimes\psi\rangle|^2pψ​(r)=∣⟨σr​∣ψ⊗ψ⟩∣2.

A stabilizer state is ψ=U∣0n⟩\psi=U|0^n\rangleψ=U∣0n⟩ for a Clifford unitary UUU (a unitary normalising the Pauli group). Its stabilizer set T(ψ)⊆F22nT(\psi)\subseteq\mathbb F_2^{2n}T(ψ)⊆F22n​ is the set of strings ttt for which ψ\psiψ is an eigenvector of σt\sigma_tσt​, i.e. those σt\sigma_tσt​ that lie in the stabilizer group of ψ\psiψ up to a phase.

Algorithm 1. Bell-sample two fresh copies to get r0r_0r0​; repeat 2n2n2n times to get r1,…,r2nr_1,\dots,r_{2n}r1​,…,r2n​; find a basis BBB of span⁡{ri⊕r0}\operatorname{span}\{r_i\oplus r_0\}span{ri​⊕r0​}; for each element of BBB measure one copy of ψ\psiψ in the eigenbasis of the corresponding (Hermitian) Pauli matrix MMM to learn whether M∣ψ⟩=+∣ψ⟩M|\psi\rangle=+|\psi\rangleM∣ψ⟩=+∣ψ⟩ or −∣ψ⟩-|\psi\rangle−∣ψ⟩. It uses 5n+25n+25n+2 copies.

Formalization targets

Goal: Theorem 1, explicit form

For every nnn and every nnn-qubit stabilizer state ψ\psiψ, with the 2n+12n+12n+1 Bell samples independent,

Pr⁡[span⁡{ri⊕r0:1≤i≤2n}=T(ψ)] ≥ 1−2−n,\Pr\bigl[\operatorname{span}\{r_i\oplus r_0:1\le i\le 2n\}=T(\psi)\bigr]\ \ge\ 1-2^{-n},Pr[span{ri​⊕r0​:1≤i≤2n}=T(ψ)] ≥ 1−2−n,

and for every basis b1,…,bnb_1,\dots,b_nb1​,…,bn​ of T(ψ)T(\psi)T(ψ) with Hermitian Paulis MjM_jMj​, each Mjψ=±ψM_j\psi=\pm\psiMj​ψ=±ψ and every vector with the same eigenvalues under all MjM_jMj​ is a scalar multiple of ψ\psiψ. Together: Algorithm 1 identifies ψ\psiψ except with probability at most 2−n2^{-n}2−n.

Milestones

  1. σsσt=±σs⊕t\sigma_s\sigma_t=\pm\sigma_{s\oplus t}σs​σt​=±σs⊕t​.
  2. Lemma 2: pψ(r)=∣⟨ψ∣σr∣ψ∗⟩∣2/2np_\psi(r)=|\langle\psi|\sigma_r|\psi^*\rangle|^2/2^npψ​(r)=∣⟨ψ∣σr​∣ψ∗⟩∣2/2n.
  3. The Bell-sampling probabilities of a unit vector sum to 111.
  4. For a stabilizer state, ∣ψ∗⟩=c σ10⊗S∣ψ⟩|\psi^*\rangle=c\,\sigma_{10}^{\otimes S}|\psi\rangle∣ψ∗⟩=cσ10⊗S​∣ψ⟩ with ∣c∣=1|c|=1∣c∣=1.
  5. Eqn (1): pψ(r)=∣⟨ψ∣σrσ10⊗S∣ψ⟩∣2/2np_\psi(r)=|\langle\psi|\sigma_r\sigma_{10}^{\otimes S}|\psi\rangle|^2/2^npψ​(r)=∣⟨ψ∣σr​σ10⊗S​∣ψ⟩∣2/2n.
  6. T(ψ)T(\psi)T(ψ) is an nnn-dimensional subspace of F22n\mathbb F_2^{2n}F22n​.
  7. ⟨ψ∣σt∣ψ⟩=0\langle\psi|\sigma_t|\psi\rangle=0⟨ψ∣σt​∣ψ⟩=0 for t∉T(ψ)t\notin T(\psi)t∈/T(ψ).
  8. pψp_\psipψ​ is uniform on a coset {t⊕s:t∈T}\{t\oplus s:t\in T\}{t⊕s:t∈T}.
  9. For two independent outcomes, r1⊕r2r_1\oplus r_2r1​⊕r2​ is uniform on TTT.
  10. TTT and the signs on a basis of TTT determine ψ\psiψ up to a scalar.
  11. 2n2n2n uniform samples of an nnn-dimensional F2\mathbb F_2F2​-space fail to span it with probability at most 2−n2^{-n}2−n.

Significance

The theorem gives a learning algorithm whose copy complexity O(n)O(n)O(n) is optimal and whose measurements are simple: one Bell measurement on corresponding qubits of two copies. Its analysis isolates a structural fact about stabilizer states, that Bell sampling on two copies produces a uniformly random element of a coset of the stabilizer subspace, which is the engine of later work on stabilizer testing and on learning states with few non-Clifford gates.

The result is proved in the paper; no machine-checked proof of it is known. A complete formalization adds: the stabilizer formalism in a form usable from the definition "U∣0n⟩U|0^n\rangleU∣0n⟩ for a Clifford UUU" (the subspace TTT, its dimension, vanishing expectations off TTT, determination by signs); the conjugation identity, which the paper takes from a normal form cited from the literature; and the probabilistic bookkeeping of the algorithm with its exact constants.

Difficulty

The probability calculations (Lemma 2, eqn (1), the union bound) are finite sums. The difficulty lies in the stabilizer structure. The platform's definition of a stabilizer state is the image of ∣0n⟩|0^n\rangle∣0n⟩ under a Clifford unitary; from it one must derive that the strings whose σt\sigma_tσt​ fixes ψ\psiψ up to phase form an nnn-dimensional subspace, that all other Pauli expectations vanish, and that ψ∗\psi^*ψ∗ differs from ψ\psiψ by a diagonal Pauli. The paper obtains the last fact from the Dehaene–De Moor normal form ψ∝∑x∈Aiℓ(x)(−1)q(x)∣x⟩\psi\propto\sum_{x\in A}i^{\ell(x)}(-1)^{q(x)}|x\rangleψ∝∑x∈A​iℓ(x)(−1)q(x)∣x⟩, a cited theorem whose proof is not on the page; formalizing either that normal form or a direct substitute is the central step. The natural shortcut, treating TTT as given with "uniform outcomes on TTT" as a hypothesis, proves only the counting lemma and is ruled out below.

Formalization scope

  • States are StabilizerRank.QState n = (Fin n → Bool) → ℂ and stabilizer states are StabilizerRank.IsStabilizerState (published platform definition, referenced). Qubit iii is coordinate iii, false =0=0=0.
  • Strings {0,1}2n\{0,1\}^{2n}{0,1}2n are encoded as Fin n → ZMod 2 × ZMod 2, coordinate iii the pair (s2i−1,s2i)(s_{2i-1},s_{2i})(s2i−1​,s2i​) of qubit iii; ⊕\oplus⊕ is +.
  • σ11\sigma_{11}σ11​ is the page's (01−10)\begin{pmatrix}0&1\\-1&0\end{pmatrix}(0−1​10​), not the Pauli YYY. The "corresponding Pauli matrix" of step 5 is the Hermitian (−i)#{i:ti=11}σt(-i)^{\#\{i:t_i=11\}}\sigma_t(−i)#{i:ti​=11}σt​; the page does not fix this phase.
  • The Bell outcome law is the Born rule with ψ(x)ψ(y)\psi(x)\psi(y)ψ(x)ψ(y) the amplitude of ∣ψ⟩∣ψ⟩|\psi\rangle|\psi\rangle∣ψ⟩∣ψ⟩ at ∣x⟩A∣y⟩B|x\rangle_A|y\rangle_B∣x⟩A​∣y⟩B​.
  • Algorithm 1 is modelled by its outcome law: the 2n+12n+12n+1 samples are independent (fresh copies), and an event has probability ∑1E pψ(r0)∏ipψ(ri)\sum \mathbf 1_E\,p_\psi(r_0)\prod_i p_\psi(r_i)∑1E​pψ​(r0​)∏i​pψ​(ri​). Step 5 is deterministic once a basis of TTT is known, and is stated as a property of every such basis.
  • The explicit constants of p. 2 replace "O(n)O(n)O(n)" and "exponentially small": 2n+12n+12n+1 Bell samples, success probability at least 1−2−n1-2^{-n}1−2−n (the page's "fails with probability at most 2−n2^{-n}2−n", in a form that a mis-normalised outcome law cannot satisfy). The count 5n+25n+25n+2 and "at most two copies at a time" are properties of the model, not separate clauses. The running time O(n3)O(n^3)O(n3) is not formalized.
  • Lemma 2 is stated for every vector, not only unit vectors (the identity is homogeneous). The conjugation identity carries a unit phase ccc, which the page omits. "⟨ψ∣M∣ψ⟩=0\langle\psi|M|\psi\rangle=0⟨ψ∣M∣ψ⟩=0 for M∉GM\notin GM∈/G" is stated for strings outside TTT.
  • Ruled out: TTT as a hypothesis (it is always computed from ψ\psiψ), dropping the reference sample r0r_0r0​ or the independence of the samples, a degenerate outcome law, and reading "identifies" as "the samples span TTT" without the sign step.

Needed infrastructure: Kronecker-product manipulations of σs\sigma_sσs​ indexed by bit strings, the Bell basis as an orthonormal basis of (C2⊗C2)⊗n(\mathbb C^2\otimes\mathbb C^2)^{\otimes n}(C2⊗C2)⊗n, the stabilizer formalism over F22n\mathbb F_2^{2n}F22n​, and counting hyperplanes of finite F2\mathbb F_2F2​-spaces. The stabilizer-formalism layer and the union bound are reusable beyond this mission. Contributions to any milestone are welcome, in particular direct proofs of milestones 4, 6 and 7 from the Clifford definition.

Selected references

  • A. S. Holevo, Bounds for the quantity of information transmitted by a quantum communication channel, Problems of Information Transmission 9:177–183, 1973.
  • D. Gross, S. Nezami and M. Walter, Schur–Weyl duality for the Clifford group with applications: property testing, a robust Hudson theorem, and de Finetti representations, Comm. Math. Phys. 385:1325–1393, 2021. https://arxiv.org/abs/1712.08628
  • A. Montanaro, Learning stabilizer states by Bell sampling, arXiv preprint, 2017. https://arxiv.org/abs/1707.04012
  • S. Aaronson and D. Gottesman, Identifying stabilizer states, PIRSA talk, 2008. http://pirsa.org/08080052/
  • R. Low, Learning and testing algorithms for the Clifford group, Phys. Rev. A 80:052314, 2009. https://arxiv.org/abs/0907.2833
  • A. Rocchetto, Stabiliser states are efficiently PAC-learnable, arXiv preprint, 2017. https://arxiv.org/abs/1705.00345
  • L. Zhao, C. Pérez-Delgado and J. Fitzsimons, Fast graph operations in quantum computation, Phys. Rev. A 93:032314, 2016. https://arxiv.org/abs/1510.03742
  • J. Dehaene and B. De Moor, Clifford group, stabilizer states, and linear and quadratic operations over GF(2), Phys. Rev. A 68:042318, 2003. https://arxiv.org/abs/quant-ph/0304125
  • M. Van den Nest, Classical simulation of quantum computation, the Gottesman–Knill theorem, and slightly beyond, Quantum Inf. Comput. 10:258, 2010. https://arxiv.org/abs/0811.0898
  • S. Aaronson, The learnability of quantum states, Proc. R. Soc. A 463:3089, 2007. https://arxiv.org/abs/quant-ph/0608142
14 thms2 active usersReviewed
ProbabilityTheoretical Computer Science·Captain: mikedeng1

Quantum Amplitude Amplification and Estimation: Est_Amp(A, χ, M) Outputs ã with |ã − a| ≤ 2πk√(a(1−a))/M + k²π²/M² with Probability ≥ 8/π² for k = 1 and > 1 − 1/(2(k−1)) for k ≥ 2Research Paper

Motivation

Many quantum algorithms end in a measurement that succeeds only with some probability aaa. Two questions follow: how to raise that probability, and how to learn its value. G. Brassard, P. Høyer, M. Mosca and A. Tapp answered both in Quantum Amplitude Amplification and Estimation (arXiv:quant-ph/0005055, 2000; Contemporary Mathematics 305, 2002). Amplitude amplification generalizes Grover's search (Grover 1996) to an arbitrary algorithm A\mathcal AA and an arbitrary notion of success. Amplitude estimation combines amplification with the quantum Fourier transform to estimate aaa with error of order 1/M1/M1/M after MMM applications of A\mathcal AA, where classical sampling needs order 1/M21/M^21/M2 samples. Quantum counting, quantum Monte Carlo integration (Montanaro 2015) and many quantum speedups for statistics and finance rest on this estimation step.

Timeline:

  • 1996: Grover's search algorithm.
  • 1997: Brassard and Høyer (arXiv:quant-ph/9704027) introduce the amplification operator Q\mathbf QQ for a general algorithm.
  • 1998: Brassard, Høyer and Tapp (arXiv:quant-ph/9805082) give quantum counting.
  • 2000: the paper formalized here presents amplification, estimation and counting in a unified form with explicit constants.

Setting

Let H=Cι\mathcal H = \mathbb C^\iotaH=Cι be a finite-dimensional Hilbert space with computational basis {∣x⟩:x∈ι}\{|x\rangle : x\in\iota\}{∣x⟩:x∈ι} and a distinguished zero state ∣0⟩|0\rangle∣0⟩. A quantum algorithm without measurements is a unitary matrix A\mathcal AA on H\mathcal HH, and a Boolean function χ:ι→{0,1}\chi:\iota\to\{0,1\}χ:ι→{0,1} calls a basis state good when χ(x)=1\chi(x)=1χ(x)=1. Write ∣Ψ⟩=A∣0⟩=∣Ψ1⟩+∣Ψ0⟩|\Psi\rangle=\mathcal A|0\rangle=|\Psi_1\rangle+|\Psi_0\rangle∣Ψ⟩=A∣0⟩=∣Ψ1​⟩+∣Ψ0​⟩ for the splitting into the projections onto the good and the bad subspaces. The initial success probability is a=⟨Ψ1∣Ψ1⟩a=\langle\Psi_1|\Psi_1\ranglea=⟨Ψ1​∣Ψ1​⟩, the probability that measuring ∣Ψ⟩|\Psi\rangle∣Ψ⟩ gives a good state, and θa∈[0,π/2]\theta_a\in[0,\pi/2]θa​∈[0,π/2] is the angle with sin⁡2θa=a\sin^2\theta_a=asin2θa​=a.

The operator Sχ\mathbf S_\chiSχ​ flips the sign of the amplitudes of good states, S0\mathbf S_0S0​ flips the sign of the amplitude of ∣0⟩|0\rangle∣0⟩, and the amplification operator is

Q=−A S0 A−1 Sχ.\mathbf Q=-\mathcal A\,\mathbf S_0\,\mathcal A^{-1}\,\mathbf S_\chi .Q=−AS0​A−1Sχ​.

For an integer M≥1M\ge1M≥1, the quantum Fourier transform is FM:∣x⟩↦1M∑y=0M−1e2πıxy/M∣y⟩F_M:|x\rangle\mapsto\frac1{\sqrt M}\sum_{y=0}^{M-1}e^{2\pi\imath xy/M}|y\rangleFM​:∣x⟩↦M​1​∑y=0M−1​e2πxy/M∣y⟩, and the controlled power is ΛM(U):∣j⟩∣y⟩↦∣j⟩Uj∣y⟩\Lambda_M(U):|j\rangle|y\rangle\mapsto|j\rangle U^j|y\rangleΛM​(U):∣j⟩∣y⟩↦∣j⟩Uj∣y⟩. The phase state is ∣SM(ω)⟩=1M∑ye2πıωy∣y⟩|S_M(\omega)\rangle=\frac1{\sqrt M}\sum_y e^{2\pi\imath\omega y}|y\rangle∣SM​(ω)⟩=M​1​∑y​e2πωy∣y⟩, and d(ω0,ω1)=min⁡z∈Z∣z+ω1−ω0∣d(\omega_0,\omega_1)=\min_{z\in\mathbb Z}|z+\omega_1-\omega_0|d(ω0​,ω1​)=minz∈Z​∣z+ω1​−ω0​∣ is the circular distance. The algorithm Est_Amp(A,χ,M)\mathbf{Est\_Amp}(\mathcal A,\chi,M)Est_Amp(A,χ,M) applies (FM−1⊗I) ΛM(Q) (FM⊗I)(F_M^{-1}\otimes I)\,\Lambda_M(\mathbf Q)\,(F_M\otimes I)(FM−1​⊗I)ΛM​(Q)(FM​⊗I) to ∣0⟩A∣0⟩|0\rangle\mathcal A|0\rangle∣0⟩A∣0⟩, measures the first register to obtain y∈{0,…,M−1}y\in\{0,\dots,M-1\}y∈{0,…,M−1}, and outputs a~=sin⁡2(πy/M)\tilde a=\sin^2(\pi y/M)a~=sin2(πy/M).

Formalization targets

Goal: Theorem 12 (Amplitude Estimation)

For every positive integer kkk, the event

∣a~−a∣≤2πka(1−a)M+k2π2M2|\tilde a-a|\le 2\pi k\frac{\sqrt{a(1-a)}}{M}+k^2\frac{\pi^2}{M^2}∣a~−a∣≤2πkMa(1−a)​​+k2M2π2​

has probability at least 8/π28/\pi^28/π2 when k=1k=1k=1, and greater than 1−12(k−1)1-\frac1{2(k-1)}1−2(k−1)1​ when k≥2k\ge2k≥2. If a=0a=0a=0 then a~=0\tilde a=0a~=0 with certainty. If a=1a=1a=1 and MMM is even, then a~=1\tilde a=1a~=1 with certainty.

Milestones, in attack order

  1. Lemma 1: Q\mathbf QQ acts on ∣Ψ1⟩|\Psi_1\rangle∣Ψ1​⟩ and ∣Ψ0⟩|\Psi_0\rangle∣Ψ0​⟩ by an explicit 2×22\times22×2 matrix.
  2. Equations (3)–(5): for 0<a<10<a<10<a<1, ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩ are orthonormal eigenvectors of Q\mathbf QQ with eigenvalues e±ı2θae^{\pm\imath2\theta_a}e±2θa​.
  3. Equation (6): ∣Ψ⟩|\Psi\rangle∣Ψ⟩ in that eigenbasis.
  4. Lemma 7: the error in the angle controls the error in sin⁡2\sin^2sin2.
  5. Lemma 10: the overlap ∣⟨SM(ω0)∣SM(ω1)⟩∣2|\langle S_M(\omega_0)|S_M(\omega_1)\rangle|^2∣⟨SM​(ω0​)∣SM​(ω1​)⟩∣2.
  6. Theorem 11: the exact law of phase estimation and its two tail bounds.
  7. Two steps of the proof of Theorem 12 (p. 20): the state after ΛM(Q)\Lambda_M(\mathbf Q)ΛM​(Q), and the outcome law as an even mixture of two phase-estimation laws.

Further statements from the same development are included as companion targets: the success probability sin⁡2((2m+1)θa)\sin^2((2m+1)\theta_a)sin2((2m+1)θa​) after mmm rounds, Theorem 2 (quadratic speedup), Lemma 5 (the phase-generalized Q\mathbf QQ), Theorem 13 (counting) and Corollary 14.

Significance

Theorem 12 is the quantitative core of quantum estimation algorithms. Its error bound scales as 1/M1/M1/M in the number of applications of Q\mathbf QQ, and that scaling is the quadratic speedup behind quantum counting (Theorem 13), quantum mean estimation, and quantum Monte Carlo methods for option pricing and risk analysis. The exact clauses for a∈{0,1}a\in\{0,1\}a∈{0,1} make the estimator usable as a zero-error test for the existence of a good state.

All results here are proved in the paper and widely reproduced in textbooks; none is open. What the mission adds is a machine-checked account with the paper's constants: 8/π28/\pi^28/π2, the strict tail bound 1−1/(2(k−1))1-1/(2(k-1))1−1/(2(k−1)), and the additive term k2π2/M2k^2\pi^2/M^2k2π2/M2. It also covers every modulus M≥1M\ge1M≥1, not only powers of two, and arbitrary A\mathcal AA and χ\chiχ, not only uniform search. Related statements are posed on the platform but unproved:

  • QAlgorithms.Nannicini.amplitudeEstimation_error is the special case k=1k=1k=1, M=2mM=2^mM=2m, with a bit-string presentation of the algorithm.
  • QAlgorithms.Nannicini.groverOperator_eigenstates states (3)–(4) for an abstract reflection.
  • QAlgorithms.DeWolf.amplitudeAmplification covers (8) and the 1−a1-a1−a half of Theorem 2.

The Grover theorems already proved on the platform treat a single marked item with a uniform start.

Difficulty

The obvious argument has two parts: Q\mathbf QQ rotates a plane by 2θa2\theta_a2θa​, and phase estimation reads off θa\theta_aθa​. Neither part settles the measurement law. The outcome probability is a sum over the second register of the squared amplitudes of an entangled state. Reducing it to two independent phase-estimation laws requires orthonormality of ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩, and that holds only for 0<a<10<a<10<a<1. The goal does not assume this: the degenerate cases a∈{0,1}a\in\{0,1\}a∈{0,1}, where ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩ do not exist, must be handled separately.

On the phase-estimation side, the tail bound for k≥2k\ge2k≥2 must be strict and must hold for every M≥1M\ge1M≥1. The bound 8/π28/\pi^28/π2 for k=1k=1k=1 relies on a minimization over Δ∈[0,1/M]\Delta\in[0,1/M]Δ∈[0,1/M] that needs M>2M>2M>2, while the goal has no such hypothesis, so the small cases M≤2M\le2M≤2 need their own argument. Finally, the second eigenphase appears as 1−θa/π1-\theta_a/\pi1−θa​/π, and the matching outcome M−yM-yM−y wraps to 000 at y=0y=0y=0.

Formalization scope

States are vectors ι→C\iota\to\mathbb Cι→C over a finite type ι\iotaι (the paper writes χ:Z→{0,1}\chi:\mathbb Z\to\{0,1\}χ:Z→{0,1}), operators are matrices, and {0,1}\{0,1\}{0,1} is Bool. A\mathcal AA is assumed unitary and A−1\mathcal A^{-1}A−1 is written A†\mathcal A^\daggerA†. The second register is Fin M with M≥1M\ge1M≥1; FMF_MFM​ is the platform's published Fourier matrix ShorAlgorithms.Shared.fourierMatrix (same sign and normalization as (13)), FM−1F_M^{-1}FM−1​ is its conjugate transpose, and ΛM\Lambda_MΛM​ is an explicit matrix on Fin M × ι. The outcome law is the sum over the second register of squared moduli of the final state, and an event's probability is the sum of the outcome probabilities over it. aaa is computed from A\mathcal AA, χ\chiχ and ∣0⟩|0\rangle∣0⟩, and θa=arcsin⁡a\theta_a=\arcsin\sqrt aθa​=arcsina​. The goal assumes neither 0<a<10<a<10<a<1 nor M>2M>2M>2, and it keeps the strict inequality for k≥2k\ge2k≥2. The step "after step 2, ignoring global phase" is stated with its phase −ı-\imath− written out.

A formalization that takes aaa or θa\theta_aθa​ as a free parameter, assumes the mixture form of the outcome law, or reasons about ∣Ψ±⟩|\Psi_\pm\rangle∣Ψ±​⟩ without deriving them from A\mathcal AA and χ\chiχ would make the goal trivial. The statements here do none of these: every quantity is computed from A\mathcal AA, χ\chiχ, ∣0⟩|0\rangle∣0⟩ and MMM. The clauses "uses exactly MMM evaluations of fff" (Theorem 12) and "requires exactly ⌈N⌉\lceil\sqrt N\rceil⌈N​⌉ evaluations" (Corollary 14) are not formalized, because the matrix model has no oracle whose calls could be counted. Theorem 13 is stated for any unitary sending ∣0⟩|0\rangle∣0⟩ to the uniform superposition, which includes FNF_NFN​, as the paper allows on p. 20.

A complete development needs:

  • geometric sums of roots of unity;
  • the Fejér-kernel identity of Lemma 10;
  • the inequality sin⁡x≥2x/π\sin x\ge 2x/\pisinx≥2x/π on [0,π/2][0,\pi/2][0,π/2];
  • a bound on ∑j≥k1/j2\sum_{j\ge k}1/j^2∑j≥k​1/j2;
  • Kronecker-product bookkeeping for two-register states.

The phase-estimation part (Lemma 10, Theorem 11) does not depend on amplification and can be reused by any later formalization of Fourier-based phase estimation. Proofs of individual milestones, and lemmas on Fin M Fourier sums, are welcome.

Selected references

  • G. Brassard, P. Høyer, M. Mosca, A. Tapp, Quantum Amplitude Amplification and Estimation, in Quantum Computation and Information, Contemporary Mathematics 305, AMS, 2002, pp. 53–74. arXiv:quant-ph/0005055
  • G. Brassard, P. Høyer, An exact quantum polynomial-time algorithm for Simon's problem, ISTCS 1997. arXiv:quant-ph/9704027
  • G. Brassard, P. Høyer, A. Tapp, Quantum counting, ICALP 1998. arXiv:quant-ph/9805082
  • L. K. Grover, A fast quantum mechanical algorithm for database search, STOC 1996. arXiv:quant-ph/9605043
  • A. Montanaro, Quantum speedup of Monte Carlo methods, Proc. R. Soc. A 471, 2015. arXiv:1504.06987
14 thms2 active usersReviewed
Number Theory·Captain: Lucas

Shor's Algorithm (Wikipedia): Quantum Order Finding and the Reduction of FactoringTextbook

Motivation

Shor's algorithm is a quantum algorithm that finds a nontrivial factor of an integer NNN in time polynomial in log⁡N\log NlogN, and its variants compute discrete logarithms in finite cyclic groups. It was developed by Peter Shor in 1994 (Shor, FOCS 1994; Shor, SIAM J. Comput. 1997). No classical polynomial-time factoring algorithm is known; the best classical method, the general number field sieve, runs in sub-exponential time. Because the security of RSA and of finite-field and elliptic-curve Diffie–Hellman rests on the hardness of factoring and of discrete logarithms, Shor's algorithm is the main reason these schemes are considered breakable by a large fault-tolerant quantum computer, and the main motivation for post-quantum cryptography.

This mission follows the presentation of the algorithm in the Wikipedia article Shor's algorithm (revision 1378862216), which describes the quantum part through quantum phase estimation, an approach due to Kitaev (Kitaev 1995) and standard in textbooks (Nielsen–Chuang 2010).

Setting

Let 1<a<N1 < a < N1<a<N be integers with gcd⁡(a,N)=1\gcd(a, N) = 1gcd(a,N)=1. The order r=ord⁡N(a)r = \operatorname{ord}_N(a)r=ordN​(a) is the smallest positive integer with ar≡1(modN)a^r \equiv 1 \pmod Nar≡1(modN).

Classical reduction. If rrr is even and N∤ar/2+1N \nmid a^{r/2}+1N∤ar/2+1, then gcd⁡(N,ar/2−1)\gcd(N, a^{r/2}-1)gcd(N,ar/2−1) is a nontrivial factor of NNN. Factoring therefore reduces to computing orders.

Quantum order finding. Let n=⌈log⁡2N⌉n = \lceil\log_2 N\rceiln=⌈log2​N⌉ and Q=22nQ = 2^{2n}Q=22n. A state of an mmm-qubit register is a vector in C2m\mathbb C^{2^m}C2m with standard basis ∣0⟩,…,∣2m−1⟩|0\rangle, \dots, |2^m-1\rangle∣0⟩,…,∣2m−1⟩. The modular-multiplication gate is the nnn-qubit gate

U∣k⟩=∣ak mod N⟩ (0≤k<N),U∣k⟩=∣k⟩ (N≤k<2n).U|k\rangle = |ak \bmod N\rangle \ (0 \le k < N), \qquad U|k\rangle = |k\rangle \ (N \le k < 2^n).U∣k⟩=∣akmodN⟩ (0≤k<N),U∣k⟩=∣k⟩ (N≤k<2n).

With ωr=e2πi/r\omega_r = e^{2\pi i/r}ωr​=e2πi/r, the states ∣ψj⟩=r−1/2∑k=0r−1ωr−kj∣ak mod N⟩|\psi_j\rangle = r^{-1/2}\sum_{k=0}^{r-1}\omega_r^{-kj}|a^k \bmod N\rangle∣ψj​⟩=r−1/2∑k=0r−1​ωr−kj​∣akmodN⟩ are eigenvectors of UUU with eigenvalues ωrj\omega_r^jωrj​. The order-finding circuit acts on a 2n2n2n-qubit first register and the nnn-qubit second register: Hadamard gates H⊗2nH^{\otimes 2n}H⊗2n on the first register, controlled gates C-U2iC\text{-}U^{2^i}C-U2i for i=0,…,2n−1i = 0, \dots, 2n-1i=0,…,2n−1 (qubit iii of the first register controls U2iU^{2^i}U2i on the second), and the inverse quantum Fourier transform QFT22n−1\mathrm{QFT}^{-1}_{2^{2n}}QFT22n−1​ on the first register. It is applied to ∣0⟩⊗2n∣1⟩|0\rangle^{\otimes 2n}|1\rangle∣0⟩⊗2n∣1⟩ and the first register is measured, producing an outcome k∈{0,…,Q−1}k \in \{0, \dots, Q-1\}k∈{0,…,Q−1} with probability P(k)P(k)P(k). Finally the continued fractions algorithm is run on k/Qk/Qk/Q.

Formalization targets

Goal: one run of the order-finding subroutine

For every j∈{0,…,r−1}j \in \{0, \dots, r-1\}j∈{0,…,r−1},

∑k : ∣k/22n−j/r∣≤2−(2n+1)P(k)  ≥  4π2r,\sum_{k\,:\,|k/2^{2n} - j/r| \le 2^{-(2n+1)}} P(k) \;\ge\; \frac{4}{\pi^2 r},k:∣k/22n−j/r∣≤2−(2n+1)∑​P(k)≥π2r4​,

and for every such kkk some continued fraction convergent of k/22nk/2^{2n}k/22n equals j/rj/rj/r in lowest terms, i.e. has numerator j/gcd⁡(j,r)j/\gcd(j,r)j/gcd(j,r) and denominator r/gcd⁡(j,r)r/\gcd(j,r)r/gcd(j,r). Summed over jjj, a single run yields with probability at least 4/π24/\pi^24/π2 an outcome from which the continued fractions algorithm recovers some j/rj/rj/r in lowest terms.

Milestones

  1. Classical reduction (article section "Classical reduction"): gcd⁡(a,N)≠1\gcd(a,N) \ne 1gcd(a,N)=1 is a nontrivial factor; N∣(ar/2−1)(ar/2+1)N \mid (a^{r/2}-1)(a^{r/2}+1)N∣(ar/2−1)(ar/2+1) for even rrr; N∤ar/2−1N \nmid a^{r/2}-1N∤ar/2−1; and gcd⁡(N,ar/2∓1)\gcd(N, a^{r/2} \mp 1)gcd(N,ar/2∓1) are nontrivial factors when N∤ar/2+1N \nmid a^{r/2}+1N∤ar/2+1.
  2. Spectrum of UUU (section "Quantum phase estimation"): Ur=IU^r = IUr=I; every eigenvalue is some ωrk\omega_r^kωrk​; U∣ψj⟩=ωrj∣ψj⟩U|\psi_j\rangle = \omega_r^j|\psi_j\rangleU∣ψj​⟩=ωrj​∣ψj​⟩; ∑jωrjk=0\sum_{j}\omega_r^{jk} = 0∑j​ωrjk​=0 for 1≤k≤r−11 \le k \le r-11≤k≤r−1; r−1/2∑j∣ψj⟩=∣1⟩r^{-1/2}\sum_j|\psi_j\rangle = |1\rangler−1/2∑j​∣ψj​⟩=∣1⟩.
  3. Phase estimation: on ∣0⟩⊗2n∣ψj⟩|0\rangle^{\otimes 2n}|\psi_j\rangle∣0⟩⊗2n∣ψj​⟩ the circuit outputs ∣ϕj⟩∣ψj⟩|\phi_j\rangle|\psi_j\rangle∣ϕj​⟩∣ψj​⟩ with ∣⟨k∣ϕj⟩∣2≥4/π2|\langle k|\phi_j\rangle|^2 \ge 4/\pi^2∣⟨k∣ϕj​⟩∣2≥4/π2 at every nearest integer kkk to 22nj/r2^{2n}j/r22nj/r; on ∣0⟩⊗2n∣1⟩|0\rangle^{\otimes 2n}|1\rangle∣0⟩⊗2n∣1⟩ each ∣ϕj⟩|\phi_j\rangle∣ϕj​⟩ is found with probability 1/r1/r1/r.
  4. Continued fractions and register size (section "Choosing the size of the first register"): ∣j/r−φ∣<1/(2r2)|j/r - \varphi| < 1/(2r^2)∣j/r−φ∣<1/(2r2) implies φ\varphiφ has j/rj/rj/r in lowest terms as a convergent, and 2−(2n+1)≤1/(2N2)≤1/(2r2)2^{-(2n+1)} \le 1/(2N^2) \le 1/(2r^2)2−(2n+1)≤1/(2N2)≤1/(2r2).
  5. Discrete logarithms (section "Shor's algorithm for discrete logarithms"): f(a,b)=gax−bf(a,b) = g^a x^{-b}f(a,b)=gax−b on Zp×Zp\mathbb Z_p \times \mathbb Z_pZp​×Zp​ is a homomorphism with kernel the multiples of (r,1)(r,1)(r,1).

Significance

The goal is the quantitative statement behind the article's claim that phase estimation "gives as output a random integer of the form jr22n\frac{j}{r}2^{2n}rj​22n" and that a 2n2n2n-qubit first register suffices to recover j/rj/rj/r. Combined with the classical milestones, it is the correctness argument of Shor's factoring algorithm, minus the separate number-theoretic estimate of how often a random aaa has even order with ar/2≢−1a^{r/2} \not\equiv -1ar/2≡−1, which the article does not state.

The results are classical and their proofs are published. The work this mission asks for is a machine-checked proof against an explicit gate-level model of the circuit — Hadamard tensor power, controlled modular-multiplication gates, inverse QFT — rather than against a closed-form output distribution assumed up front. Related missions on the platform formalize Shor's 1997 paper, which analyses the circuit by a direct Fourier-sum computation with q≥N2q \ge N^2q≥N2; this mission follows the phase-estimation route with the article's constants.

Difficulty

The spectral facts about UUU and the classical reduction are short arguments. The main obstacle is the circuit: showing that the product of the 2n2n2n controlled gates C-U2iC\text{-}U^{2^i}C-U2i acts on ∣x⟩∣ψj⟩|x\rangle|\psi_j\rangle∣x⟩∣ψj​⟩ as multiplication by ωrjx\omega_r^{jx}ωrjx​ requires the binary expansion of xxx and the commutation of the controlled gates, and the subsequent inverse QFT must be computed explicitly. The bound 4/π24/\pi^24/π2 requires an estimate of ∣∑x<Qe2πixδ∣\left|\sum_{x<Q} e^{2\pi i x\delta}\right|​∑x<Q​e2πixδ​ for ∣δ∣≤1/(2Q)|\delta| \le 1/(2Q)∣δ∣≤1/(2Q) which is uniform in QQQ; a crude estimate gives a weaker constant. The measurement identity P(k)=1r∑jPj(k)P(k) = \frac1r\sum_j P_j(k)P(k)=r1​∑j​Pj​(k) requires the orthonormality of the ∣ψj⟩|\psi_j\rangle∣ψj​⟩, which uses that a0,…,ar−1a^0, \dots, a^{r-1}a0,…,ar−1 are distinct modulo NNN.

Formalization scope

States are coordinate vectors Fin d → ℂ, gates are complex matrices acting by Matrix.mulVec, two-register operators are Kronecker products on Fin d₁ × Fin d₂, and measurement probabilities are sums of squared moduli. The order is orderOf (a : ZMod N) and nnn is Nat.clog 2 N. Convergents are Mathlib's Real.convergent, the standard continued fraction expansion. The goal is a statement about the specific circuit defined in the mission's definition file, so it cannot be satisfied by choosing a convenient output distribution, and the recovery statement is quantified over a fixed jjj, so the trivial convergent ⌊k/Q⌋=0\lfloor k/Q\rfloor = 0⌊k/Q⌋=0 (which equals 0/r0/r0/r) does not discharge it for j≠0j \ne 0j=0.

Reusable infrastructure welcome from this mission: the action of the Kronecker-product phase estimation circuit on eigenstates, the explicit inverse QFT computation, and the 4/π24/\pi^24/π2 estimate for the Fejér-type kernel.

Selected references

  • P. W. Shor, Algorithms for quantum computation: discrete logarithms and factoring, Proc. 35th FOCS, 1994. https://doi.org/10.1109/sfcs.1994.365700
  • P. W. Shor, Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer, SIAM J. Comput. 26(5), 1997. https://arxiv.org/abs/quant-ph/9508027
  • A. Yu. Kitaev, Quantum measurements and the Abelian stabilizer problem, 1995. https://arxiv.org/abs/quant-ph/9511026
  • M. A. Nielsen, I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010. https://doi.org/10.1017/CBO9780511976667
  • Wikipedia, Shor's algorithm, revision 1378862216. https://en.wikipedia.org/w/index.php?title=Shor%27s_algorithm&oldid=1378862216
16 thms2 active usersReviewed
Mathematical PhysicsQuantum Error CorrectionQuantum Gravity·Captain: Lucas

Harlow TASI 2017: Entanglement Wedge Reconstruction, Quantum RT and JLMS are EquivalentResearch Paper

Motivation

In the AdS/CFT correspondence a quantum theory of gravity in an asymptotically anti-de Sitter spacetime is equivalent to a conformal field theory on its boundary. A central question is how local bulk physics is encoded in the boundary theory, and in particular which bulk region is described by a given boundary subregion RRR. Harlow's TASI 2017 lectures (arXiv:1802.01040) review the answer that emerged from quantum error correction: the boundary Hilbert space is a code, bulk effective field theory lives in a code subspace, and the boundary subregion RRR can reconstruct every bulk operator in its entanglement wedge. The lectures state as their main technical target the theorem that this entanglement wedge reconstruction, the quantum Ryu–Takayanagi (RT) formula with a central area operator, and the JLMS formula (equality of boundary and bulk relative entropies) are mathematically equivalent. All of these statements are finite-dimensional linear algebra, which makes them formalizable now.

Timeline. Almheiri, Dong and Harlow proposed the quantum-error-correction interpretation of AdS/CFT in 2014 (arXiv:1411.7041). Jafferis, Lewkowycz, Maldacena and Suh derived the JLMS relation in 2015 (arXiv:1512.06431), and Dong, Harlow and Wall established the implications between JLMS and reconstruction for factors in 2016 (arXiv:1601.05416). Harlow proved the general three-way equivalence for arbitrary finite-dimensional von Neumann algebras in 2016 (arXiv:1607.03901, Comm. Math. Phys. 2017). The TASI lectures (2017, published 2018) present this theorem as Theorem 5.2.

Setting

All Hilbert spaces are finite-dimensional. The boundary space factorizes as H=HR⊗HR‾\mathcal H=\mathcal H_R\otimes\mathcal H_{\overline R}H=HR​⊗HR​. A code subspace Hcode⊆H\mathcal H_{code}\subseteq\mathcal HHcode​⊆H is described by an isometry VVV whose columns ∣i~⟩|\tilde i\rangle∣i~⟩ are an orthonormal basis of Hcode\mathcal H_{code}Hcode​. An operator ORO_ROR​ on HR\mathcal H_RHR​ represents a logical operator O~\tilde OO~ if OR∣ψ~⟩=O~∣ψ~⟩O_R|\tilde\psi\rangle=\tilde O|\tilde\psi\rangleOR​∣ψ~​⟩=O~∣ψ~​⟩ and OR†∣ψ~⟩=O~†∣ψ~⟩O_R^\dagger|\tilde\psi\rangle=\tilde O^\dagger|\tilde\psi\rangleOR†​∣ψ~​⟩=O~†∣ψ~​⟩ for every code state.

A von Neumann algebra MMM on Hcode\mathcal H_{code}Hcode​ is a set of operators closed under sums, products and adjoints and containing all multiples of the identity; M′M'M′ is its commutant and ZM=M∩M′Z_M=M\cap M'ZM​=M∩M′ its center. Every such MMM is block diagonal, Hcode=⨁αHrα⊗Hr‾α\mathcal H_{code}=\bigoplus_\alpha\mathcal H_{r_\alpha}\otimes\mathcal H_{\overline r_\alpha}Hcode​=⨁α​Hrα​​⊗Hrα​​ with M=⨁αL(Hrα)⊗Ir‾αM=\bigoplus_\alpha\mathcal L(\mathcal H_{r_\alpha})\otimes I_{\overline r_\alpha}M=⨁α​L(Hrα​​)⊗Irα​​. For a state ρ~\tilde\rhoρ~​ with diagonal blocks pαρ~rαr‾αp_\alpha\tilde\rho_{r_\alpha\overline r_\alpha}pα​ρ~​rα​rα​​, the algebraic entropy is S(ρ~,M)=−∑αpαlog⁡pα+∑αpαS(ρ~rα)S(\tilde\rho,M)=-\sum_\alpha p_\alpha\log p_\alpha+\sum_\alpha p_\alpha S(\tilde\rho_{r_\alpha})S(ρ~​,M)=−∑α​pα​logpα​+∑α​pα​S(ρ~​rα​​), and the algebraic relative entropy S(ρ~∣σ~,M)S(\tilde\rho|\tilde\sigma,M)S(ρ~​∣σ~,M) is defined analogously (eqs. (5.16), (5.18)).

Formalization targets

Goal: Theorem 5.2 (entanglement wedge reconstruction theorem)

For Hcode⊆HR⊗HR‾\mathcal H_{code}\subseteq\mathcal H_R\otimes\mathcal H_{\overline R}Hcode​⊆HR​⊗HR​ and a von Neumann algebra MMM on Hcode\mathcal H_{code}Hcode​, the following are equivalent:

(1) every O~∈M is represented on R and every O~′∈M′ on R‾;\text{(1) every } \tilde O\in M \text{ is represented on } R \text{ and every } \tilde O'\in M' \text{ on } \overline R;(1) every O~∈M is represented on R and every O~′∈M′ on R; (2) ∃ LR∈ZM: S(ρ~R)=Tr(ρ~LR)+S(ρ~,M),  S(ρ~R‾)=Tr(ρ~LR)+S(ρ~,M′)  ∀ρ~;\text{(2) } \exists\,\mathcal L_R\in Z_M:\ S(\tilde\rho_R)=\mathrm{Tr}(\tilde\rho\mathcal L_R)+S(\tilde\rho,M),\ \ S(\tilde\rho_{\overline R})=\mathrm{Tr}(\tilde\rho\mathcal L_R)+S(\tilde\rho,M')\ \ \forall\tilde\rho;(2) ∃LR​∈ZM​: S(ρ~​R​)=Tr(ρ~​LR​)+S(ρ~​,M),  S(ρ~​R​)=Tr(ρ~​LR​)+S(ρ~​,M′)  ∀ρ~​; (3) S(ρ~R∣σ~R)=S(ρ~∣σ~,M),  S(ρ~R‾∣σ~R‾)=S(ρ~∣σ~,M′)  ∀ρ~,σ~.\text{(3) } S(\tilde\rho_R|\tilde\sigma_R)=S(\tilde\rho|\tilde\sigma,M),\ \ S(\tilde\rho_{\overline R}|\tilde\sigma_{\overline R})=S(\tilde\rho|\tilde\sigma,M')\ \ \forall\tilde\rho,\tilde\sigma.(3) S(ρ~​R​∣σ~R​)=S(ρ~​∣σ~,M),  S(ρ~​R​∣σ~R​)=S(ρ~​∣σ~,M′)  ∀ρ~​,σ~.

Milestones

  • Theorem 4.1: four equivalent characterizations of a correctable erasure of R‾\overline RR (operator reconstruction on RRR; PXR‾P=λPPX_{\overline R}P=\lambda PPXR​P=λP; decoupling of a reference system from R‾\overline RR; the explicit encoding ∣i~⟩=UR(∣i⟩R1∣χ⟩R2R‾)|\tilde i\rangle=U_R(|i\rangle_{R_1}|\chi\rangle_{R_2\overline R})∣i~⟩=UR​(∣i⟩R1​​∣χ⟩R2​R​)).
  • Eq. (4.25): the quantum Singleton bound m≥n+k2m\ge\frac{n+k}{2}m≥2n+k​ for codes whose accessibility depends only on the number of qudits.
  • Theorem 5.1: every von Neumann algebra on a finite-dimensional Hilbert space is a block-diagonal direct sum of factors, with the matching descriptions of M′M'M′ and ZMZ_MZM​.

Significance

Theorem 5.2 turns three separately motivated features of holography into a single mathematical statement. Since the RT formula is independently derived from the gravitational path integral, the theorem implies subregion duality in the entanglement wedge; it also shows that a non-trivial area operator requires an algebra with non-trivial center. Theorem 4.1 is the subsystem-code special case, and Theorem 5.1 is the structure result that gives the algebraic entropies their meaning.

The results are proved in the literature (Harlow 2017 for Theorem 5.2; Theorems 4.1 and 5.1 are standard), but the lectures state Theorem 5.2 without proof, and none of these statements has a machine-checked proof that this mission is aware of. The mission produces formal statements and, eventually, formal proofs of the finite-dimensional structure theory of operator-algebra quantum error correction.

Difficulty

The three conditions live at different levels: (1) is a statement about operators, (2) about von Neumann entropies of single states, and (3) about relative entropies of pairs of states. Passing between them requires control of the full block structure of MMM relative to the bipartition RR‾R\overline RRR, not only of a single factor, and the classical term ∑αpαlog⁡(pα/qα)\sum_\alpha p_\alpha\log(p_\alpha/q_\alpha)∑α​pα​log(pα​/qα​) of (5.18) couples different blocks, so the general case does not reduce to the factor case treated earlier in the literature. Relative entropies can be infinite (when supports are not nested), so the equalities in (3) are equalities of extended reals and every argument must remain valid at +∞+\infty+∞.

Formalization scope

Hilbert spaces are coordinate spaces Cι\mathbb C^{\iota}Cι for finite index types, operators are complex matrices, tensor products are Kronecker products, and Hcode\mathcal H_{code}Hcode​ is the image of an isometry VVV (an operator ORO_ROR​ acts on code states as OR⊗IR‾O_R\otimes I_{\overline R}OR​⊗IR​ applied to VVV). States are density matrices (positive semidefinite, trace one). Von Neumann entropy and relative entropy are defined from eigen-decompositions; relative entropy takes values in the extended reals. A von Neumann algebra is a ∗*∗-subalgebra of matrices; the algebraic entropies are computed in a block decomposition UUU of MMM, which every statement takes as an arbitrary decomposition realizing MMM (the value does not depend on the choice). The RT identity is stated as an equality of complex numbers. Theorem 4.1 assumes a nonzero code subspace; the Singleton bound assumes d≥2d\ge2d≥2 and k≥1k\ge1k≥1; both conditions are implicit in the lectures and are needed for the statements to be true.

A trivializing reading is excluded: the hypotheses of every statement are satisfiable, and the goal is a full equivalence of three non-trivial conditions rather than any single implication.

Useful reusable infrastructure: partial traces and their interaction with Kronecker products, entropies of block-diagonal states, relative entropy (Klein's inequality and its equality case), and the structure theory of finite-dimensional ∗*∗-algebras of matrices. Contributions of proofs of the individual implications (1)⇒(2), (2)⇒(3), (3)⇒(1) as sketches are welcome.

Selected references

  • D. Harlow, TASI Lectures on the Emergence of Bulk Physics in AdS/CFT, PoS(TASI2017)002, 2018. https://arxiv.org/abs/1802.01040
  • D. Harlow, The Ryu–Takayanagi Formula from Quantum Error Correction, Comm. Math. Phys. 354 (2017) 865–912. https://arxiv.org/abs/1607.03901
  • A. Almheiri, X. Dong, D. Harlow, Bulk Locality and Quantum Error Correction in AdS/CFT, JHEP 04 (2015) 163. https://arxiv.org/abs/1411.7041
  • D. Jafferis, A. Lewkowycz, J. Maldacena, S. J. Suh, Relative entropy equals bulk relative entropy, JHEP 06 (2016) 004. https://arxiv.org/abs/1512.06431
  • X. Dong, D. Harlow, A. C. Wall, Reconstruction of Bulk Operators within the Entanglement Wedge in Gauge-Gravity Duality, Phys. Rev. Lett. 117 (2016) 021601. https://arxiv.org/abs/1601.05416
10 thms2 active usersReviewed
Information TheoryProbability·Captain: mikedeng1

Semidefinite Programming Hierarchies for Constrained Bilinear Optimization II: De Finetti Without Symmetry — Random Subsystems Are 3k^{3/2}d_B³ log d_B/√(n−k+1)-Close to Product in ExpectationResearch Paper

Motivation

Quantum information often describes a system through a state shared among many small registers. One would like to replace the state on a few registers by a product of their individual states, because product states are easier to estimate and optimize over. The usual finite quantum de Finetti theorems obtain such approximations from permutation symmetry. A physical preparation, however, need not be symmetric. Berta, Borderi, Fawzi and Scholz give a quantitative statement that instead selects the retained registers at random and conditions on measurements of other registers. Their Theorem 2.5 is the target here.

The authors place this result alongside their hierarchy for constrained bilinear optimization, but the theorem without symmetry is independent of the hierarchy. In §2.6 they compare its polynomial dependence on the local dimension and the number of retained registers with the earlier no-symmetry approximation discussed in their reference [12]. The result identifies exactly what random selection and measurement can supply when a global permutation-invariance hypothesis is unavailable.

Setting

Let BBB be a quantum system of dimension dBd_BdB​, and let ρ\rhoρ be an arbitrary density operator on nnn copies of BBB. Choose a uniformly random permutation of these copies. Its first kkk positions form an ordered tuple i⃗=(i1,…,ik)\vec i=(i_1,\ldots,i_k)i=(i1​,…,ik​) of systems to retain; the remaining r=n−kr=n-kr=n−k positions form an ordered tuple j⃗=(j1,…,jr)\vec j=(j_1,\ldots,j_r)j​=(j1​,…,jr​) available for measurement. There is no symmetry condition on ρ\rhoρ.

A measurement on BBB has finitely many outcomes zzz and positive operators MzM_zMz​ whose sum is the identity. Measure the first mmm systems j1,…,jmj_1,\ldots,j_mj1​,…,jm​, where 0≤m≤r0\le m\le r0≤m≤r, and condition the retained state on the observed outcomes. Write ρi⃗∣z\rho_{\vec i\mid z}ρi∣z​ for that conditional state and ρis∣z\rho_{i_s\mid z}ρis​∣z​ for its marginal on the sssth retained system. The trace norm ∥X∥1=Tr⁡X†X\|X\|_1=\operatorname{Tr}\sqrt{X^\dagger X}∥X∥1​=TrX†X​ measures the error between ρi⃗∣z\rho_{\vec i\mid z}ρi∣z​ and ρi1∣z⊗⋯⊗ρik∣z\rho_{i_1\mid z}\otimes\cdots\otimes\rho_{i_k\mid z}ρi1​∣z​⊗⋯⊗ρik​∣z​. The expectation is over the uniform permutation and the measurement outcomes, with their Born-rule probabilities.

The distortion with side information of a fixed measurement is the largest ratio between an input trace norm and the norm left after measuring only its BBB factor. The input ranges over Hermitian operators on A⊗BA\otimes BA⊗B, over every finite-dimensional side system AAA, with zero partial trace on both AAA and BBB. The paper's f(B∣⋅)f(B\mid\cdot)f(B∣⋅) is the infimum of this distortion over all measurements on BBB equation (10). A state two-design is a finite family of rank-one projectors whose average second tensor power is the projector onto the symmetric subspace with the normalization in Lemma D.1. The projectors give an explicit measurement with distortion at most dB2(dB+1)d_B^2(d_B+1)dB2​(dB​+1).

Formalization targets

The principal target is the explicit form of Theorem 2.5. For 1≤k≤n1\le k\le n1≤k≤n, put r=n−kr=n-kr=n−k. With the two-design measurement, some m∈{0,…,r}m\in\{0,\ldots,r\}m∈{0,…,r} satisfies

Ei⃗,j⃗,z∥ρi⃗∣z−⨂s=1kρis∣z∥1≤kdB2(dB+1)(2ln⁡2)(k−1)log⁡2dBr+1≤3k3/2dB3log⁡2dBr+1.\mathbb E_{\vec i,\vec j,z}\left\|\rho_{\vec i\mid z}-\bigotimes_{s=1}^k\rho_{i_s\mid z}\right\|_1 \le k d_B^2(d_B+1)\sqrt{\frac{(2\ln 2)(k-1)\log_2 d_B}{r+1}} \le \frac{3k^{3/2}d_B^3\log_2 d_B}{\sqrt{r+1}}.Ei,j​,z​​ρi∣z​−s=1⨂k​ρis​∣z​​1​≤kdB2​(dB​+1)r+1(2ln2)(k−1)log2​dB​​​≤r+1​3k3/2dB3​log2​dB​​.

Here the zzz in the expectation is the outcome string for the first mmm members of j⃗\vec jj​. The same mmm is chosen before taking that expectation. This rate is stated with its constants and its two consecutive inequalities; an existence assertion without the error bound would lose the theorem's content.

The milestone path also states the telescoping trace-norm inequality of equation (12), the measurement estimate of Lemma D.1, and the final averaged inequality on p. 11. A companion milestone treats any fixed POVM with its own distortion. That formulation captures the proof's arbitrary-measurement step without treating the infimum f(B∣⋅)f(B\mid\cdot)f(B∣⋅) as if every measurement attained it.

Significance

For an arbitrary multipartite state, random ordering and conditioning give one measured prefix length at which the selected registers have small expected distance from a product. The explicit rate is polynomial in dBd_BdB​ and kkk and decays as 1/n−k+11/\sqrt{n-k+1}1/n−k+1​. It therefore gives a quantitative approximation guarantee under a selection rule that can be applied without first establishing exchangeability Berta et al., §2.6.

The theorem is proved in the paper; the work here is to express its state, measurement, conditional distribution, and norm bound in Lean and to connect the estimate to reusable finite-dimensional quantum-information definitions. The local statements are currently proof obligations, not machine-checked proofs. The published density-operator, trace-norm, and partial-trace definitions are reused. Once proved, the statements can serve as a precise interface for subsequent formal work on randomized subsystem selection and information-theoretic decoupling.

Difficulty

Randomly choosing systems does not turn the original state into a product state. A direct bound on the distance to a product can be large even when each one-system marginal is simple, because correlations among the retained systems remain. Equation (12) breaks the total error into successive correlation terms; the paper controls their average by measuring other systems and using information-theoretic estimates. A second difficulty is that a measurement can erase distinctions between different input operators. The two-design estimate supplies a dimension-dependent bound on that loss, uniformly over the size of a side system.

The printed theorem leaves the measurement MBM_BMB​ unspecified while using the minimum distortion over all measurements. A trivial measurement cannot satisfy that reading. The proof explicitly permits the measurement built from a state two-design, with dB2(dB+1)d_B^2(d_B+1)dB2​(dB​+1) replacing f(B∣⋅)f(B\mid\cdot)f(B∣⋅); that is the measurement used in the goal proof of Theorem 2.5, p. 10.

Formalization scope

The BBB system has basis Fin dB; nnn copies have basis Fin n → Fin dB. The formalization writes n=k+rn=k+rn=k+r, assumes k≥1k\ge1k≥1, and ranges over m≤rm\le rm≤r. A state is a positive semidefinite complex matrix with trace one. Permutations act on the copy coordinates, and their finite uniform average models the paper's random ordered tuples. Measurement outcomes are finite words; the conditional state divides the unnormalized post-measurement state by its probability. A zero-probability outcome uses Lean's zero inverse and contributes zero to the weighted expectation. The existence of a state and of a nonempty two-design rules out zero-dimensional and empty-outcome instances in the goal.

The fixed-measurement distortion and f(B∣⋅)f(B\mid\cdot)f(B∣⋅) take values in extended nonnegative reals, so a measurement that destroys a nonzero operator has infinite distortion. The logarithm is base two except for ln⁡2\ln 2ln2. The definitions use the paper's unnormalized trace norm, with no factor 1/21/21/2. No mutual-information estimate or Pinsker inequality is assumed in the goal: both belong to possible proofs. Contributions proving the stated milestones, the positivity and normalization of the conditional states, or reusable trace-norm facts for finite tensor products all advance the target.

Selected references

  • M. Berta, F. Borderi, O. Fawzi and V. B. Scholz, Semidefinite programming hierarchies for constrained bilinear optimization, Mathematical Programming, 2021; arXiv:1810.12197v3.
12 thms2 active usersReviewed
Convex OptimizationInformation TheoryOptimization·Captain: mikedeng1

Semidefinite Programming Hierarchies for Constrained Bilinear Optimization I: The Linearly Constrained de Finetti SDP Hierarchy Satisfies Q ≤ SDPₙ ≤ Q + ‖G‖∞·d_B²(d_B+1)·√((2 ln 2) log d_A / n)Research Paper

Motivation

Many problems in quantum information theory ask for the maximum of a linear functional over pairs of quantum states, one on each of two systems, subject to linear constraints on each state. The best success probability of an approximate quantum error-correcting code of given size is of this form: the encoder and the decoder are quantum channels, their Choi matrices are states with fixed marginals, and the objective is bilinear in the two (Berta, Borderi, Fawzi & Scholz, arXiv:1810.12197, §4). Such constrained bilinear programs are nonconvex. Seesaw methods give lower bounds that often converge in practice, but they offer no guarantee of global optimality. What is needed is a hierarchy of efficiently computable outer bounds that converges to the optimum, with an explicit rate.

For the unconstrained problem, the optimisation over separable states, such a hierarchy is classical: the Doherty–Parrilo–Spedalieri hierarchy of nnn-extendible states, whose convergence follows from finite quantum de Finetti theorems (Christandl, König, Mitchison & Renner 2007; Brandão & Harrow 2013). The standard de Finetti approximant is, however, a mixture of product states that need not satisfy the linear constraints, so it says nothing about the constrained problem. The paper proves a de Finetti theorem with linear constraints (Theorem 2.3) and derives from it a semidefinite hierarchy for constrained bilinear programs with a convergence guarantee (Theorem 3.1).

Setting

A ddd-dimensional quantum system has operator space S=Cd×d\mathcal S=\mathbb C^{d\times d}S=Cd×d; a state is a positive semidefinite W∈SW\in\mathcal SW∈S with Tr W=1\mathrm{Tr}\,W=1TrW=1. Let AAA and BBB be systems of dimensions dAd_AdA​ and dBd_BdB​. The data are an objective GAB∈SA⊗SBG_{AB}\in\mathcal S_A\otimes\mathcal S_BGAB​∈SA​⊗SB​, arbitrary linear maps ΛA→CA:SA→SCA\Lambda_{A\to C_A}:\mathcal S_A\to\mathcal S_{C_A}ΛA→CA​​:SA​→SCA​​ and ΓB→CB:SB→SCB\Gamma_{B\to C_B}:\mathcal S_B\to\mathcal S_{C_B}ΓB→CB​​:SB​→SCB​​, and matrices XCAX_{C_A}XCA​​, YCBY_{C_B}YCB​​. The constrained bilinear program is

Q=max⁡ Tr[GAB(WA⊗WB)]s.t. WA,WB states,ΛA→CA(WA)=XCA,ΓB→CB(WB)=YCB.Q=\max\ \mathrm{Tr}[G_{AB}(W_A\otimes W_B)]\quad\text{s.t. } W_A,W_B\ \text{states},\quad \Lambda_{A\to C_A}(W_A)=X_{C_A},\quad \Gamma_{B\to C_B}(W_B)=Y_{C_B}.Q=max Tr[GAB​(WA​⊗WB​)]s.t. WA​,WB​ states,ΛA→CA​​(WA​)=XCA​​,ΓB→CB​​(WB​)=YCB​​.

For n≥1n\ge1n≥1 let B1,…,BnB_1,\dots,B_nB1​,…,Bn​ be copies of BBB. A state WAB1nW_{AB_1^n}WAB1n​​ on A⊗B1⋯BnA\otimes B_1\cdots B_nA⊗B1​⋯Bn​ is symmetric with respect to AAA if it is invariant under every permutation UB1nπ\mathcal U^\pi_{B_1^n}UB1n​π​ of the copies B1,…,BnB_1,\dots,B_nB1​,…,Bn​, π∈Sn\pi\in\mathfrak S_nπ∈Sn​. Write WB1n=TrAWAB1nW_{B_1^n}=\mathrm{Tr}_A W_{AB_1^n}WB1n​​=TrA​WAB1n​​, WB1n−1=TrBnWB1nW_{B_1^{n-1}}=\mathrm{Tr}_{B_n}W_{B_1^n}WB1n−1​​=TrBn​​WB1n​​ and WAB1=TrB2nWAB1nW_{AB_1}=\mathrm{Tr}_{B_2^n}W_{AB_1^n}WAB1​​=TrB2n​​WAB1n​​. The level-nnn program is

SDPn=max⁡ Tr[GABWAB1]s.t. WAB1n a state, symmetric with respect to A,\mathrm{SDP}_n=\max\ \mathrm{Tr}[G_{AB}W_{AB_1}]\quad\text{s.t. } W_{AB_1^n}\ \text{a state, symmetric with respect to } A,SDPn​=max Tr[GAB​WAB1​​]s.t. WAB1n​​ a state, symmetric with respect to A, (ΛA→CA⊗IB1n)(WAB1n)=XCA⊗WB1n,(IB1n−1⊗ΓBn→CB)(WB1n)=WB1n−1⊗YCB.(\Lambda_{A\to C_A}\otimes\mathcal I_{B_1^n})(W_{AB_1^n})=X_{C_A}\otimes W_{B_1^n},\qquad (\mathcal I_{B_1^{n-1}}\otimes\Gamma_{B_n\to C_B})(W_{B_1^n})=W_{B_1^{n-1}}\otimes Y_{C_B}.(ΛA→CA​​⊗IB1n​​)(WAB1n​​)=XCA​​⊗WB1n​​,(IB1n−1​​⊗ΓBn​→CB​​)(WB1n​​)=WB1n−1​​⊗YCB​​.

It is a semidefinite program of size polynomial in dAd_AdA​ and dBnd_B^ndBn​.

The rate involves the trace norm ∥X∥1=Tr∣X∣\|X\|_1=\mathrm{Tr}|X|∥X∥1​=Tr∣X∣, the Schatten ∞\infty∞-norm ∥G∥∞\|G\|_\infty∥G∥∞​ (largest singular value), and the minimal distortion with side information of BBB,

f(B∣⋅)=inf⁡MB sup⁡ξAB†=ξABξA=0, ξB=0∥ξAB∥1∥(IA⊗MB)(ξAB)∥1,f(B|\cdot)=\inf_{\mathcal M_B}\ \sup_{\substack{\xi_{AB}^\dagger=\xi_{AB}\\ \xi_A=0,\ \xi_B=0}}\frac{\|\xi_{AB}\|_1}{\|(\mathcal I_A\otimes\mathcal M_B)(\xi_{AB})\|_1},f(B∣⋅)=MB​inf​ ξAB†​=ξAB​ξA​=0, ξB​=0​sup​∥(IA​⊗MB​)(ξAB​)∥1​∥ξAB​∥1​​,

the infimum over measurements MB\mathcal M_BMB​ on BBB and the supremum over all finite-dimensional AAA; f(A,B)f(A,B)f(A,B) is the analogue with product measurements MA⊗MB\mathcal M_A\otimes\mathcal M_BMA​⊗MB​. Throughout, log⁡\loglog is base 2.

Formalization targets

Goal: Theorem 3.1 with its explicit rate

Q ≤ SDPn ≤ Q+∥GAB∥∞ dB2(dB+1)(2ln⁡2)log⁡dAn(n≥1),Q=lim⁡n→∞SDPn.Q\ \le\ \mathrm{SDP}_n\ \le\ Q+\|G_{AB}\|_\infty\,d_B^2(d_B+1)\sqrt{\frac{(2\ln2)\log d_A}{n}}\quad(n\ge1),\qquad Q=\lim_{n\to\infty}\mathrm{SDP}_n.Q ≤ SDPn​ ≤ Q+∥GAB​∥∞​dB2​(dB​+1)n(2ln2)logdA​​​(n≥1),Q=n→∞lim​SDPn​.

The page states 0≤SDPn−Q≤poly(d)/n0\le\mathrm{SDP}_n-Q\le\mathrm{poly}(d)/\sqrt n0≤SDPn​−Q≤poly(d)/n​ with d=max⁡{dA,dB}d=\max\{d_A,d_B\}d=max{dA​,dB​}. The goal makes explicit the rate the proof gives.

Milestones, in attack order

  1. Lemma 2.1 (p. 6): for a permutation-invariant classical-quantum state ρAZ1n\rho_{AZ_1^n}ρAZ1n​​ there is 0≤m<n0\le m<n0≤m<n with Ez1m∥ρAZm+1∣z1m−ρA∣z1m⊗ρZm+1∣z1m∥12≤(2ln⁡2)log⁡dA/n\mathbf E_{z_1^m}\|\rho_{AZ_{m+1}|z_1^m}-\rho_{A|z_1^m}\otimes\rho_{Z_{m+1}|z_1^m}\|_1^2\le(2\ln2)\log d_A/nEz1m​​∥ρAZm+1​∣z1m​​−ρA∣z1m​​⊗ρZm+1​∣z1m​​∥12​≤(2ln2)logdA​/n.
  2. Lemma D.1 (p. 29): for a state two-design {Pz}\{P_z\}{Pz​} and MB\mathcal M_BMB​ with effects dBtPz\frac{d_B}{t}P_ztdB​​Pz​, ∥(IA⊗MB)(ξAB)∥1≥∥ξAB∥1/(dB2(dB+1))\|(\mathcal I_A\otimes\mathcal M_B)(\xi_{AB})\|_1\ge\|\xi_{AB}\|_1/(d_B^2(d_B+1))∥(IA​⊗MB​)(ξAB​)∥1​≥∥ξAB​∥1​/(dB2​(dB​+1)) for every Hermitian ξAB\xi_{AB}ξAB​.
  3. Existence of state two-designs in every dimension (p. 29).
  4. f(B∣⋅)≤dB2(dB+1)f(B|\cdot)\le d_B^2(d_B+1)f(B∣⋅)≤dB2​(dB​+1) (p. 6).
  5. Conditional constraints (p. 8): the states obtained by measuring B1,…,BmB_1,\dots,B_mB1​,…,Bm​ and conditioning satisfy Λ(ρA∣z1m)=XCA\Lambda(\rho_{A|z_1^m})=X_{C_A}Λ(ρA∣z1m​​)=XCA​​ and Γ(ρBm+1∣z1m)=YCB\Gamma(\rho_{B_{m+1}|z_1^m})=Y_{C_B}Γ(ρBm+1​∣z1m​​)=YCB​​.
  6. Theorem 2.3 (p. 7): under the constraints of SDPn\mathrm{SDP}_nSDPn​, ∥ρAB−∑ipiσAi⊗ωBi∥1≤min⁡{f(A,B),f(B∣⋅)}(2ln⁡2)log⁡dA/n\|\rho_{AB}-\sum_ip_i\sigma^i_A\otimes\omega^i_B\|_1\le\min\{f(A,B),f(B|\cdot)\}\sqrt{(2\ln2)\log d_A/n}∥ρAB​−∑i​pi​σAi​⊗ωBi​∥1​≤min{f(A,B),f(B∣⋅)}(2ln2)logdA​/n​ with states Λ(σAi)=XCA\Lambda(\sigma^i_A)=X_{C_A}Λ(σAi​)=XCA​​, Γ(ωBi)=YCB\Gamma(\omega^i_B)=Y_{C_B}Γ(ωBi​)=YCB​​.
  7. Eq. (3) (p. 2): QQQ equals the maximum over mixtures of feasible product states.
  8. Hölder step (p. 11): Tr[GW]≤Tr[GV]+∥G∥∞∥W−V∥1\mathrm{Tr}[GW]\le\mathrm{Tr}[GV]+\|G\|_\infty\|W-V\|_1Tr[GW]≤Tr[GV]+∥G∥∞​∥W−V∥1​.
  9. 0≤SDPn−Q0\le\mathrm{SDP}_n-Q0≤SDPn​−Q (p. 11).

Significance

Theorem 3.1 turns a nonconvex problem into a sequence of semidefinite programs whose values decrease to the optimum at rate O(1/n)O(1/\sqrt n)O(1/n​), with a constant that depends polynomially on dBd_BdB​ and logarithmically on dAd_AdA​. Every level is a certified upper bound; together with any feasible point it brackets QQQ. The same argument applied to channel fidelities gives converging outer bounds on the success probability of approximate quantum error correction (§4 of the paper), and the constrained de Finetti theorem is the key step there as well. Theorem 2.3 is of independent interest: it is the first finite de Finetti theorem in which the approximating separable state inherits linear constraints of the extension.

The results are proved in the paper; none of them has been machine-checked. A complete formalization requires the quantum relative entropy and mutual information with their chain rule, the quantum Pinsker inequality, state two-designs and their existence, and a weighted Hölder inequality for Schatten norms; most of this is absent from Mathlib, and each piece is reusable beyond this mission.

Difficulty

The obvious route measures every copy BiB_iBi​ with a fixed informationally complete measurement and uses the resulting classical de Finetti statement. This approximates ρAB\rho_{AB}ρAB​ by a mixture of product states, but the states in the mixture need not satisfy Γ(ωi)=Y\Gamma(\omega^i)=YΓ(ωi)=Y, and projecting them onto the constraint set destroys the error bound. The paper instead conditions on the outcomes of only mmm copies and keeps Bm+1B_{m+1}Bm+1​ quantum; the constraint on BnB_nBn​ then transfers to the conditional state of Bm+1B_{m+1}Bm+1​ by symmetry. Making this rigorous needs the chain rule of conditional mutual information with classical conditioning, and the distortion of the measurement must be bounded independently of the side system AAA, which is what Lemma D.1 provides. The Schatten-norm estimate there is elementary but requires a weighted Hölder inequality and a careful choice of weight.

Formalization scope

Systems are finite index types: A⊗B1⋯BNA\otimes B_1\cdots B_NA⊗B1​⋯BN​ is indexed by Fin dA × (Fin N → Fin dB), ⊗\otimes⊗ is Mathlib's Kronecker product, and the permutation action permutes the word in Fin N → Fin dB. States, trace norm and partial traces are the published definitions WildeQIT_IsDensityOperator, WildeQIT_traceNorm and WildeQIT_partialTrace. The linear maps Λ\LambdaΛ, Γ\GammaΓ are arbitrary C\mathbb CC-linear maps (not assumed positive or trace preserving), applied blockwise to one tensor factor. The objective is the real part of Tr[G W]\mathrm{Tr}[G\,W]Tr[GW], equal to Tr[G W]\mathrm{Tr}[G\,W]Tr[GW] for Hermitian GGG. Each "max" is the supremum of the set of objective values over the feasible set, never over all matrices. Wherever the page has n≥1n\ge1n≥1 copies of BBB, the Lean has n + 1: SDPval … n is the page's SDPn+1\mathrm{SDP}_{n+1}SDPn+1​, and the bounds have denominator n+1n+1n+1. The distortions f(A,B)f(A,B)f(A,B) and f(B∣⋅)f(B|\cdot)f(B∣⋅) take values in [0,∞][0,\infty][0,∞]; the standalone bound on f(B∣⋅)f(B|\cdot)f(B∣⋅) assumes dB≥1d_B\ge1dB​≥1.

No feasibility hypothesis is added to the goal. The feasible sets of QQQ and of every level are empty or nonempty together, and the empty case reads 0≤0≤0+…0\le0\le0+\dots0≤0≤0+…. The goal mentions only QQQ, SDPn\mathrm{SDP}_nSDPn​, GGG, dAd_AdA​, dBd_BdB​ and nnn; a formalization in which QQQ or SDPn\mathrm{SDP}_nSDPn​ were free real numbers, or in which the de Finetti mixture was not required to satisfy the constraints, would be a different and much weaker statement.

Contributions are welcome at every milestone, and especially in the reusable infrastructure: quantum relative entropy and mutual information on matrices, the quantum Pinsker inequality, unitary and state designs, and Hölder inequalities for Schatten norms.

Selected references

  • M. Berta, F. Borderi, O. Fawzi, V. B. Scholz, Semidefinite programming hierarchies for constrained bilinear optimization, Mathematical Programming, 2021; arXiv:1810.12197v3. https://arxiv.org/abs/1810.12197
  • F. G. S. L. Brandão, A. W. Harrow, Quantum de Finetti theorems under local measurements with applications, STOC 2013. https://arxiv.org/abs/1210.6367
  • M. Christandl, R. König, G. Mitchison, R. Renner, One-and-a-half quantum de Finetti theorems, Communications in Mathematical Physics 273, 2007. https://arxiv.org/abs/quant-ph/0602130
  • A. C. Doherty, P. A. Parrilo, F. M. Spedalieri, Complete family of separability criteria, Physical Review A 69, 2004. https://arxiv.org/abs/quant-ph/0308032
17 thms2 active usersReviewed
Harmonic AnalysisNumerical Analysis·Captain: mikedeng1

Quantum Algorithm for Systems of Linear Equations with Exponentially Improved Dependence on Precision II: A Discretized Gaussian Fourier Double Sum Is ε-Close to 1/x on [−1, −1/κ] ∪ [1/κ, 1]Research Paper

Motivation

A quantum algorithm for a system of linear equations must turn operations it can implement into an approximation of the inverse of the system matrix. For a Hermitian matrix, time evolution e−iAte^{-iAt}e−iAt is such an operation. Childs, Kothari and Somma use a Fourier expansion of the scalar reciprocal 1/x1/x1/x to express an approximation to A−1A^{-1}A−1 as a finite linear combination of these evolutions. Their paper reports an exponential improvement in the dependence on the requested precision over earlier linear-systems methods. The scalar approximation in Lemma 11 is the mathematical input to their Fourier algorithm and to the query and gate analyses in Theorem 3. This mission isolates that approximation and the Gaussian estimates stated around it. Theorem 3's complexity claims themselves are outside the present formalization. Childs, Kothari and Somma, §3, pp. 10–14.

Setting

Fix a condition number κ≥1\kappa\ge1κ≥1. The scalar spectral domain is

Dκ=[−1,−1/κ]∪[1/κ,1].D_\kappa=[-1,-1/\kappa]\cup[1/\kappa,1].Dκ​=[−1,−1/κ]∪[1/κ,1].

It contains the real eigenvalues permitted after the paper's normalization and excludes zero, where the reciprocal is undefined. For an accuracy ε>0\varepsilon>0ε>0, two functions are ε\varepsilonε-close on DκD_\kappaDκ​ when their difference has magnitude at most ε\varepsilonε at every point of that domain. A complex-valued approximant is compared with 1/x1/x1/x as a complex number. The paper gives this domain and closeness convention before the Fourier construction. Childs, Kothari and Somma, pp. 9–10.

The intermediate function gyJ,zK(x)g_{y_J,z_K}(x)gyJ​,zK​​(x) is a truncated Gaussian Fourier integral. It integrates ze−z2/2e−ixyzz e^{-z^2/2}e^{-ixyz}ze−z2/2e−ixyz over −zK≤z≤zK-z_K\le z\le z_K−zK​≤z≤zK​ and then over 0≤y≤yJ0\le y\le y_J0≤y≤yJ​, multiplying by i/2πi/\sqrt{2\pi}i/2π​. The finite approximant hJ,K,Δy,Δz(x)h_{J,K,\Delta_y,\Delta_z}(x)hJ,K,Δy​,Δz​​(x) is a Gaussian Fourier double sum with the same normalization and phase. Its samples are yj=jΔyy_j=j\Delta_yyj​=jΔy​ for j=0,…,J−1j=0,\ldots,J-1j=0,…,J−1 and zk=kΔzz_k=k\Delta_zzk​=kΔz​ for k=−K,…,Kk=-K,\ldots,Kk=−K,…,K; each term carries both mesh widths. Thus J,KJ,KJ,K count the retained samples, while Δy,Δz\Delta_y,\Delta_zΔy​,Δz​ control their spacing. The sign in the phase and the factor iii are part of the definitions. Childs, Kothari and Somma, (18), p. 10, and (21), p. 11.

Formalization targets

Truncation

Lemma 12 says that for cutoffs of scale

yJ=Θ ⁣(κlog⁡(κ/ε)),zK=Θ ⁣(log⁡(κ/ε)),y_J=\Theta\!\bigl(\kappa\sqrt{\log(\kappa/\varepsilon)}\bigr), \qquad z_K=\Theta\!\bigl(\sqrt{\log(\kappa/\varepsilon)}\bigr),yJ​=Θ(κlog(κ/ε)​),zK​=Θ(log(κ/ε)​),

the function gyJ,zKg_{y_J,z_K}gyJ​,zK​​ is ε\varepsilonε-close to 1/x1/x1/x on DκD_\kappaDκ​. The proposal includes the paper's explicit error bound (27) and its Gaussian tail bound (28), as well as the Gaussian Poisson-summation identity of Lemma 13. These are separate reusable targets, not replacements for the approximation theorem. Childs, Kothari and Somma, Lemmas 12–13 and (27)–(28), pp. 11–12.

Finite Fourier sum

The goal is Lemma 11:

∣hJ,K,Δy,Δz(x)−1x∣≤εfor every x∈Dκ,\left|h_{J,K,\Delta_y,\Delta_z}(x)-\frac1x\right|\le\varepsilon \quad\text{for every }x\in D_\kappa,​hJ,K,Δy​,Δz​​(x)−x1​​≤εfor every x∈Dκ​,

where

J=Θ ⁣(κεlog⁡κε),K=Θ ⁣(κlog⁡κε),Δy=Θ ⁣(εlog⁡(κ/ε)),Δz=Θ ⁣(1κlog⁡(κ/ε)).J=\Theta\!\left(\frac\kappa\varepsilon\log\frac\kappa\varepsilon\right),\quad K=\Theta\!\left(\kappa\log\frac\kappa\varepsilon\right),\quad \Delta_y=\Theta\!\left(\frac\varepsilon{\sqrt{\log(\kappa/\varepsilon)}}\right),\quad \Delta_z=\Theta\!\left(\frac1{\kappa\sqrt{\log(\kappa/\varepsilon)}}\right).J=Θ(εκ​logεκ​),K=Θ(κlogεκ​),Δy​=Θ(log(κ/ε)​ε​),Δz​=Θ(κlog(κ/ε)​1​).

The Θ\ThetaΘ statements impose upper and lower bounds with absolute constants, uniformly across κ\kappaκ and ε\varepsilonε. The requested approximation error is exactly ε\varepsilonε, matching the lemma's claim. The four scales specify both the size of the finite expansion and its mesh. Childs, Kothari and Somma, Lemma 11, p. 10.

Significance

The finite sum provides the paper's Fourier route from scalar reciprocal approximation to a linear combination of time-evolution operators. Its sample counts and spacings are the quantities that enter the algorithm's implementation costs. A result that only asserted approximation after arbitrarily many samples would not express the bound used there. The truncated integral and Poisson identity also remain useful for other Gaussian quadrature and Fourier-sampling arguments. Childs, Kothari and Somma, §§3.1–3.2, pp. 11–14.

The paper proves these claims on paper. This proposal asks for machine-checked Lean proofs of the scalar statements, including the complex normalization, the finite and infinite sum conventions, and the uniform scale bounds. It does not assert that the quantum algorithm, its Hamiltonian simulation subroutines, or its query and gate complexity theorems have been formalized.

Difficulty

The infinite Gaussian Fourier representation alone does not specify a finite implementable expansion. Restricting both integrals introduces two truncation errors, while replacing them by samples adds discretization and periodic-aliasing effects. These errors have to be controlled simultaneously with JJJ, KKK, Δy\Delta_yΔy​, and Δz\Delta_zΔz​ at the scales stated in Lemma 11. Merely taking the mesh arbitrarily fine gives approximation without the theorem's finite-size bounds. The proof also uses a complex Fourier phase although its target is real, and its infinite sums must have their ordinary convergent meaning. Childs, Kothari and Somma, proof of Lemma 11, pp. 13–14.

Formalization scope

The Lean development uses R\mathbb RR for x,κ,εx,\kappa,\varepsilonx,κ,ε and the cutoff and mesh parameters, C\mathbb CC for ggg and hhh, and the complex norm for closeness. Finite sums use exactly 0≤j<J0\le j<J0≤j<J and −K≤k≤K-K\le k\le K−K≤k≤K; the integral for ggg is iterated and has nonnegative upper cutoffs. The optional identity (20) is also an iterated integral, with the zzz integral evaluated before the yyy integral. Infinite sums in Lemma 13 are over Z\mathbb ZZ. The Gaussian integrals and series in the statements are convergent, so Lean's totalized integral and sum conventions do not supply artificial zero values.

The paper's condition-number convention is recorded as κ≥1\kappa\ge1κ≥1 and Corollary 10's operating range as 0<ε<1/20<\varepsilon<1/20<ε<1/2. Those conditions keep DκD_\kappaDκ​ nonempty and log⁡(κ/ε)\log(\kappa/\varepsilon)log(κ/ε) positive. The unnumbered reciprocal-exponential bound from p. 13 has x≠0x\ne0x=0 explicitly, because the printed fractions have no value at zero. The Θ\ThetaΘ bounds quantify their constants before the problem parameters. In particular, choices with unbounded sample counts or vanishing mesh widths cannot satisfy the goal solely by brute-force approximation.

A complete development needs reusable Gaussian integration and tail estimates, complex exponential identities, summability of Gaussian integer series, and Poisson summation in Mathlib's analytic setting. Contributions that establish these general facts, the stated milestones, or Lemma 11 with its original bounds all fit this scope. This mission uses the reviewed shared definition of DκD_\kappaDκ​. Childs, Kothari and Somma, pp. 9–14.

Selected references

  • A. M. Childs, R. Kothari and R. D. Somma, Quantum algorithm for systems of linear equations with exponentially improved dependence on precision, SIAM Journal on Computing 46(6), 2017; arXiv:1511.02306v2.
8 thms2 active usersReviewed
Linear algebraMarkov Chain·Captain: mikedeng1

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 PPP on a finite state space XXX is run until it hits a marked state. Szegedy (2004) attached to every such chain a unitary quantum walk W(P)W(P)W(P), 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 ref(π)\mathrm{ref}(\pi)ref(π) about the stationary state ∣π⟩|\pi\rangle∣π⟩. Preparing ∣π⟩|\pi\rangle∣π⟩ exactly can cost far more than one step of the walk, so the paper builds an approximate reflection R(P)R(P)R(P) 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 C(U)C(U)C(U) and its output distribution (Theorem 5 of the paper).
  • Szegedy, 2004. The walk W(P)W(P)W(P), 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 R(P)R(P)R(P) and Theorem 6, the search algorithm (Theorem 7), and the bound Δ(P)≥2δ(P)\Delta(P)\ge2\sqrt{\delta(P)}Δ(P)≥2δ(P)​ relating the phase gap to the eigenvalue gap.

Setting

XXX is a finite set of size nnn. A Markov chain is a row-stochastic matrix P=(pxy)x,y∈XP=(p_{xy})_{x,y\in X}P=(pxy​)x,y∈X​. It is ergodic if some power of PPP has all entries positive. A stationary distribution π\piπ satisfies πx>0\pi_x>0πx​>0, ∑xπx=1\sum_x\pi_x=1∑x​πx​=1 and ∑xπxpxy=πy\sum_x\pi_xp_{xy}=\pi_y∑x​πx​pxy​=πy​. The time-reversed chain P∗P^*P∗ is defined by πxpxy=πypyx∗\pi_xp_{xy}=\pi_yp^*_{yx}πx​pxy​=πy​pyx∗​, and PPP is reversible if P∗=PP^*=PP∗=P.

The space is H=CX×X\mathcal H=\mathbb C^{X\times X}H=CX×X with basis ∣x⟩∣y⟩|x\rangle|y\rangle∣x⟩∣y⟩. Put ∣px⟩=∑ypxy ∣y⟩|p_x\rangle=\sum_y\sqrt{p_{xy}}\,|y\rangle∣px​⟩=∑y​pxy​​∣y⟩ and ∣py∗⟩=∑xpyx∗ ∣x⟩|p^*_y\rangle=\sum_x\sqrt{p^*_{yx}}\,|x\rangle∣py∗​⟩=∑x​pyx∗​​∣x⟩, and

A=Span(∣x⟩∣px⟩:x∈X),B=Span(∣py∗⟩∣y⟩:y∈X).\mathcal A=\mathrm{Span}(|x\rangle|p_x\rangle:x\in X),\qquad \mathcal B=\mathrm{Span}(|p^*_y\rangle|y\rangle:y\in X).A=Span(∣x⟩∣px​⟩:x∈X),B=Span(∣py∗​⟩∣y⟩:y∈X).

For a subspace K\mathcal KK, ref(K)=2ΠK−Id\mathrm{ref}(\mathcal K)=2\Pi_{\mathcal K}-\mathrm{Id}ref(K)=2ΠK​−Id, where ΠK\Pi_{\mathcal K}ΠK​ is the orthogonal projector onto K\mathcal KK. The quantum walk is W(P)=ref(B)⋅ref(A)W(P)=\mathrm{ref}(\mathcal B)\cdot\mathrm{ref}(\mathcal A)W(P)=ref(B)⋅ref(A), and the stationary state is ∣π⟩=∑xπx ∣x⟩∣px⟩|\pi\rangle=\sum_x\sqrt{\pi_x}\,|x\rangle|p_x\rangle∣π⟩=∑x​πx​​∣x⟩∣px​⟩.

The discriminant matrix is D(P)=(pxypyx∗)x,yD(P)=(\sqrt{p_{xy}p^*_{yx}})_{x,y}D(P)=(pxy​pyx∗​​)x,y​. Its singular values lie in [0,1][0,1][0,1]. The phase gap Δ(P)\Delta(P)Δ(P) is 2θ2\theta2θ, where θ\thetaθ is the smallest angle in (0,π/2)(0,\pi/2)(0,π/2) such that cos⁡θ\cos\thetacosθ is a singular value of D(P)D(P)D(P).

The phase-estimation circuit C(U)C(U)C(U) acts on Cι⊗C2s\mathbb C^\iota\otimes\mathbb C^{2^s}Cι⊗C2s. It is

C(U)=(Id⊗F†)(∑j<2sUj⊗∣j⟩⟨j∣)(Id⊗H⊗s),C(U)=(\mathrm{Id}\otimes F^\dagger)\Big(\sum_{j<2^s}U^j\otimes|j\rangle\langle j|\Big)(\mathrm{Id}\otimes H^{\otimes s}),C(U)=(Id⊗F†)(j<2s∑​Uj⊗∣j⟩⟨j∣)(Id⊗H⊗s),

where H⊗sH^{\otimes s}H⊗s is the Walsh–Hadamard matrix and FFF is the 2s2^s2s-point Fourier transform.

The circuit R(P)R(P)R(P) uses s=⌈log⁡2(2π/Δ(P))⌉s=\lceil\log_2(2\pi/\Delta(P))\rceils=⌈log2​(2π/Δ(P))⌉ and acts on H⊗(C2s)⊗k\mathcal H\otimes(\mathbb C^{2^s})^{\otimes k}H⊗(C2s)⊗k. It is built in three steps:

  1. VVV applies C(W(P))C(W(P))C(W(P)) kkk times, each time to the system register and a fresh ancilla register.
  2. F≠0F_{\neq0}F=0​ multiplies by −1-1−1 every basis state with a non-zero estimate in some register.
  3. Then R(P)=V†F≠0VR(P)=V^\dagger F_{\neq0}VR(P)=V†F=0​V.

Formalization targets

Goal: Theorem 6, properties 2 and 3

For PPP ergodic and reversible on n≥2n\ge2n≥2 states, and every integer k≥0k\ge0k≥0:

R(P) ∣π⟩∣0ks⟩=∣π⟩∣0ks⟩,∥(R(P)+Id) ∣ψ⟩∣0ks⟩∥≤21−k∥ψ∥(ψ∈A+B, ψ⊥∣π⟩).R(P)\,|\pi\rangle|0^{ks}\rangle=|\pi\rangle|0^{ks}\rangle,\qquad \big\|(R(P)+\mathrm{Id})\,|\psi\rangle|0^{ks}\rangle\big\|\le2^{1-k}\|\psi\|\quad(\psi\in\mathcal A+\mathcal B,\ \psi\perp|\pi\rangle).R(P)∣π⟩∣0ks⟩=∣π⟩∣0ks⟩,​(R(P)+Id)∣ψ⟩∣0ks⟩​≤21−k∥ψ∥(ψ∈A+B, ψ⊥∣π⟩).

Milestones

The milestones follow the order in which the paper's proof uses them:

  1. Theorem 4 (Szegedy). The spectrum of W(P)W(P)W(P) on A+B\mathcal A+\mathcal BA+B. On that space W(P)W(P)W(P) has the eigenvalues 111 (on A∩B\mathcal A\cap\mathcal BA∩B), −1-1−1, and e±2iθe^{\pm2i\theta}e±2iθ for cos⁡θ\cos\thetacosθ a singular value of D(P)D(P)D(P) in (0,1)(0,1)(0,1), with matching multiplicities. The mission has two items for it: the full statement, and the direction the proof uses.
  2. §3.2. For ergodic reversible PPP, ∣π⟩|\pi\rangle∣π⟩ is the only 111-eigenvector of W(P)W(P)W(P) in A+B\mathcal A+\mathcal BA+B, up to scalars, and every other eigenvalue μ\muμ there satisfies ∣1−μ∣≥∣1−eiΔ(P)∣|1-\mu|\ge|1-e^{i\Delta(P)}|∣1−μ∣≥∣1−eiΔ(P)∣.
  3. Theorem 5, properties 2 and 3. C(U)C(U)C(U) fixes ∣ψ⟩∣0s⟩|\psi\rangle|0^s\rangle∣ψ⟩∣0s⟩ when Uψ=ψU\psi=\psiUψ=ψ. If Uψ=e2iθψU\psi=e^{2i\theta}\psiUψ=e2iθψ with θ∈(0,π)\theta\in(0,\pi)θ∈(0,π), it outputs ∣ψ⟩∣ω⟩|\psi\rangle|\omega\rangle∣ψ⟩∣ω⟩ with ∣⟨0s∣ω⟩∣=∣sin⁡(2sθ)∣/(2ssin⁡θ)|\langle0^s|\omega\rangle|=|\sin(2^s\theta)|/(2^s\sin\theta)∣⟨0s∣ω⟩∣=∣sin(2sθ)∣/(2ssinθ).
  4. Single-copy bound. For Δ/2≤θ≤π−Δ/2\Delta/2\le\theta\le\pi-\Delta/2Δ/2≤θ≤π−Δ/2 and the sss above, ∣sin⁡(2sθ)∣/(2ssin⁡θ)≤1/2|\sin(2^s\theta)|/(2^s\sin\theta)\le1/2∣sin(2sθ)∣/(2ssinθ)≤1/2.
  5. kkk-copy bound. For ψ∈A+B\psi\in\mathcal A+\mathcal Bψ∈A+B with ψ⊥∣π⟩\psi\perp|\pi\rangleψ⊥∣π⟩, the all-zero-estimate component ψ0\psi_0ψ0​ of V∣ψ⟩∣0ks⟩V|\psi\rangle|0^{ks}\rangleV∣ψ⟩∣0ks⟩ has ∥ψ0∥≤2−k∥ψ∥\|\psi_0\|\le2^{-k}\|\psi\|∥ψ0​∥≤2−k∥ψ∥. For every ψ\psiψ, ∥(R(P)+Id)∣ψ⟩∣0ks⟩∥=2∥ψ0∥\|(R(P)+\mathrm{Id})|\psi\rangle|0^{ks}\rangle\|=2\|\psi_0\|∥(R(P)+Id)∣ψ⟩∣0ks⟩∥=2∥ψ0​∥.

Significance

Theorem 6 replaces the reflection about ∣π⟩|\pi\rangle∣π⟩ with a circuit that only calls the walk. Its cost scales as 1/Δ(P)1/\Delta(P)1/Δ(P) rather than as the cost of preparing ∣π⟩|\pi\rangle∣π⟩. Combined with Δ(P)≥2δ(P)\Delta(P)\ge2\sqrt{\delta(P)}Δ(P)≥2δ(P)​, where δ(P)\delta(P)δ(P) is the eigenvalue gap, this gives the search cost S+1ε(1δU+C)S+\frac1{\sqrt\varepsilon}\big(\frac1{\sqrt\delta}U+C\big)S+ε​1​(δ​1​U+C) 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 ψ\psiψ in eigenvectors of W(P)W(P)W(P), apply Theorem 5 to each, and bound each amplitude by 1/21/21/2. Three steps carry the weight:

  • Theorem 4. The eigen-decomposition of W(P)W(P)W(P) on A+B\mathcal A+\mathcal BA+B is Jordan's two-subspace decomposition, with the multiplicities read off the singular value decomposition of D(P)D(P)D(P). The decomposition has to be built, and the cases at singular values 000 and 111 have to be handled separately.
  • Uniqueness of ∣π⟩|\pi\rangle∣π⟩. This step needs ergodicity, through Perron–Frobenius, and reversibility, because D(P)D(P)D(P) is then symmetric and its singular values are the moduli of the eigenvalues of PPP. Without reversibility D(P)D(P)D(P) can have the singular value 111 twice, and property 3 then fails.
  • Repetition. The kkk 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 W(P)W(P)W(P) restricted to the invariant subspace A+B\mathcal A+\mathcal BA+B to be orthogonal.

Formalization scope

  • H\mathcal HH is EuclideanSpace ℂ (X × X), with the first coordinate the first register.
  • The ancilla register is indexed by Fin (2^s), and kkk registers by Fin k → Fin (2^s); the all-zeros state is the zero index.
  • ref(K)\mathrm{ref}(\mathcal K)ref(K) is Mathlib's Submodule.reflection.
  • The stationary distribution π\piπ is passed as data with its defining hypotheses. "Ergodic" is Matrix.IsPrimitive.
  • Singular values of the real matrix D(P)D(P)D(P) are LinearMap.singularValues.
  • When D(P)D(P)D(P) has no singular value in (0,1)(0,1)(0,1), the paper leaves Δ(P)\Delta(P)Δ(P) undefined, and the formalization sets Δ(P)=π\Delta(P)=\piΔ(P)=π.
  • log⁡2\log_2log2​ is Real.logb 2 and the ceiling is Nat.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 ∥ψ∥\|\psi\|∥ψ∥.
  • Theorem 5 is stated for any finite-dimensional unitary, not only 2m×2m2^m\times2^m2m×2m, and with ∣sin⁡(2sθ)∣|\sin(2^s\theta)|∣sin(2sθ)∣, because the printed right-hand side can be negative.
  • The single-copy bound also covers the eigenvalue −1-1−1.

Only exact statements are formalized. The cost halves (gate counts, calls to ccc-W(P)W(P)W(P), "s∈log⁡2(1/Δ)+O(1)s\in\log_2(1/\Delta)+O(1)s∈log2​(1/Δ)+O(1)", the qubit count, uniformity) are out of scope.

The circuit R(P)R(P)R(P) is the explicit composition above, built from C(W(P))C(W(P))C(W(P)). It is neither "some circuit with properties 2–3" nor anything defined through the projector onto ∣π⟩|\pi\rangle∣π⟩, 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 Δ(P)≥2δ(P)\Delta(P)\ge2\sqrt{\delta(P)}Δ(P)≥2δ(P)​ 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
11 thms2 active usersReviewed
Theoretical Computer Science·Captain: mikedeng1

Search via Quantum Walk 1: Recursive Amplitude Amplification with Approximate Reflections R(βᵢ), βᵢ = 18γ/(4π³i²), Finds a Marked Element with Probability at Least 1/12 − 3γResearch Paper

Motivation

Grover's algorithm finds a marked element among NNN with O(N)O(\sqrt N)O(N​) queries by alternating two reflections: one about the initial state and one that flips the sign of marked states. In quantum-walk search, the initial state ∣π⟩|\pi\rangle∣π⟩ encodes the stationary distribution of a Markov chain, and the reflection about ∣π⟩|\pi\rangle∣π⟩ is too expensive to implement exactly. Magniez, Nayak, Roland and Santha (arXiv:quant-ph/0608026, SIAM J. Comput. 2011) obtain the reflection approximately, by phase estimation on the quantum walk, and need a search procedure that tolerates the approximation error without paying extra cost to reduce it. Their Section 4 supplies one: a variant of the recursive amplitude amplification (RAA) of Høyer, Mosca and de Wolf (ICALP 2003) in which the reflection about ∣π⟩|\pi\rangle∣π⟩ is replaced, at recursion level iii, by an approximate circuit of precision βi=184π3γ/i2\beta_i=\frac{18}{4\pi^3}\gamma/i^2βi​=4π318​γ/i2. The two lemmas of that section, stated "in full generality for potential further applications" (p. 11), are the exact engine of the paper's headline Theorem 3 (search with cost S+1ε(1δU+C)S+\frac1{\sqrt\varepsilon}(\frac1{\sqrt\delta}U+C)S+ε​1​(δ​1​U+C)).

Timeline: Grover (1996) gives quadratic speedup for unstructured search; Brassard, Høyer, Mosca and Tapp (2002) generalize it to amplitude amplification; Høyer, Mosca and de Wolf (2003) introduce RAA to tolerate a bounded-error marking reflection; Szegedy (2004) defines quantum walks for arbitrary reversible chains with detection guarantees; Magniez, Nayak, Roland and Santha (STOC 2007, SIAM 2011) adapt RAA to an approximate initial-state reflection and obtain search, not only detection, for every reversible ergodic chain.

Setting

Let XXX be a finite set and M⊆XM\subseteq XM⊆X a set of marked elements. The state space is H=CX×X\mathcal H=\mathbb C^{X\times X}H=CX×X. The initial state ∣π⟩∈H|\pi\rangle\in\mathcal H∣π⟩∈H is any unit vector (Lemmas 1 and 2 never use its quantum-walk form), and the marked weight is pM=∥ΠM∣π⟩∥2p_M=\|\Pi_M|\pi\rangle\|^2pM​=∥ΠM​∣π⟩∥2, where ΠM\Pi_MΠM​ projects onto the basis states ∣x⟩∣y⟩|x\rangle|y\rangle∣x⟩∣y⟩ with x∈Mx\in Mx∈M.

For each level i≥1i\ge1i≥1 an extra register KiK_iKi​ (a finite-dimensional space with a basis state ∣0⟩|0\rangle∣0⟩) is given together with a unitary RiR_iRi​ on H⊗Ki\mathcal H\otimes K_iH⊗Ki​, playing the role of R(βi)R(\beta_i)R(βi​):

Ri∣π⟩∣0⟩=∣π⟩∣0⟩,∥(Ri+Id)∣ψ⟩∣0⟩∥≤βi∥ψ∥  whenever ⟨π∣ψ⟩=0.R_i|\pi\rangle|0\rangle=|\pi\rangle|0\rangle,\qquad \|(R_i+\mathrm{Id})|\psi\rangle|0\rangle\|\le\beta_i\|\psi\|\ \text{ whenever }\langle\pi|\psi\rangle=0 .Ri​∣π⟩∣0⟩=∣π⟩∣0⟩,∥(Ri​+Id)∣ψ⟩∣0⟩∥≤βi​∥ψ∥  whenever ⟨π∣ψ⟩=0.

On H⊗K1⊗⋯⊗KT\mathcal H\otimes K_1\otimes\cdots\otimes K_TH⊗K1​⊗⋯⊗KT​ the marked subspace M~\tilde{\mathcal M}M~ consists of states whose first register is marked, and ref(M~⊥)=Id−2ΠM~\mathrm{ref}(\tilde{\mathcal M}^\perp)=\mathrm{Id}-2\Pi_{\tilde M}ref(M~⊥)=Id−2ΠM~​.

Approximate RAA(i,γ)(i,\gamma)(i,γ) is the unitary AiA_iAi​ with A0=IdA_0=\mathrm{Id}A0​=Id and

Ai=Ai−1⋅Oi⋅Ai−1†⋅ref(M~⊥)⋅Ai−1,A_i=A_{i-1}\cdot O_i\cdot A_{i-1}^\dagger\cdot\mathrm{ref}(\tilde{\mathcal M}^\perp)\cdot A_{i-1},Ai​=Ai−1​⋅Oi​⋅Ai−1†​⋅ref(M~⊥)⋅Ai−1​,

where OiO_iOi​ multiplies by −1-1−1 every basis state in which some register KjK_jKj​, j<ij<ij<i, is not ∣0⟩|0\rangle∣0⟩, and otherwise applies RiR_iRi​ to H⊗Ki\mathcal H\otimes K_iH⊗Ki​. Write ∣φi⟩=Ai∣π⟩∣0S⟩|\varphi_i\rangle=A_i|\pi\rangle|0^S\rangle∣φi​⟩=Ai​∣π⟩∣0S⟩ and sin⁡ϕi=∥ΠM~∣φi⟩∥\sin\phi_i=\|\Pi_{\tilde M}|\varphi_i\rangle\|sinϕi​=∥ΠM~​∣φi​⟩∥.

Tolerant RAA(tmax⁡,γ)(t_{\max},\gamma)(tmax​,γ) first samples xxx (succeeding with probability pMp_MpM​); otherwise, for i=1,…,tmax⁡i=1,\dots,t_{\max}i=1,…,tmax​, it applies AiA_iAi​ to the state left over from the previous failed measurement, ∣ψi⟩=Ai∣νi−1⊥⟩|\psi_i\rangle=A_i|\nu^\perp_{i-1}\rangle∣ψi​⟩=Ai​∣νi−1⊥​⟩ with ∣ν0⊥⟩=∣π⟩∣0S⟩|\nu^\perp_0\rangle=|\pi\rangle|0^S\rangle∣ν0⊥​⟩=∣π⟩∣0S⟩, and measures {ΠM~,Id−ΠM~}\{\Pi_{\tilde M},\mathrm{Id}-\Pi_{\tilde M}\}{ΠM~​,Id−ΠM~​}; a failure collapses the state to ∣νi⊥⟩=ΠM~⊥∣ψi⟩/∥ΠM~⊥∣ψi⟩∥|\nu_i^\perp\rangle=\Pi_{\tilde M^\perp}|\psi_i\rangle/\|\Pi_{\tilde M^\perp}|\psi_i\rangle\|∣νi⊥​⟩=ΠM~⊥​∣ψi​⟩/∥ΠM~⊥​∣ψi​⟩∥.

Formalization targets

Goal: Lemma 2 (p. 15)

Let 0<γ≤1/400<\gamma\le1/400<γ≤1/40, let ε>0\varepsilon>0ε>0 satisfy pM≥εp_M\ge\varepsilonpM​≥ε whenever pM>0p_M>0pM​>0, and let tmax⁡t_{\max}tmax​ be the smallest non-negative integer with 3tmax⁡sin⁡−1ε∈[π/4,3π/4]3^{t_{\max}}\sin^{-1}\sqrt\varepsilon\in[\pi/4,3\pi/4]3tmax​sin−1ε​∈[π/4,3π/4]. The probability PsuccP_{\rm succ}Psucc​ that Tolerant RAA(tmax⁡,γ)(t_{\max},\gamma)(tmax​,γ) ends with a marked element satisfies

M=∅⇒Psucc=0,pM>0⇒Psucc≥112−3γ.M=\emptyset\Rightarrow P_{\rm succ}=0,\qquad p_M>0\Rightarrow P_{\rm succ}\ge\frac1{12}-3\gamma .M=∅⇒Psucc​=0,pM​>0⇒Psucc​≥121​−3γ.

Lemma 1 (p. 12)

With ttt the smallest non-negative integer such that 3tsin⁡−1pM∈[π/4,3π/4]3^t\sin^{-1}\sqrt{p_M}\in[\pi/4,3\pi/4]3tsin−1pM​​∈[π/4,3π/4], for every γ>0\gamma>0γ>0,

∥ΠM~At∣π⟩∣0S⟩∥≥12−γ.\|\Pi_{\tilde M}A_t|\pi\rangle|0^S\rangle\|\ge\frac1{\sqrt2}-\gamma .∥ΠM~​At​∣π⟩∣0S⟩∥≥2​1​−γ.

Milestones

In the order of the proofs: Fact 1 (the error operator Ei=Ai−1OiAi−1†−ref(φi−1)E_i=A_{i-1}O_iA_{i-1}^\dagger-\mathrm{ref}(\varphi_{i-1})Ei​=Ai−1​Oi​Ai−1†​−ref(φi−1​) kills ∣φi−1⟩|\varphi_{i-1}\rangle∣φi−1​⟩ and has norm ≤βi\le\beta_i≤βi​ on states with clean registers K≥iK_{\ge i}K≥i​); the one-level bound ∣sin⁡ϕi+1−sin⁡3ϕi∣≤βi+1∣sin⁡2ϕi∣|\sin\phi_{i+1}-\sin3\phi_i|\le\beta_{i+1}|\sin2\phi_i|∣sinϕi+1​−sin3ϕi​∣≤βi+1​∣sin2ϕi​∣; the two trigonometric inequalities on [0,π/4][0,\pi/4][0,π/4]; the surrogate bound e~i≤γϕˉi/π≤γ\tilde e_i\le\gamma\bar\phi_i/\pi\le\gammae~i​≤γϕˉ​i​/π≤γ; Lemma 1; the three terms of the drift recursion (5); and the accumulated drift δt=∥∣ψt⟩−∣φt⟩∥≤π/8+9γ/8\delta_t=\||\psi_t\rangle-|\varphi_t\rangle\|\le\pi/8+9\gamma/8δt​=∥∣ψt​⟩−∣φt​⟩∥≤π/8+9γ/8.

Significance

Lemma 2 turns any family of approximate reflections whose error decays like 1/i21/i^21/i2 into a search procedure that succeeds with constant probability, needs only a lower bound ε\varepsilonε on pMp_MpM​, and costs O(3tmax⁡)=O(1/ε)O(3^{t_{\max}})=O(1/\sqrt\varepsilon)O(3tmax​)=O(1/ε​) calls. Combined with the phase-estimation reflection of the paper's Theorem 6 it yields Theorem 3, the general quantum-walk search theorem that has become the standard tool for walk-based algorithms (element distinctness, triangle finding, group commutativity). Nothing in the lemma refers to Markov chains, so it applies to any setting with an approximate reflection about the initial state.

The results are proved in the paper. None of them is machine-checked: the platform holds a formal Grover search with one marked basis state and exact reflections, but no amplitude amplification with approximate or recursive reflections. A formal proof would also settle the steps the paper passes over quickly, notably that the trigonometric inequalities, claimed for angles in [0,π/4][0,\pi/4][0,π/4], are applied to the actual angles ϕi\phi_iϕi​, which may exceed π/4\pi/4π/4 by O(γ)O(\gamma)O(γ) at the last level.

Difficulty

The ideal analysis (every reflection exact, angle tripled at each level) is a two-dimensional rotation argument. With approximate reflections the state leaves the plane spanned by ∣μ0⟩|\mu_0\rangle∣μ0​⟩ and ∣μ0⊥⟩|\mu_0^\perp\rangle∣μ0⊥​⟩, and each level both triples the error already present and injects a new one; the errors stay bounded only because ∑iβi\sum_i\beta_i∑i​βi​ converges and the injection at level iii is weighted by sin⁡2ϕi\sin2\phi_isin2ϕi​. Fact 1 is not a restatement of the hypothesis on R(β)R(\beta)R(β): it holds only because step 4 flips the phase of states whose earlier registers are dirty, and because Ai−1A_{i-1}Ai−1​ never touches K≥iK_{\ge i}K≥i​. In Lemma 2 the attempts reuse the leftover state, not a fresh ∣π⟩∣0S⟩|\pi\rangle|0^S\rangle∣π⟩∣0S⟩, so the state at the decisive attempt ttt has drifted; bounding the drift needs the normalised unmarked parts ∣μk⊥⟩|\mu_k^\perp\rangle∣μk⊥​⟩ to move little from level to level, which again depends on the error bounds of Lemma 1.

Formalization scope

  • H⊗K1⊗⋯⊗KT\mathcal H\otimes K_1\otimes\cdots\otimes K_TH⊗K1​⊗⋯⊗KT​ is EuclideanSpace ℂ (X × X × ((j : Fin T) → κ (j+1))); operators are complex matrices. Registers are 0-based in Lean (index jjj is Kj+1K_{j+1}Kj+1​).
  • RiR_iRi​ is required only at the precisions βi\beta_iβi​ actually used, which is weaker than the paper's "for any β>0\beta>0β>0". Property 3 is stated in the homogeneous form ≤βi∥ψ∥\le\beta_i\|\psi\|≤βi​∥ψ∥.
  • "Undo" is the conjugate transpose. ttt and tmax⁡t_{\max}tmax​ are explicit naturals with "satisfies the condition and no smaller one does". sin⁡−1\sin^{-1}sin−1 is Real.arcsin; the interval is closed.
  • The success probability of Tolerant RAA is defined from the measurement rule, pM+(1−pM)(1−∏i=1tmax⁡(1−∥ΠM~∣ψi⟩∥2))p_M+(1-p_M)\big(1-\prod_{i=1}^{t_{\max}}(1-\|\Pi_{\tilde M}|\psi_i\rangle\|^2)\big)pM​+(1−pM​)(1−∏i=1tmax​​(1−∥ΠM~​∣ψi​⟩∥2)), with post-measurement states computed from the actual ∣ψi⟩|\psi_i\rangle∣ψi​⟩; registers are not reset. The classical sample succeeds with probability ∥ΠM∣π⟩∥2\|\Pi_M|\pi\rangle\|^2∥ΠM​∣π⟩∥2, which is ∑x∈Mπx\sum_{x\in M}\pi_x∑x∈M​πx​ in the paper's walk setting.
  • "MMM non-empty" in Lemma 2 is read as pM>0p_M>0pM​>0, as in the paper's proof. Edge-case hypotheses: ∥π∥=1\|\pi\|=1∥π∥=1; ϕi≤π/3\phi_i\le\pi/3ϕi​≤π/3 in the one-level bound (so sin⁡3ϕi≥0\sin3\phi_i\ge0sin3ϕi​≥0); pM<1p_M<1pM​<1 in the last drift term; 1≤i<t1\le i<t1≤i<t and T≥tT\ge tT≥t in the drift bounds.
  • Cost is not formalized: property 1 of R(β)R(\beta)R(β), the cost c2c_2c2​ of −ref(M)-\mathrm{ref}(M)−ref(M) and every "incurs a cost of order" clause are out of scope. The data-structure subscript ddd is omitted, as in the paper's own error analysis.
  • A formalization in which step 4 applies an exact reflection about ∣π⟩|\pi\rangle∣π⟩ or ∣φi−1⟩|\varphi_{i-1}\rangle∣φi−1​⟩, or in which the success probability is computed from ideal angles instead of the actual states, would make the lemmas statements about exact RAA; the definitions apply the given RiR_iRi​ and measure the actual states.

Contributions welcome: proofs of the trigonometric milestones and of e~i≤γϕˉi/π\tilde e_i\le\gamma\bar\phi_i/\pie~i​≤γϕˉ​i​/π (pure real analysis), Fact 1 (finite-dimensional linear algebra with a block structure on registers), and the vector inequality ∥u/∥u∥−v/∥v∥∥≤2∥u−v∥/∥v∥\|u/\|u\|-v/\|v\|\|\le2\|u-v\|/\|v\|∥u/∥u∥−v/∥v∥∥≤2∥u−v∥/∥v∥ that the drift bounds share. The register and controlled-unitary infrastructure is reusable for other recursive quantum algorithms.

Selected references

  • F. Magniez, A. Nayak, J. Roland, M. Santha, Search via Quantum Walk, SIAM J. Comput. 40(1), 2011; arXiv:quant-ph/0608026v4. https://arxiv.org/abs/quant-ph/0608026
  • P. Høyer, M. Mosca, R. de Wolf, Quantum search on bounded-error inputs, ICALP 2003. https://arxiv.org/abs/quant-ph/0304052
  • G. Brassard, P. Høyer, M. Mosca, A. Tapp, Quantum amplitude amplification and estimation, Contemp. Math. 305, 2002. https://arxiv.org/abs/quant-ph/0005055
  • L. K. Grover, A fast quantum mechanical algorithm for database search, STOC 1996. https://arxiv.org/abs/quant-ph/9605043
  • M. Szegedy, Quantum speed-up of Markov chain based algorithms, FOCS 2004. https://doi.org/10.1109/FOCS.2004.53
14 thms2 active usersReviewed
PreviousPage 1 of 4Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me