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 · 58 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

Open68Completed58All126
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
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 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
Quantum Error Correction·Captain: Lucas

Quantum Threshold Theorem: Polylogarithmic-Overhead Fault-Tolerant Simulation Below a Constant Fault RateTextbook

Motivation

A quantum computer cannot perform gate operations perfectly, so a small constant error per operation is unavoidable. A priori this could mean that a noisy quantum computer can apply only a bounded number of gates before the computation is destroyed by noise, which would rule out long quantum computations in practice. The threshold theorem (or quantum fault-tolerance theorem) says that this does not happen: if the error rate of the physical components is below a constant threshold, quantum error correction can suppress the logical error rate to arbitrarily low levels at a modest cost in size. It is the quantum analogue of von Neumann's threshold theorem for classical computation with unreliable components (von Neumann 1956).

Timeline.

  • 1956: von Neumann shows that reliable classical computation is possible with components that fail with a small constant probability.
  • 1996: Shor gives the first fault-tolerant quantum computation scheme, proving a weaker version of the threshold theorem (Shor 1996).
  • 1997-1999: the threshold theorem is proved independently, for various error models, by Aharonov and Ben-Or (arXiv:quant-ph/9906129); Knill, Laflamme and Zurek (arXiv:quant-ph/9702058); and Kitaev (arXiv:quant-ph/9707021).
  • 2000: Nielsen and Chuang give the general framework stated below in their textbook.

Setting

A register of qubits is labelled by a finite set QQQ, and its states are density matrices indexed by bit strings x:Q→{0,1}x:Q\to\{0,1\}x:Q→{0,1}. A location applies one elementary operation to an ordered tuple of distinct qubits. The elementary operations are the gates HHH, T=diag(1,eiπ/4)T=\mathrm{diag}(1,e^{i\pi/4})T=diag(1,eiπ/4) and CNOT\mathrm{CNOT}CNOT, the preparation of a qubit in ∣0⟩|0\rangle∣0⟩, and a single-qubit wait. A layer is a set of locations whose supports partition the register, so idle qubits carry explicit waits. A circuit CCC is a sequence of layers started in ∣0⋯0⟩|0\cdots0\rangle∣0⋯0⟩, and its size ∣C∣|C|∣C∣ is its total number of locations. Measuring every qubit at the end gives the outcome distribution Pideal(C)P_{\mathrm{ideal}}(C)Pideal​(C).

The hardware follows an independent stochastic noise model with fault rate at most ppp: each location, independently, is faulty with some probability q≤pq\le pq≤p, and a faulty location applies an arbitrary, adversarially chosen quantum channel to its own qubits instead of its ideal operation. Running a physical circuit C′C'C′ on such hardware gives the outcome distribution Pnoisy(C′)P_{\mathrm{noisy}}(C')Pnoisy​(C′). A physical circuit simulating nnn logical qubits acts on nnn blocks of bbb qubits; at the end each block's measured bits are decoded to one logical bit by a fixed map dec:{0,1}b→{0,1}\mathrm{dec}:\{0,1\}^b\to\{0,1\}dec:{0,1}b→{0,1}.

Formalization targets

Goal: threshold theorem

The source states the theorem as follows: a quantum circuit on nnn qubits containing p(n)p(n)p(n) gates may be simulated with probability of error at most ε\varepsilonε using O(log⁡c(p(n)/ε) p(n))O(\log^{c}(p(n)/\varepsilon)\,p(n))O(logc(p(n)/ε)p(n)) gates, for some constant ccc, on hardware whose components fail with probability at most ppp, provided ppp is below some constant threshold pthp_{\mathrm{th}}pth​, and given reasonable assumptions about the noise in the underlying hardware. Formally: there are pth>0p_{\mathrm{th}}>0pth​>0 and c∈Nc\in\mathbb Nc∈N such that for each 0≤p<pth0\le p<p_{\mathrm{th}}0≤p<pth​ there is AAA such that for all nnn, DDD and 0<ε<10<\varepsilon<10<ε<1 there are bbb and dec\mathrm{dec}dec such that every depth-DDD circuit CCC on nnn qubits has a simulation C′C'C′ with

∣C′∣≤A(log⁡∣C∣ε+1)c∣C∣,dTV(dec∗Pnoisy(C′),Pideal(C))≤ε|C'|\le A\Big(\log\tfrac{|C|}{\varepsilon}+1\Big)^{c}|C|,\qquad d_{\mathrm{TV}}\big(\mathrm{dec}_*P_{\mathrm{noisy}}(C'),P_{\mathrm{ideal}}(C)\big)\le\varepsilon∣C′∣≤A(logε∣C∣​+1)c∣C∣,dTV​(dec∗​Pnoisy​(C′),Pideal​(C))≤ε

for every noise model with fault rate at most ppp. The goal leaves the threshold, the exponent and the constants unspecified; it asserts only the shape of the result.

Milestones

  1. Errors accumulate at most linearly: without encoding, dTV≤p ∣C∣d_{\mathrm{TV}}\le p\,|C|dTV​≤p∣C∣.
  2. Better gates: one level of encoding gives dTV≤c p2∣C∣d_{\mathrm{TV}}\le c\,p^2|C|dTV​≤cp2∣C∣ with ∣C′∣≤A∣C∣|C'|\le A|C|∣C′∣≤A∣C∣.
  3. Recursion: ek+1≤c ek2e_{k+1}\le c\,e_k^2ek+1​≤cek2​ and e0≤pe_0\le pe0​≤p imply ek≤(cp)2k/ce_k\le (cp)^{2^k}/cek​≤(cp)2k/c.
  4. Concatenation: for every kkk, dTV≤(cp)2kc∣C∣d_{\mathrm{TV}}\le \frac{(cp)^{2^k}}{c}|C|dTV​≤c(cp)2k​∣C∣ with ∣C′∣≤Adk∣C∣|C'|\le A d^k|C|∣C′∣≤Adk∣C∣.
  5. Overhead: choosing kkk to make the total error at most ε\varepsilonε costs dk=O((log⁡(g/ε)+1)⌈log⁡2d⌉)d^k=O\big((\log(g/\varepsilon)+1)^{\lceil\log_2 d\rceil}\big)dk=O((log(g/ε)+1)⌈log2​d⌉).

Significance

The theorem shows that noise is not a fundamental obstacle to scalable quantum computation: any efficient ideal quantum algorithm remains efficient on noisy hardware once the physical error rate is below a constant. Current estimates put the threshold for the surface code on the order of 1%1\%1% (Fowler, Stephens, Groszkowski 2009), and the theorem underlies the resource estimates that guide current hardware development (Campbell, Terhal, Vuillot 2017).

The theorem has been proved on paper in several forms. A machine-checked proof requires an explicit model of noisy circuits, the construction of fault-tolerant gadgets for a universal gate set, and the probabilistic bookkeeping that is usually left informal. This mission provides the model and an attack path that follows the standard proof strategy.

Difficulty

Encoding a gate in an error-correcting code makes it larger, and therefore exposes it to more faults. The whole difficulty is to show that errors are corrected faster than they are created: every encoded gadget, including error correction itself and the non-Clifford TTT gate, must be designed so that a single fault cannot cause a logical failure, and this must hold uniformly at every level of concatenation. Simply repeating each operation and taking a majority vote does not work for quantum states, which cannot be copied, and measuring a qubit directly destroys the encoded information.

Formalization scope

All statements use one definition file. Qubits of the physical register are labelled by Fin n × Fin b; states are complex matrices indexed by Q → Fin 2; channels are lists of Kraus operators; noise is the independent stochastic model above, with per-location fault probabilities in [0,p][0,p][0,p] and arbitrary fault channels. No mid-circuit measurement is available, but qubits can be re-prepared in ∣0⟩|0\rangle∣0⟩ at any time. Sizes count every location, idle steps included. The block size and the decoder may depend on nnn, the depth, ε\varepsilonε and ppp, but never on the circuit being simulated; this rules out a decoder that simply writes down the answer, and the size bound rules out classical brute-force simulation inside the physical circuit.

A complete development needs: trace-distance and contractivity facts for channels, a quantum error-correcting code with fault-tolerant gadgets for HHH, TTT, CNOT\mathrm{CNOT}CNOT, preparation and error correction, a fault-counting argument for one level of encoding, and its iteration under concatenation. The channel and trace-distance infrastructure is reusable beyond this mission.

Selected references

  • J. von Neumann, Probabilistic Logics and the Synthesis of Reliable Organisms From Unreliable Components, Automata Studies, Princeton University Press, 1956. https://doi.org/10.1515/9781400882618-003
  • P. W. Shor, Fault-tolerant quantum computation, Proc. 37th FOCS, 1996. https://doi.org/10.1109/SFCS.1996.548464
  • D. Aharonov and M. Ben-Or, Fault-Tolerant Quantum Computation with Constant Error Rate, SIAM J. Comput. 38(4), 2008. https://arxiv.org/abs/quant-ph/9906129
  • E. Knill, Resilient Quantum Computation, Science 279, 1998. https://arxiv.org/abs/quant-ph/9702058
  • A. Yu. Kitaev, Fault-tolerant quantum computation by anyons, Annals of Physics 303, 2003. https://arxiv.org/abs/quant-ph/9707021
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, 2010.
  • Wikipedia, Threshold theorem. https://en.wikipedia.org/w/index.php?title=Threshold_theorem&oldid=1360742213
7 thms2 active usersReviewed
Optimization·Captain: Goku

Quantum algorithms for optimizers 9: QAOA with enough layers reaches a maximum eigenstate of H_FTextbook

Motivation

This mission develops Chapter 9 of Quantum algorithms for optimizers by Giacomo Nannicini. The chapter's selected results describe the mathematical guarantees below.

Setting and conventions

The linked theorem statements and shared definitions specify the register types, oracle access, normalization, and resource conventions. Their source locators and independent readbacks accompany each target.

Chapter goal

Let n≥0n \ge 0n≥0 and let f:{0,1}n→Rf : \{0,1\}^n \to \mathbb{R}f:{0,1}n→R be the objective of the maximization problem (9.38). Define the nnn-qubit Hamiltonians

HF=∑x∈{0,1}nf(x) ∣x⟩⟨x∣,HI=∑j=1nσjX,H_F = \sum_{x \in \{0,1\}^n} f(x)\,|x\rangle\langle x|, \qquad H_I = \sum_{j=1}^n \sigma_j^X,HF​=x∈{0,1}n∑​f(x)∣x⟩⟨x∣,HI​=j=1∑n​σjX​,

where σjX\sigma_j^XσjX​ is the Pauli XXX on qubit jjj and the identity elsewhere. For p≥1p \ge 1p≥1 and β,θ∈[0,2π]p\beta, \theta \in [0, 2\pi]^pβ,θ∈[0,2π]p let

UQAOA(p,β,θ)=e−iβpHIe−iθpHF⋯e−iβ1HIe−iθ1HF.U_{\mathrm{QAOA}}(p, \beta, \theta) = e^{-i\beta_p H_I} e^{-i\theta_p H_F} \cdots e^{-i\beta_1 H_I} e^{-i\theta_1 H_F}.UQAOA​(p,β,θ)=e−iβp​HI​e−iθp​HF​⋯e−iβ1​HI​e−iθ1​HF​.

Then for every δ>0\delta > 0δ>0 there are a unit vector ∣φ⟩|\varphi\rangle∣φ⟩ with HF∣φ⟩=(max⁡xf(x)) ∣φ⟩H_F|\varphi\rangle = (\max_x f(x))\,|\varphi\rangleHF​∣φ⟩=(maxx​f(x))∣φ⟩, that is an eigenstate of HFH_FHF​ with maximum eigenvalue, and an integer P≥1P \ge 1P≥1 such that for every p≥Pp \ge Pp≥P there are angles β∗,θ∗∈[0,2π]p\beta^*, \theta^* \in [0, 2\pi]^pβ∗,θ∗∈[0,2π]p with

∥UQAOA(p,β∗,θ∗) (H∣0⟩)⊗n−∣φ⟩∥≤δ.\bigl\| U_{\mathrm{QAOA}}(p, \beta^*, \theta^*)\,(H|0\rangle)^{\otimes n} - |\varphi\rangle \bigr\| \le \delta .​UQAOA​(p,β∗,θ∗)(H∣0⟩)⊗n−∣φ⟩​≤δ.

Here (H∣0⟩)⊗n(H|0\rangle)^{\otimes n}(H∣0⟩)⊗n is the uniform superposition, the maximum eigenstate of HIH_IHI​. The proposition says that with enough layers, the QAOA ansatz can reproduce adiabatic evolution along H(s)=(1−s)HI+sHFH(s) = (1-s)H_I + sH_FH(s)=(1−s)HI​+sHF​ and so prepares a state close to one encoding an optimal solution of (9.38).

Formalization Note The source's limit over ppp, with angles that depend on ppp, is stated as "for all sufficiently large ppp some angles achieve distance at most δ\deltaδ", with the target eigenvector fixed before ppp. The global phase allowed by Theorem 9.11 is absorbed into the choice of the eigenvector, since a phase multiple of a maximum eigenvector is again one. The informal claim that UQAOAU_{\mathrm{QAOA}}UQAOA​ "approximates an adiabatic evolution" is represented by its stated "in particular" consequence.

Significance

These are known mathematical results. Their Lean statements have been checked and reviewed against the cited source; formal proofs remain open for contributors.

Supporting targets

  • Proposition 9.4: The Ising Hamiltonian is diagonal with the QUBO objective values.
  • Theorem 9.11: Adiabatic theorem with T ≥ (10⁴/δ²)(‖H′‖³/γ⁴ + ‖H′‖‖H″‖/γ³).
  • Theorem 9.17: Adiabatic theorem when the tracked eigenvalue is identically 0.
  • Lemma 9.18: Derivative bounds for the phase-fixed instantaneous zero eigenvector.
  • Lemma 9.20: Replacing U_k ⋯ U_j by powers of U_1 in the discretized adiabatic evolution.
  • Corollary 9.21: The T-bound of Theorem 9.11 suffices (derived from Theorem 9.17).
  • Theorem 9.23: Adiabatic theorem with the integrated 1/γ³ gap dependence.
  • Corollary 9.24: Adiabatic theorem for the linear interpolation (1 − s)H_I + sH_F.
  • Proposition 9.28: QAOA with enough layers reaches a maximum eigenstate of H_F.

Formalization scope

Prove the existing statements under their stated hypotheses and definitions. Any correction to a printed source claim remains explicit in its target description. All listed target proofs are currently sorry; no proof is claimed. The mission goal is the designated chapter capstone; the remaining targets are separate milestones. Parts a, b, c and d are merged into their original chapter.

Selected references

  • Giacomo Nannicini, Quantum algorithms for optimizers, 2025, v5; notes dated 9 July 2025. https://arxiv.org/pdf/2408.07086v5.
9 thms2 active usersReviewed
Optimization·Captain: Goku

Quantum algorithms for optimizers 8: End-to-end complexity of the quantum MaxCut SDP solver in the QRAM model (corrected statement)Textbook

Motivation

This mission develops Chapter 8 of Quantum algorithms for optimizers by Giacomo Nannicini. The chapter's selected results describe the mathematical guarantees below.

Setting and conventions

The linked theorem statements and shared definitions specify the register types, oracle access, normalization, and resource conventions. Their source locators and independent readbacks accompany each target.

Chapter goal

This is Proposition 8.34 of Nannicini, the end-to-end cost of the quantum mirror-descent solver for the MaxCut SDP relaxation, stated in an explicit hybrid classical–quantum QRAM cost model.

Let n=2qn=2^qn=2q. For a nonzero real symmetric C∈Rn×nC\in\mathbb R^{n\times n}C∈Rn×n put C^=C/∥C∥F\hat C=C/\|C\|_FC^=C/∥C∥F​. Call a density matrix ρ∈Cn×n\rho\in\mathbb C^{n\times n}ρ∈Cn×n an ϵ\epsilonϵ-solution of (MaxCutSDP) if

∑j=1n∣ρjj−1n∣≤ϵandTr⁡(C^ρ) ≥ Tr⁡(C^σ)−ϵ  for every density matrix σ with diag⁡(σ)=1n1.\sum_{j=1}^n\Big|\rho_{jj}-\frac1n\Big|\le\epsilon\qquad\text{and}\qquad \operatorname{Tr}(\hat C\rho)\ \ge\ \operatorname{Tr}(\hat C\sigma)-\epsilon\ \text{ for every density matrix }\sigma\text{ with }\operatorname{diag}(\sigma)=\tfrac1n\mathbb 1.j=1∑n​​ρjj​−n1​​≤ϵandTr(C^ρ) ≥ Tr(C^σ)−ϵ  for every density matrix σ with diag(σ)=n1​1.

A hybrid algorithm consists of (i) a classical preprocessing program, a straight-line program of real arithmetic operations (+,−,×,÷,⋅,arccos⁡,arg⁡+,-,\times,\div,\sqrt\cdot,\arccos,\arg+,−,×,÷,⋅​,arccos,arg, rational constants), which is the only part that reads the entries of CCC and which writes the input half of a QRAM (UQRAM∣j⟩∣y⟩=∣j⟩∣y⊕Mj⟩U_{\mathrm{QRAM}}|j\rangle|y\rangle=|j\rangle|y\oplus M_j\rangleUQRAM​∣j⟩∣y⟩=∣j⟩∣y⊕Mj​⟩, Def. 5.39); (ii) RRR quantum runs, each applying a circuit of two-qubit gates and QRAM calls to ∣0⋯0⟩|0\cdots0\rangle∣0⋯0⟩ and measuring all qubits, where the circuit of each run and the contents of the work half of the QRAM are chosen classically from the outcomes of the earlier runs; (iii) an output, computed from all outcomes, in the form of a list of pairs (y(i),d(i))∈R2×Rn(y^{(i)},d^{(i)})\in\mathbb R^2\times\mathbb R^n(y(i),d(i))∈R2×Rn, which stands for the matrix

ρˉ=1L∑i=1Lexp⁡(y1(i)C^+y2(i)diag⁡(d(i)))Tr⁡exp⁡(y1(i)C^+y2(i)diag⁡(d(i))).\bar\rho=\frac1{L}\sum_{i=1}^{L}\frac{\exp\big(y^{(i)}_1\hat C+y^{(i)}_2\operatorname{diag}(d^{(i)})\big)}{\operatorname{Tr}\exp\big(y^{(i)}_1\hat C+y^{(i)}_2\operatorname{diag}(d^{(i)})\big)}.ρˉ​=L1​i=1∑L​Trexp(y1(i)​C^+y2(i)​diag(d(i)))exp(y1(i)​C^+y2(i)​diag(d(i)))​.

The theorem: there are absolute constants K>0K>0K>0 and ccc such that for all qqq, all ϵ∈(0,1]\epsilon\in(0,1]ϵ∈(0,1] and all δ∈(0,1)\delta\in(0,1)δ∈(0,1), with Λ=log⁡(2+n)+log⁡(2+1/ϵ)+log⁡(2+1/δ)\Lambda=\log(2+n)+\log(2+1/\epsilon)+\log(2+1/\delta)Λ=log(2+n)+log(2+1/ϵ)+log(2+1/δ), there is a hybrid algorithm, fixed before CCC, such that

  1. the QRAM has size at most Kn2ΛcK n^2\Lambda^cKn2Λc, with words of at most KΛcK\Lambda^cKΛc bits;
  2. the preprocessing uses at most Kn2ΛcK n^2\Lambda^cKn2Λc classical operations;
  3. along every measurement record the total number of QRAM accesses and additional gates is at most K n1.5ϵ5ΛcK\,\dfrac{n^{1.5}}{\epsilon^5}\Lambda^cKϵ5n1.5​Λc;
  4. for every nonzero real symmetric CCC, with probability at least 1−δ1-\delta1−δ the output ρˉ\bar\rhoρˉ​ is an ϵ\epsilonϵ-solution of (MaxCutSDP).

The proposition is the payoff of the chapter's MaxCut analysis: the subgradient estimation of Prop. 8.28, the iteration count of Thm. 8.30 and the Hamiltonian structure of Lem. 8.33 combine into a quantum solver whose quantum cost is sublinear in the n2n^2n2 entries of CCC.

Formalization Note The printed proposition has no cost model, no success probability, and no precise meaning for the tolerance over the binary search on γ\gammaγ; these are fixed as above. The classical bookkeeping between quantum runs (tallying samples, forming the subgradients, updating yyy and DDD) is not counted, matching the proof, which takes the classical cost from Prop. 7.29 alone; that bookkeeping never sees CCC. The output is the source's own representation of the iterate (Rem. 8.27, Lem. 8.33): with an arbitrary decoder, the optimum could be read off C^\hat CC^ for free.

Significance

These are known mathematical results. Their Lean statements have been checked and reviewed against the cited source; formal proofs remain open for contributors.

Supporting targets

  • Proposition 8.7: Entropic mirror descent iterates are the Gibbs states of the accumulated subgradients.
  • Theorem 8.10: Regret bound of the matrix multiplicative weights update.
  • Lemma 8.12: Emptiness of the PIC polytope certifies primal feasibility after rescaling.
  • Theorem 8.15: Algorithm 7 (MMWU for SDP) returns a primal or a dual certificate.
  • Proposition 8.19: The generalized PIC polytope built from θ-accurate traces is sandwiched between P_0 and P_{4Rrθ}.
  • Proposition 8.21: Computing the dual vector with Õ(√m) calls to a trace-estimate oracle (corrected statement).
  • Proposition 8.28: The estimated MaxCut subgradient is an ϵ/2-subgradient (corrected zero branch).
  • Lemma 8.29: A subgradient of the active piece at a nearby point is an approximate subgradient of the max.
  • Theorem 8.30: Convergence of inexact entropic mirror descent for the MaxCut SDP feasibility problem.
  • Lemma 8.33: The MaxCut mirror-descent Hamiltonians are y₁Ĉ + y₂D with ‖y‖₁ ≤ (4/ϵ) log n.
  • Proposition 8.34: End-to-end complexity of the quantum MaxCut SDP solver in the QRAM model (corrected statement).

Formalization scope

Prove the existing statements under their stated hypotheses and definitions. Any correction to a printed source claim remains explicit in its target description. All listed target proofs are currently sorry; no proof is claimed. The mission goal is the designated chapter capstone; the remaining targets are separate milestones. Parts a, b, c and d are merged into their original chapter.

Selected references

  • Giacomo Nannicini, Quantum algorithms for optimizers, 2025, v5; notes dated 9 July 2025. https://arxiv.org/pdf/2408.07086v5.
11 thms2 active usersReviewed
Quantum Error Correction·Captain: Goku

An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation 2: Quantum Gilbert–Varshamov, quantum Hamming, and asymptotic rate boundsTextbook

Motivation

This mission develops Chapter 2 of An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation by Daniel Gottesman. The chapter's selected results describe the mathematical guarantees below.

Setting and conventions

The linked theorem statements and shared definitions specify the register types, oracle access, normalization, and resource conventions. Their source locators and independent readbacks accompany each target.

Chapter goal

An [[n,k,d]][[n,k,d]][[n,k,d]] code is a subspace CCC of (C2)⊗n(\mathbb C^2)^{\otimes n}(C2)⊗n of dimension 2k2^k2k such that every operator EEE acting on at most d−1d-1d−1 qubits satisfies ⟨ψ∣E∣ψ⟩=c′(E)\langle\psi|E|\psi\rangle=c'(E)⟨ψ∣E∣ψ⟩=c′(E) for all unit vectors ∣ψ⟩∈C|\psi\rangle\in C∣ψ⟩∈C, with c′(E)c'(E)c′(E) independent of ∣ψ⟩|\psi\rangle∣ψ⟩ (eq. (34)); that is, CCC has distance at least ddd. Put t=⌊(d−1)/2⌋t=\lfloor (d-1)/2\rfloort=⌊(d−1)/2⌋. The code is nondegenerate if, for every unit vector ∣ψ⟩∈C|\psi\rangle\in C∣ψ⟩∈C, the Gram matrix (⟨ψ∣Pa†Pb∣ψ⟩)a,b\big(\langle\psi|P_a^\dagger P_b|\psi\rangle\big)_{a,b}(⟨ψ∣Pa†​Pb​∣ψ⟩)a,b​ over the phase-free Pauli operators PaP_aPa​ of weight at most ttt is nonsingular. Let H(x)=−xlog⁡2x−(1−x)log⁡2(1−x)H(x)=-x\log_2x-(1-x)\log_2(1-x)H(x)=−xlog2​x−(1−x)log2​(1−x).

  1. (Quantum Gilbert–Varshamov bound.) If d≥1d\ge1d≥1 and
(∑j=0d−13j(nj))2k≤2n,\Big(\sum_{j=0}^{d-1}3^j\binom nj\Big)2^k\le 2^n,(j=0∑d−1​3j(jn​))2k≤2n,

then an [[n,k,d]][[n,k,d]][[n,k,d]] code exists. 2. (Quantum Hamming bound.) Every nondegenerate [[n,k,d]][[n,k,d]][[n,k,d]] code satisfies

(∑j=0t3j(nj))2k≤2n.\Big(\sum_{j=0}^{t}3^j\binom nj\Big)2^k\le 2^n.(j=0∑t​3j(jn​))2k≤2n.
  1. (Asymptotic rates.) Let 0<p<1/20<p<1/20<p<1/2 and ε>0\varepsilon>0ε>0. There is NNN such that for every n≥Nn\ge Nn≥N:
    • every nondegenerate [[n,k,d]][[n,k,d]][[n,k,d]] code with d≥2pnd\ge 2pnd≥2pn has k/n≤1−plog⁡23−H(p)+εk/n\le 1-p\log_2 3-H(p)+\varepsilonk/n≤1−plog2​3−H(p)+ε;
    • if 1−2plog⁡23−H(2p)>01-2p\log_2 3-H(2p)>01−2plog2​3−H(2p)>0, there is a nondegenerate [[n,k,d]][[n,k,d]][[n,k,d]] code with d≥2pnd\ge 2pnd≥2pn and k/n≥1−2plog⁡23−H(2p)−εk/n\ge 1-2p\log_2 3-H(2p)-\varepsilonk/n≥1−2plog2​3−H(2p)−ε.

The first two bounds are counting arguments. The third gives the rate window, eq. (37), between which the best nondegenerate codes lie.

Formalization Note The source's 'distance ddd' is read as distance at least ddd, so existence is meaningful also for k=0k=0k=0. The hypothesis d≥1d\ge1d≥1 excludes d=0d=0d=0, where (36) is an empty sum and the claim would demand a 2k2^k2k-dimensional code for every kkk. The asymptotic clause is read as an ε\varepsilonε–NNN statement. The lower rate bound is asserted only when it is positive.

Significance

These are known mathematical results. Their Lean statements have been checked and reviewed against the cited source; formal proofs remain open for contributors.

Supporting targets

  • Theorem 1: No-Cloning: no quantum operation copies every state.
  • Theorem 2: Correctable errors are closed under linear combinations; weight-t Pauli errors give all t-qubit errors.
  • Theorem 3: Knill–Laflamme condition for quantum error correction.
  • Theorem 4: Quantum Gilbert–Varshamov, quantum Hamming, and asymptotic rate bounds.

Formalization scope

Prove the existing statements under their stated hypotheses and definitions. Any correction to a printed source claim remains explicit in its target description. All listed target proofs are currently sorry; no proof is claimed. The mission goal is the designated chapter capstone; the remaining targets are separate milestones. Parts a, b, c and d are merged into their original chapter.

Selected references

  • Daniel Gottesman, An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation, 2009, v1. https://arxiv.org/pdf/0904.2557v1.
4 thms2 active usersReviewed
Optimization·Captain: Goku

Quantum algorithms for optimizers 7: A (‖A‖_F, Õ(q), ξ)-block-encoding of a classical matrix from QRAM, with an explicit cost modelTextbook

Motivation

This mission develops Chapter 7 of Quantum algorithms for optimizers by Giacomo Nannicini. The chapter's selected results describe the mathematical guarantees below.

Setting and conventions

The linked theorem statements and shared definitions specify the register types, oracle access, normalization, and resource conventions. Their source locators and independent readbacks accompany each target.

Chapter goal

Fix constants C0∈RC_0 \in \mathbb{R}C0​∈R and c0∈Nc_0 \in \mathbb{N}c0​∈N (those of the assumption p=O~(1)p = \widetilde{O}(1)p=O(1)). There are constants C>0C > 0C>0 and c∈Nc \in \mathbb{N}c∈N such that the following holds. Let q,p∈Nq, p \in \mathbb{N}q,p∈N, d=2qd = 2^qd=2q, ξ>0\xi > 0ξ>0, write L=log⁡(2+d)+log⁡(2+1/ξ)L = \log(2+d) + \log(2+1/\xi)L=log(2+d)+log(2+1/ξ), and assume p≤C0Lc0p \le C_0 L^{c_0}p≤C0​Lc0​. Then there exist

  1. a QRAM (Def. 5.39) with 2b2^b2b addresses and words of rrr bits, of size 2br≤Cd2(p+1)Lc2^b r \le C d^2 (p+1) L^c2br≤Cd2(p+1)Lc;
  2. a straight-line real-arithmetic program of at most Cd2LcC d^2 L^cCd2Lc operations (+,−,×,÷,⋅,arccos⁡+, -, \times, \div, \sqrt{\cdot}, \arccos+,−,×,÷,⋅​,arccos, complex argument, rational constants) and an addressing map, which compute the QRAM contents from the entries of the matrix;
  3. a quantum circuit V\mathcal{V}V on w+qw + qw+q qubits with w≤C(q+1)Lcw \le C (q+1) L^cw≤C(q+1)Lc, making at most CLcC L^cCLc uncontrolled calls to the QRAM (or its inverse) and using at most CLcC L^cCLc two-qubit gates,

all independent of the matrix, such that for every A∈Cd×dA \in \mathbb{C}^{d\times d}A∈Cd×d whose entries satisfy ∣Re⁡aij∣,∣Im⁡aij∣≤2p|\operatorname{Re} a_{ij}|, |\operatorname{Im} a_{ij}| \le 2^p∣Reaij​∣,∣Imaij​∣≤2p, the unitary V(UQRAM(A))\mathcal{V}(U_{\mathrm{QRAM}}(A))V(UQRAM​(A)) obtained with the QRAM loaded by the program is an (∥A∥F,w,ξ)(\|A\|_F, w, \xi)(∥A∥F​,w,ξ)-block-encoding of AAA:

∥∥A∥F (⟨0∣w⊗I) V (∣0⟩w⊗I)−A∥≤ξ.\bigl\| \|A\|_F\,(\langle 0|_w \otimes I)\,\mathcal{V}\,(|0\rangle_w \otimes I) - A \bigr\| \le \xi .​∥A∥F​(⟨0∣w​⊗I)V(∣0⟩w​⊗I)−A​≤ξ.

This is the data-structure route to block-encodings of classically stored dense matrices, with subnormalization the Frobenius norm and only polylogarithmic quantum cost.

Formalization Note Corrected statement. The source gives no cost model for classical arithmetic, does not say in which parameters ppp is polylogarithmic, and does not say how the costs depend on ξ\xiξ. Here classical cost is the length of a straight-line real-arithmetic program (the model of the Cor. 5.45 chunk), p=O~(1)p = \widetilde{O}(1)p=O(1) means p≤C0Lc0p \le C_0 L^{c_0}p≤C0​Lc0​ for arbitrary C0,c0C_0, c_0C0​,c0​, all O~\widetilde{O}O bounds are polylogarithmic in ddd and 1/ξ1/\xi1/ξ, and the QRAM size is O~(d2p)\widetilde{O}(d^2 p)O(d2p) rather than O(d2p)O(d^2 p)O(d2p) because the word size must grow with log⁡(1/ξ)\log(1/\xi)log(1/ξ). A ppp-bit entry is modelled by the magnitude bound 2p2^p2p on its real and imaginary parts.

Significance

These are known mathematical results. Their Lean statements have been checked and reviewed against the cited source; formal proofs remain open for contributors.

Supporting targets

  • Proposition 7.9: Iterative refinement reaches residual ϵ in O(log 1/ϵ) iterations.
  • Proposition 7.14: Product of block-encodings (error term corrected).
  • Proposition 7.18: Linear combination of block-encodings (error term corrected for α < 1).
  • Lemma 7.20: Block-encoding of the diagonal matrix of inner products ⟨ϕ_j|ψ_j⟩.
  • Proposition 7.21: Block-encoding from sparse-access oracles (rotation cost and entry encoding made explicit).
  • Lemma 7.37: A bounded polynomial of degree Õ(β) approximating exp(2βx)/4 on [−1, 0].
  • Lemma 7.39: Block-encoding a density matrix from a unitary preparing its purification.
  • Proposition 7.41: One-copy trace estimator: a random variable with bias ≤ θ/4 for Tr(Aρ) and constant variance.
  • Proposition 7.38: Gibbs-state preparation from a block-encoding of H, for the polynomial of Lemma 7.37 made explicit.
  • Proposition 7.29: A (‖A‖_F, Õ(q), ξ)-block-encoding of a classical matrix from QRAM, with an explicit cost model.

Formalization scope

Prove the existing statements under their stated hypotheses and definitions. Any correction to a printed source claim remains explicit in its target description. All listed target proofs are currently sorry; no proof is claimed. The mission goal is the designated chapter capstone; the remaining targets are separate milestones. Parts a, b, c and d are merged into their original chapter.

Selected references

  • Giacomo Nannicini, Quantum algorithms for optimizers, 2025, v5; notes dated 9 July 2025. https://arxiv.org/pdf/2408.07086v5.
10 thms2 active usersReviewed
Optimization·Captain: Goku

Quantum algorithms for optimizers 4: Quantum minimum finding (Dürr–Høyer), with explicit bit width, interruption and gate modelTextbook

Motivation

This mission develops Chapter 4 of Quantum algorithms for optimizers by Giacomo Nannicini. The chapter's selected results describe the mathematical guarantees below.

Setting and conventions

The linked theorem statements and shared definitions specify the register types, oracle access, normalization, and resource conventions. Their source locators and independent readbacks accompany each target.

Chapter goal

Let f:{0,1}n→Zf : \{0,1\}^n \to \mathbb{Z}f:{0,1}n→Z take values of bit width bbb, i.e. ∣f(j)∣<2b|f(j)| < 2^b∣f(j)∣<2b for all jjj, and let Uf:∣j⟩∣k⟩↦∣j⟩∣k⊕f(j)⟩U_f : |j\rangle|k\rangle \mapsto |j\rangle|k \oplus f(j)\rangleUf​:∣j⟩∣k⟩↦∣j⟩∣k⊕f(j)⟩ evaluate fff in binary. Algorithm 2 with budget TTT starts from a uniformly random incumbent ℓ\ellℓ and repeatedly runs Algorithm 1 (search with an unknown number of marked items) with the marking unitary Um:∣j⟩∣y⟩↦∣j⟩∣y⊕I(f(j)<f(ℓ))⟩U_m : |j\rangle|y\rangle \mapsto |j\rangle|y \oplus \mathbb{I}(f(j) < f(\ell))\rangleUm​:∣j⟩∣y⟩↦∣j⟩∣y⊕I(f(j)<f(ℓ))⟩, replacing ℓ\ellℓ by the returned index kkk whenever f(k)<f(ℓ)f(k) < f(\ell)f(k)<f(ℓ); a call of Algorithm 1 that would exceed the budget is interrupted at the TTT-th application of UfU_fUf​, and the algorithm then returns ℓ\ellℓ. Each application of UmU_mUm​ counts as one application of UfU_fUf​ and is charged 3n+2b+13n + 2b + 13n+2b+1 additional gates; each round of Algorithm 1 with mmm qubits of precision is charged m+m(m+1)/2m + m(m+1)/2m+m(m+1)/2 further gates (Hadamards and the inverse QFT).

There are absolute constants c,C>0c, C > 0c,C>0 such that for every nnn, bbb, every such fff and every δ∈(0,1)\delta \in (0,1)δ∈(0,1) the following holds. Run Algorithm 2 independently k=⌈log⁡3(1/δ)⌉k = \lceil \log_3(1/\delta) \rceilk=⌈log3​(1/δ)⌉ times with budget T=⌈c2n⌉T = \lceil c\sqrt{2^n} \rceilT=⌈c2n​⌉ and output an fff-minimal one of the kkk returned indices. Then:

  1. with probability at least 1−δ1 - \delta1−δ the output is a global minimizer of fff;
  2. on every outcome, the total number of applications of UfU_fUf​ (including the kkk evaluations used to select the output) is at most
C2n (1+log⁡(1/δ)),C\sqrt{2^n}\,\bigl(1 + \log(1/\delta)\bigr),C2n​(1+log(1/δ)),

and the number of additional gates is at most C2n (n+b+1) (1+log⁡(1/δ))C\sqrt{2^n}\,(n + b + 1)\,(1 + \log(1/\delta))C2n​(n+b+1)(1+log(1/δ)).

This is the quadratic quantum speedup for unstructured minimization, the basis of the optimization applications of Grover search.

Formalization Note The source's O~(2n)\tilde O(\sqrt{2^n})O~(2n​) gate bound is stated with the suppressed polylogarithmic factors n+b+1n + b + 1n+b+1 and 1+log⁡(1/δ)1 + \log(1/\delta)1+log(1/δ) explicit, the interruption rule for the budget is made explicit, and TTT, kkk are the choices of the source's proof. Algorithm 1 is the shared formalization of the earlier corollary; the outcome law is a weight on (returned index, applications of UfU_fUf​, gates).

Significance

These are known mathematical results. Their Lean statements have been checked and reviewed against the cited source; formal proofs remain open for contributors.

Supporting targets

  • Theorem 4.6: Amplitude amplification: overlap 2/3 with the good state using O(1/√p) applications of S and R.
  • Corollary 4.9: Search with a known number of marked elements in O(√(2^n/|M|)) oracle calls.
  • Corollary 4.10: Finding all marked elements with O(√(|M| 2^n)) oracle calls.
  • Lemma 4.11: Oblivious amplitude amplification: the partner state Ψ⊥ is orthogonal to |0⟩|ψ⟩ and has no flag-0 support.
  • Theorem 4.12: Oblivious amplitude amplification: each iteration rotates by 2θ.
  • Proposition 4.15: Eigenstates of the Grover operator in amplitude estimation.
  • Proposition 4.19: Angle error to probability error for sin².
  • Proposition 4.21: Error bound of amplitude estimation with m qubits.
  • Corollary 4.22: Amplitude estimation to additive error ε with O(log 1/ε) qubits and O(1/ε) queries.
  • Lemma 4.28: Near-orthogonality of the two amplitude-estimation output states.
  • Theorem 4.29: Quantum search without knowing the number of marked items: O(1/θ) expected queries.
  • Corollary 4.30: Search without knowing |M| with O(√(2^n/|M|)) expected oracle calls.
  • Theorem 4.31: Quantum minimum finding (Dürr–Høyer), with explicit bit width, interruption and gate model.

Formalization scope

Prove the existing statements under their stated hypotheses and definitions. Any correction to a printed source claim remains explicit in its target description. All listed target proofs are currently sorry; no proof is claimed. The mission goal is the designated chapter capstone; the remaining targets are separate milestones. Parts a, b, c and d are merged into their original chapter.

Selected references

  • Giacomo Nannicini, Quantum algorithms for optimizers, 2025, v5; notes dated 9 July 2025. https://arxiv.org/pdf/2408.07086v5.
13 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
PreviousPage 1 of 3Next

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