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

Open63Completed63All126
Complexity TheoryProbabilityTheoretical Computer Science·Captain: mikedeng1

Strengths and Weaknesses of Quantum Computing II: Relative to a Random Permutation, a Quantum Algorithm Needs Ω(2^{n/3}) Queries to Decide the First Bit of A⁻¹(1ⁿ)Research Paper

Motivation

An oracle lets an algorithm ask for the value of a function without giving it a description of that function. An oracle lower bound isolates how many questions are needed, even when computation between questions is unrestricted. Bennett, Bernstein, Brassard and Vazirani used this viewpoint to compare classical and quantum access to randomly chosen functions and permutations. Their Theorem 3.6 states an almost-sure separation: relative to a random permutation oracle, a quantum machine using time o(2n/3)o(2^{n/3})o(2n/3) cannot capture all of (NP∩coNP)A(\mathrm{NP}\cap\mathrm{coNP})^A(NP∩coNP)A BBBV, Theorem 3.6. The same paper notes that its exponent 1/31/31/3 may reflect the available argument rather than the true boundary BBBV, p. 12.

The finite statement behind that separation is a quantum query lower bound for a uniformly random permutation. It asks about one bit of the inverse image of a fixed string, rather than inversion of the whole permutation. This gives a sharply defined target with the paper's explicit query and error constants.

Setting

Let Σn={0,1}n\Sigma^n=\{0,1\}^nΣn={0,1}n, and let AAA be a permutation oracle of Σn\Sigma^nΣn. Its inverse image of the all-one string 1n1^n1n exists and is unique. Define the language LA\mathcal L_ALA​ by putting yyy in LA\mathcal L_ALA​ when the first bit of A−1(y)A^{-1}(y)A−1(y) is 111. The paper observes that access to AAA puts this language in both NPA\mathrm{NP}^ANPA and coNPA\mathrm{coNP}^AcoNPA: either possible bit of the inverse image can be witnessed by an input to the permutation BBBV, p. 10. This mission tests membership only at y=1ny=1^ny=1n.

A TTT-query quantum algorithm starts in a unit vector of a finite complex Hilbert space. A basis configuration records an optional length-nnn query string, an answer register, and finite workspace. On a querying configuration (x,z,w)(x,z,w)(x,z,w), an oracle operation replaces the answer register by z⊕A(x)z\oplus A(x)z⊕A(x); it leaves a nonquerying configuration unchanged. Each oracle operation is followed by an algorithm-chosen unitary. The final acceptance probability is the sum of the squared amplitudes of accepting basis configurations. A run decides a yes-or-no question if its acceptance probability is at least 2/32/32/3 on a yes instance and at most 1/31/31/3 on a no instance. These thresholds match the paper's bounded-error convention BBBV, §2 and §3.1.

For a state ϕ\phiϕ, the query magnitude qy(ϕ)q_y(\phi)qy​(ϕ) is the total squared amplitude of basis configurations querying string yyy. Thus 0≤qy(ϕ)≤10\le q_y(\phi)\le10≤qy​(ϕ)≤1 for a unit state, and the magnitudes over all strings sum to at most 111. This is Definition 3.2 of the paper BBBV, p. 7.

Formalization targets

The goal is the finite claim in the proof of Theorem 3.6. For every n≥1n\ge1n≥1, every finite-workspace algorithm MMM with TTT queries, and a uniform permutation AAA of Σn\Sigma^nΣn,

T≤2n/3100⟹Pr⁡A ⁣[M fails to decide whether the first bit of A−1(1n) is 1]≥18.T\le\frac{2^{n/3}}{100} \quad\Longrightarrow\quad \Pr_A\!\left[M\text{ fails to decide whether the first bit of }A^{-1}(1^n)\text{ is }1\right]\ge\frac18.T≤1002n/3​⟹APr​[M fails to decide whether the first bit of A−1(1n) is 1]≥81​.

The milestones follow the statements used in the paper: Theorem 3.1 relates Euclidean distance between final states to their observed distributions; Theorem 3.3 bounds the effect of changing answers at queried strings; and the proof of Theorem 3.6 establishes the uniform transposition chain, the 1/21/21/2 membership split, the expected query-magnitude estimate, and the 1/501/501/50 expected final-state distance BBBV, pp. 7–11. The source text of each milestone is recorded with its page in the mission's milestone list.

Significance

The result identifies a concrete task that cannot be decided reliably with too few quantum oracle calls for a positive fraction of length-nnn permutation oracles. The inverse image exists by definition, so the obstruction is the number of queries needed to learn its first bit. This is the quantitative part of the paper's relative separation for NP∩coNP\mathrm{NP}\cap\mathrm{coNP}NP∩coNP; the passage to an almost-sure statement over countably many machines is described in the paper but lies beyond this mission's formal goal BBBV, pp. 10–12.

The theorem is proved on paper and is not claimed here as an open mathematical problem. Formalizing it produces reusable finite-dimensional machinery for quantum queries: an XOR oracle as a unitary basis permutation, query magnitude, a time-dependent hybrid oracle, and counting-based probability over finite permutation spaces. The milestone statements remain open Lean proof obligations in this proposal.

Difficulty

A direct comparison of an algorithm's run under two nearby permutation oracles requires knowing that the algorithm seldom queries the locations where those oracles differ. The distinguished preimage A−1(1n)A^{-1}(1^n)A−1(1n) cannot simply be declared rarely queried: learning about it is exactly the task under study. The paper therefore studies a chain of random transpositions and a run whose oracle changes by step. The subtle point is that a string used in a later transposition is still uniform when the earlier query state is formed BBBV, pp. 10–11. The expected query-magnitude milestone states that point explicitly.

Formalization scope

The Lean carrier of strings is Fin(n)→Z/2Z\mathrm{Fin}(n)\to\mathbb Z/2\mathbb ZFin(n)→Z/2Z. Algorithms use finite configuration types and EuclideanSpace ℂ; the query register is optional, and none represents configurations that make no length-nnn query. An oracle answers with the full length-nnn value by XOR in the answer register. The paper describes a Boolean oracle, but one full-value query can be simulated with nnn Boolean queries and one Boolean query with two full-value queries. The latter direction transfers this lower bound to the paper's oracle at a changed constant. Answers at lengths other than nnn are fixed and absorbed into the inter-query unitaries, as in the paper's finite-length argument. The full oracle quantum Turing machine, complexity classes as Lean objects, and the almost-sure conclusion are outside the model.

Probabilities and expectations are finite counting fractions. The chain samples a uniform π0\pi_0π0​ and independent uniform x1,…,xT+1x_1,\ldots,x_{T+1}x1​,…,xT+1​, with x0=π0−1(1n)x_0=\pi_0^{-1}(1^n)x0​=π0−1​(1n); this has the same joint law as the paper's conditional sampling order. The recurrence πi+1=πi∘(xi xi+1)\pi_{i+1}=\pi_i\circ(x_i\ x_{i+1})πi+1​=πi​∘(xi​ xi+1​) uses the paper's composition direction. The first-bit test requires n≥1n\ge1n≥1, and any comparison to πT−1\pi_{T-1}πT−1​ requires T≥1T\ge1T≥1. The goal quantifies over every finite workspace and algorithm before sampling the permutation. A uniform function in place of a permutation, or a predetermined inverse image, would change the task and is excluded.

The paper's Theorem 3.3 prints a final-state bound ε\varepsilonε that fails for a one-query XOR example; the milestone states the valid 2ε2\varepsilon2ε bound. Its baseline oracle may vary by step because the proof of Theorem 3.6 uses the hybrid run. The explicit constants T≤2n/3/100T\le 2^{n/3}/100T≤2n/3/100, failure probability 1/81/81/8, and expected distance 1/501/501/50 remain as printed. General finite-dimensional unitary and probability lemmas, together with a proof of the time-dependent hybrid bound, are welcome contributions. The finite query model and transposition-chain definitions are reusable in other oracle lower bounds.

Selected references

  • C. H. Bennett, E. Bernstein, G. Brassard, and U. Vazirani, Strengths and weaknesses of quantum computing, SIAM Journal on Computing 26(5), 1997; arXiv:quant-ph/9701001v1.
10 thms2 active usersReviewed
🏆Completed
Mathematical Physics·Captain: Lucas

Peres-Terno: the no-communication theorem for commuting Kraus operatorsResearch Paper

Motivation

Two observers, Alice and Bob, share a quantum system. Alice performs some intervention (a measurement, possibly followed by discarding part of her apparatus) and Bob, somewhere else, performs his own. If the statistics of Bob's outcomes could depend on what Alice chose to do, Alice could send Bob a message through the shared system alone, and if the two interventions are spacelike separated this would be a signal faster than light. Quantum mechanics and special relativity coexist peacefully only because this does not happen: the no-communication theorem guarantees that Bob's marginal statistics are independent of Alice's intervention whenever the two interventions are "local" to different parts of the system.

The review article of Peres and Terno, Quantum information and relativity theory (Rev. Mod. Phys. 76, 2004), develops the operational toolkit of quantum information (Kraus matrices, positive-operator-valued measures, completely positive maps) in Sec. II.D and then derives, in Sec. II.E, a sufficient algebraic condition for the absence of instantaneous information transfer: all of Alice's Kraus matrices commute with all of Bob's (their Eq. (9)). This mission formalizes that derivation together with the facts about Kraus matrices and complete positivity that the same pages state.

Setting

A quantum state on a finite-dimensional Hilbert space Cd\mathbb C^dCd is a density matrix ρ\rhoρ: a positive semidefinite d×dd\times dd×d complex matrix with tr⁡ρ=1\operatorname{tr}\rho = 1trρ=1.

An intervention with outcomes μ\muμ is described by Kraus matrices AμmA_{\mu m}Aμm​, where the label mmm ranges over a finite set indexing the subsystems discarded at the end of the interaction. When outcome μ\muμ occurs, the state is updated (Eq. (6)) to the unnormalized matrix

ρμ′=∑mAμm ρ Aμm†,\rho'_\mu = \sum_m A_{\mu m}\,\rho\,A_{\mu m}^\dagger ,ρμ′​=m∑​Aμm​ρAμm†​,

and the probability of outcome μ\muμ is pμ=tr⁡ρμ′p_\mu = \operatorname{tr}\rho'_\mupμ​=trρμ′​. The matrices

Eμ=∑mAμm†AμmE_\mu = \sum_m A_{\mu m}^\dagger A_{\mu m}Eμ​=m∑​Aμm†​Aμm​

(Eq. (8)) are the POVM elements; the intervention is complete when ∑μEμ=1\sum_\mu E_\mu = \mathbb 1∑μ​Eμ​=1.

A map TTT on matrices is positive if it sends positive semidefinite matrices to positive semidefinite matrices, and completely positive if T⊗1T\otimes\mathbb 1T⊗1, acting blockwise on matrices over Cd⊗Cn\mathbb C^d\otimes\mathbb C^nCd⊗Cn, is positive for every ancilla dimension nnn.

For the no-communication theorem, Alice's Kraus matrices AμmA_{\mu m}Aμm​ and Bob's Kraus matrices BνnB_{\nu n}Bνn​ act on the same finite-dimensional space. The probability that Bob obtains ν\nuν, irrespective of Alice's outcome, is (Eq. (10))

pν=∑μtr⁡(∑m,nBνnAμm ρ Aμm†Bνn†).p_\nu = \sum_\mu \operatorname{tr}\Big(\sum_{m,n} B_{\nu n} A_{\mu m}\,\rho\,A_{\mu m}^\dagger B_{\nu n}^\dagger\Big).pν​=μ∑​tr(m,n∑​Bνn​Aμm​ρAμm†​Bνn†​).

Formalization targets

Goal: no-communication (Sec. II.E, Eqs. (9)-(11))

If [Aμm,Bνn]=0[A_{\mu m}, B_{\nu n}] = 0[Aμm​,Bνn​]=0 for all μ,m,ν,n\mu, m, \nu, nμ,m,ν,n, Alice's POVM is complete, and ρ\rhoρ is a density matrix, then for every outcome ν\nuν of Bob

∑μtr⁡(∑m,nBνnAμm ρ Aμm†Bνn†)=tr⁡(∑nBνn ρ Bνn†),\sum_\mu \operatorname{tr}\Big(\sum_{m,n} B_{\nu n} A_{\mu m}\,\rho\,A_{\mu m}^\dagger B_{\nu n}^\dagger\Big) = \operatorname{tr}\Big(\sum_n B_{\nu n}\,\rho\,B_{\nu n}^\dagger\Big),μ∑​tr(m,n∑​Bνn​Aμm​ρAμm†​Bνn†​)=tr(n∑​Bνn​ρBνn†​),

so all of Alice's operators disappear from Bob's statistics.

Milestones (Sec. II.D-II.E)

  1. Eq. (7): ∑mtr⁡(AμmρAμm†)=tr⁡(ρEμ)\sum_m \operatorname{tr}(A_{\mu m}\rho A_{\mu m}^\dagger) = \operatorname{tr}(\rho E_\mu)∑m​tr(Aμm​ρAμm†​)=tr(ρEμ​).
  2. Eq. (8): every EμE_\muEμ​ is positive semidefinite.
  3. Eqs. (7)-(8): for a density matrix and a complete POVM, the pμp_\mupμ​ are nonnegative reals summing to 111.
  4. Eq. (6) defines a completely positive map.
  5. Eq. (6) is the most general completely positive linear map: every completely positive linear map between matrix algebras has a finite Kraus representation.
  6. Time reversal (transposition, i.e. complex conjugation of a Hermitian ρ\rhoρ) is a positive map,
  7. but it is not completely positive.
  8. The exchange step of Sec. II.E: under the commutation hypothesis, tr⁡∑m,nBνnAμmρAμm†Bνn†=tr⁡(Eμ∑nBνnρBνn†)\operatorname{tr}\sum_{m,n} B_{\nu n}A_{\mu m}\rho A_{\mu m}^\dagger B_{\nu n}^\dagger = \operatorname{tr}\big(E_\mu \sum_n B_{\nu n}\rho B_{\nu n}^\dagger\big)tr∑m,n​Bνn​Aμm​ρAμm†​Bνn†​=tr(Eμ​∑n​Bνn​ρBνn†​).

Significance

The no-communication theorem is the consistency check between quantum measurement theory and relativistic causality, and it is the starting point of the relativistic measurement theory developed in Sec. III of the review. The commutation condition (9) is exactly what local quantum field theory provides for spacelike separated regions, so this algebraic form is the one later used for microcausality arguments. The Kraus representation (milestones 4-5) is a basic structural theorem of quantum information theory, and the failure of complete positivity for transposition (milestones 6-7) underlies the partial-transpose entanglement criterion.

The results are classical and their proofs are known; the mission produces machine-checked versions on top of Mathlib's matrix library. The finite Kraus representation theorem (milestone 5) requires Choi-matrix machinery that is not, to the knowledge of this proposal, available in Mathlib in this form; it is reusable well beyond this mission.

Difficulty

The goal and milestones 1-3 and 8 are finite-dimensional trace manipulations; the care needed is in keeping the order of products right, using the adjoint of the commutation relation, and summing over indices in the correct order. Milestone 7 needs an explicit entangled witness on C2⊗Cn\mathbb C^2\otimes\mathbb C^nC2⊗Cn. Milestone 5 is the substantial one: the obvious approach of writing T(ρ)T(\rho)T(ρ) in a basis does not produce Kraus operators directly; a positivity argument (via the Choi matrix of TTT and its spectral decomposition) is needed.

Formalization scope

All Hilbert spaces are finite dimensional: matrices are indexed by arbitrary finite types with complex entries. Outcome sets and discarded-subsystem label sets are finite types; Alice's and Bob's label sets may depend on the outcome. Kraus matrices for the single-intervention milestones may be rectangular (e×de\times de×d), reflecting that the system after the intervention may differ from the original one; in the no-communication theorem both observers' matrices are square on a common space. The order on C\mathbb CC used for "nonnegative probability" is the standard partial order (z≥0z\ge 0z≥0 iff zzz is real and nonnegative). Complete positivity quantifies over ancillas Cn\mathbb C^nCn for every n∈Nn\in\mathbb Nn∈N, with T⊗1T\otimes\mathbb 1T⊗1 acting blockwise. Time reversal is encoded by the linear map ρ↦ρT\rho\mapsto\rho^{T}ρ↦ρT; on Hermitian matrices this coincides with complex conjugation, and only the linear extension gives a meaningful complete-positivity statement.

The goal keeps the hypotheses of the source setting (both POVMs complete, ρ\rhoρ a density matrix); none of them can be dropped silently by a degenerate encoding, and the conclusion is an identity of complex numbers, so no hypothesis is vacuous: for instance, single-outcome trivial interventions with A=B=1A = B = \mathbb 1A=B=1 satisfy all of them.

Note: the sentence on p. 100 of the source claiming that commuting POVM elements are necessarily orthogonal projections is not included; as stated it fails (e.g. E1=E2=121E_1 = E_2 = \tfrac12\mathbb 1E1​=E2​=21​1).

Selected references

  • A. Peres and D. R. Terno, Quantum information and relativity theory, Rev. Mod. Phys. 76, 93-123 (2004). https://doi.org/10.1103/RevModPhys.76.93
  • K. Kraus, States, Effects, and Operations, Lecture Notes in Physics 190, Springer (1983). https://doi.org/10.1007/3-540-12732-1
  • M.-D. Choi, Completely positive linear maps on complex matrices, Linear Algebra Appl. 10, 285-290 (1975). https://doi.org/10.1016/0024-3795(75)90075-0
10 thms2 active usersReviewed
Machine LearningTheoretical Computer Science·Captain: mikedeng1

Shadow Tomography of Quantum States 1: Polylogarithmically Many Copies Suffice to Estimate Every Acceptance Probability to Within εResearch Paper

Motivation

Learning an unknown quantum state is expensive. Full quantum state tomography of a DDD-dimensional mixed state ρ\rhoρ to accuracy ε\varepsilonε in trace distance needs on the order of D2/ε2D^2/\varepsilon^2D2/ε2 copies of ρ\rhoρ (O'Donnell–Wright 2016; Haah et al. 2017), and this is optimal. For a system of nnn qubits, D=2nD = 2^nD=2n, so full tomography is out of reach beyond a few dozen qubits.

Often one does not need the whole density matrix, only the behaviour of ρ\rhoρ on a fixed list of tests: acceptance probabilities of verification circuits, expectation values of observables, or the answers a piece of quantum advice gives to a set of questions. Aaronson (arXiv:1711.01053, STOC 2018) named this task shadow tomography and asked whether the number of copies can be polylogarithmic in both the dimension and the number of tests. Measuring each test on separate copies costs O~(M/ε2)\tilde O(M/\varepsilon^2)O~(M/ε2) copies, which is linear in MMM.

Timeline.

  • 2016: the question was posed at a mini-course without a name (Aaronson, The Complexity of Quantum States and Transformations, §8.3.1).
  • 2016: Harrow, Lin and Montanaro gave a correct "quantum OR" test, repairing an earlier flawed claim (arXiv:1607.03236, Corollary 11).
  • 2017–2018: Aaronson proved the first polylogarithmic bound, the theorem of this mission.
  • Later work improved the exponents, notably Bădescu–O'Donnell 2021, and introduced the related "classical shadows" of Huang–Kueng–Preskill 2020.

Setting

A mixed state of dimension DDD is a D×DD\times DD×D Hermitian positive semidefinite matrix ρ\rhoρ with Tr ρ=1\mathrm{Tr}\,\rho = 1Trρ=1. A two-outcome measurement is a D×DD\times DD×D Hermitian matrix EEE with all eigenvalues in [0,1][0,1][0,1]. Equivalently, 0⪯E⪯10 \preceq E \preceq \mathbb 10⪯E⪯1. It accepts ρ\rhoρ with probability Tr(Eρ)\mathrm{Tr}(E\rho)Tr(Eρ).

The state ρ⊗k\rho^{\otimes k}ρ⊗k consists of kkk independent copies of ρ\rhoρ. A measurement of ρ⊗k\rho^{\otimes k}ρ⊗k with classical output is a POVM: a finite family of positive semidefinite matrices PωP_\omegaPω​ on the kkk-register space with ∑ωPω=1\sum_\omega P_\omega = \mathbb 1∑ω​Pω​=1. Outcome ω\omegaω occurs with probability Tr(Pωρ⊗k)\mathrm{Tr}(P_\omega\rho^{\otimes k})Tr(Pω​ρ⊗k). An adaptive procedure that measures the copies one after another is described by one such POVM.

Problem 1 (shadow tomography). Given an unknown ρ\rhoρ and known two-outcome measurements E1,…,EME_1,\dots,E_ME1​,…,EM​, output numbers b1,…,bM∈[0,1]b_1,\dots,b_M\in[0,1]b1​,…,bM​∈[0,1] with ∣bi−Tr(Eiρ)∣≤ε|b_i-\mathrm{Tr}(E_i\rho)|\le\varepsilon∣bi​−Tr(Ei​ρ)∣≤ε for all iii, with success probability at least 1−δ1-\delta1−δ. The output must come from a measurement of ρ⊗k\rho^{\otimes k}ρ⊗k, with k=k(D,M,ε,δ)k=k(D,M,\varepsilon,\delta)k=k(D,M,ε,δ) as small as possible. The measurement may depend on the EiE_iEi​, but not on ρ\rhoρ.

Formalization targets

Goal: Theorem 2, in the explicit form proved in §5

There is a universal constant CCC such that, for M≥2M\ge2M≥2 and 0<ε,δ≤1/20<\varepsilon,\delta\le 1/20<ε,δ≤1/2, Problem 1 is solvable with

k≤C log⁡Dε(log⁡log⁡D+log⁡1εε2)2log⁡4M(log⁡log⁡M+log⁡log⁡D+log⁡1ε+log⁡1δ)=O~(log⁡1/δε5log⁡4Mlog⁡D)k \le C\,\frac{\log D}{\varepsilon}\Big(\frac{\log\log D+\log\frac1\varepsilon}{\varepsilon^{2}}\Big)^{2}\log^4 M\Big(\log\log M+\log\log D+\log\frac1\varepsilon+\log\frac1\delta\Big) = \tilde O\Big(\frac{\log 1/\delta}{\varepsilon^5}\log^4 M\log D\Big)k≤CεlogD​(ε2loglogD+logε1​​)2log4M(loglogM+loglogD+logε1​+logδ1​)=O~(ε5log1/δ​log4MlogD)

copies. This is the last display of the proof (p. 19). The goal fixes no constant, so any improvement of CCC remains consistent with it.

Milestones

  • Theorem 13 (Harrow–Lin–Montanaro). A one-copy test that accepts with probability at least (1−ϵ)2/7(1-\epsilon)^2/7(1−ϵ)2/7 if some Tr(Eiρ)≥1−ϵ\mathrm{Tr}(E_i\rho)\ge1-\epsilonTr(Ei​ρ)≥1−ϵ, and at most 4ΔM4\Delta M4ΔM if ∑iTr(Eiρ)≤ΔM\sum_i\mathrm{Tr}(E_i\rho)\le\Delta M∑i​Tr(Ei​ρ)≤ΔM.
  • Lemma 14 (Quantum OR Bound). Deciding whether max⁡iTr(Eiρ)≥c\max_i\mathrm{Tr}(E_i\rho)\ge cmaxi​Tr(Ei​ρ)≥c or ≤c−ε\le c-\varepsilon≤c−ε with O(log⁡(1/δ)log⁡M/ε2)O(\log(1/\delta)\log M/\varepsilon^2)O(log(1/δ)logM/ε2) copies, independent of DDD.
  • Lemma 15 (Gentle Search). Finding jjj with Tr(Ejρ)≥c−ε\mathrm{Tr}(E_j\rho)\ge c-\varepsilonTr(Ej​ρ)≥c−ε with O(log⁡4Mε2(log⁡log⁡M+log⁡1δ))O(\frac{\log^4M}{\varepsilon^2}(\log\log M+\log\frac1\delta))O(ε2log4M​(loglogM+logδ1​)) copies.
  • Amplification claims (p. 16). The threshold tests Ei,t,±∗E^*_{i,t,\pm}Ei,t,±∗​ on ρ⊗q\rho^{\otimes q}ρ⊗q accept with probability at least 5/65/65/6 when the hypothesis is off by ε\varepsilonε, and at most 1/31/31/3 when it is within ε/2\varepsilon/2ε/2.
  • Markov claim (p. 17). The postselection test FtF_tFt​ on an arbitrary, possibly entangled, qqq-register state accepts with probability at most aq(a+ε/4)q\frac{a q}{(a+\varepsilon/4)q}(a+ε/4)qaq​.
  • Lemma 12 (Quantum Union Bound, probability part). Measurements each accepting with probability at least 1−ε1-\varepsilon1−ε all accept in succession with probability at least 1−2Mε1-2M\sqrt\varepsilon1−2Mε​.
  • Chernoff claim (p. 18). 1−Tr(Ftρ⊗q)≤ε4/log⁡2D1-\mathrm{Tr}(F_t\rho^{\otimes q})\le\varepsilon^4/\log^2D1−Tr(Ft​ρ⊗q)≤ε4/log2D.
  • Proposition 20. Promise-gap thresholds for all iii at once can be decided with O(log⁡(M/δ)/ε2)O(\log(M/\delta)/\varepsilon^2)O(log(M/δ)/ε2) copies.

Significance

The result. Theorem 2 shows that a state of exponential dimension can be learned "for all practical purposes" on exponentially many tests from polynomially many copies. Applications in the paper include a bound on quantum advice and one-way communication, and implications for quantum money and copy-protection. It also shows that the information needed to predict many measurement outcomes is far smaller than the description of ρ\rhoρ.

Formalizing it. The theorem is proved in the paper, and later work improves its exponents. As far as is known it has not been machine-checked. A complete development formalizes the gentle-measurement toolkit (Lemma 12, Lemma 14, Lemma 15), the amplification of two-outcome measurements on tensor powers, and the postselection argument. These are standard tools of quantum learning theory and quantum complexity with no formal counterpart yet. Lemma 14 and Lemma 15 are reusable beyond this mission.

Difficulty

The naive approach measures the EiE_iEi​ directly on shared copies. A measurement that is likely to reject disturbs the state, so later measurements see a damaged state, and separate copies per measurement cost MMM copies.

The proof needs three ingredients:

  • a gentle search that finds a measurement on which the current hypothesis is wrong while damaging the copies only slightly;
  • a potential argument showing that postselection cannot happen too often;
  • a uniform control of the damage.

The potential argument has to hold for the state after postselection, which is correlated or entangled across registers. Independence-based concentration fails there, which is why the Markov claim, not a Chernoff bound, governs that step. Theorem 13 itself rests on a delicate ancilla-based procedure of Harrow, Lin and Montanaro, and the mission cites it as a milestone without its proof.

Formalization scope

  • Representation.
    • Operators are complex matrices over a finite index type, and states use the published WildeQIT.IsDensityOperator (positive semidefinite, trace one).
    • A two-outcome measurement is IsEffect E: both EEE and 1−E\mathbb 1-E1−E are positive semidefinite.
    • ρ⊗k\rho^{\otimes k}ρ⊗k is a matrix indexed by kkk-tuples Fin k → n.
    • A measurement with output is a POVM structure with a finite outcome type. Probabilities are real parts of traces.
  • Quantifier order of the goal. ∃C\exists C∃C, then for all D,M,ε,δD,M,\varepsilon,\deltaD,M,ε,δ there is kkk; then for all EiE_iEi​ there are a POVM and outputs bbb; then for all ρ\rhoρ. Choosing the measurement after ρ\rhoρ would make the goal trivial (output the true values with k=0k=0k=0), and this order rules that out.
  • Disclosed hypotheses.
    • Theorem 2 assumes M≥2M\ge2M≥2, ε≤1/2\varepsilon\le1/2ε≤1/2 and δ≤1/2\delta\le1/2δ≤1/2. These keep the logarithmic factors positive; at M=1M=1M=1 the bound would force k=0k=0k=0.
    • Lemma 14 assumes M≥2M\ge2M≥2, and Lemmas 14 and 15 bound δ\deltaδ.
    • Theorem 13 assumes ϵ≤1/2\epsilon\le1/2ϵ≤1/2, as in Harrow–Lin–Montanaro's Corollary 11.
    • The Chernoff claim assumes D≥2D\ge2D≥2.
  • Conventions.
    • All logarithms are natural, including inside log⁡log⁡\log\logloglog.
    • Amplified tests use real thresholds.
    • "Applied in succession" in Lemma 12 uses Lüders instruments (E\sqrt{E}E​ Kraus operators), in the order E1,E2,…E_1,E_2,\dotsE1​,E2​,….
    • The hypothesis ρt\rho_tρt​ enters the amplification claims only as the number a=Tr(Eρt)a=\mathrm{Tr}(E\rho_t)a=Tr(Eρt​).
  • Printed steps not drafted.
    • The printed ε−4\varepsilon^{-4}ε−4 form of Theorem 2 relies on an external online-learning algorithm that is only sketched.
    • The halting rule of §5 is unspecified, because Lemma 15 always returns an index.
    • The asymptotic claims pt≥0.9/Dqp_t\ge0.9/D^qpt​≥0.9/Dq for t=o(log⁡2D/ε4)t=o(\log^2D/\varepsilon^4)t=o(log2D/ε4) and t=O(qlog⁡D/ε)t=O(q\log D/\varepsilon)t=O(qlogD/ε) use a circular o(⋅)o(\cdot)o(⋅).
    • The trace-distance part of Lemma 12 has an unquantified O(⋅)O(\cdot)O(⋅).
    • Lemma 12's printed bound 1−2Mε1-2M\sqrt\varepsilon1−2Mε​ is weaker than its use on p. 18. It is stated as printed. The proof of the goal must retune constants or use Wilde's stronger 1−2Mε1-2\sqrt{M\varepsilon}1−2Mε​-type bound.
  • Contributions welcome. Proofs of any milestone; a formal Hoeffding bound for binomial counts of product effects; the gentle measurement lemma for Lüders instruments; Naimark dilation for effects.

Selected references

  • S. Aaronson, Shadow Tomography of Quantum States, STOC 2018; arXiv:1711.01053v2, 2018. https://arxiv.org/abs/1711.01053
  • A. W. Harrow, C. Y.-Y. Lin, A. Montanaro, Sequential measurements, disturbance and property testing, SODA 2017. https://arxiv.org/abs/1607.03236
  • M. M. Wilde, Sequential decoding of a general classical-quantum channel, Proc. R. Soc. A, 2013. https://arxiv.org/abs/1303.0808
  • 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, 2017. https://arxiv.org/abs/1508.01797
  • C. Bădescu, R. O'Donnell, Improved quantum data analysis, STOC 2021. https://arxiv.org/abs/2011.10908
  • H.-Y. Huang, R. Kueng, J. Preskill, Predicting many properties of a quantum system from very few measurements, Nature Physics, 2020. https://arxiv.org/abs/2002.08953
16 thms2 active usersReviewed
🏆Completed
Number TheoryProbabilityTheoretical Computer Science·Captain: mikedeng1

Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer 4: The Discrete Logarithm Circuit Gives a Good Output with Probability at Least 1/480Research Paper

Motivation

The discrete logarithm problem modulo a prime asks, given a prime ppp, a generator ggg of the multiplicative group modulo ppp, and a nonzero residue xxx, for the exponent rrr with gr≡x(modp)g^r\equiv x \pmod pgr≡x(modp). Its presumed classical hardness underlies Diffie–Hellman key exchange, ElGamal encryption and the Digital Signature Algorithm. The best classical algorithm known when Shor wrote, Gordon's adaptation of the number field sieve, runs in time exp⁡(O((log⁡p)1/3(log⁡log⁡p)2/3))\exp(O((\log p)^{1/3}(\log\log p)^{2/3}))exp(O((logp)1/3(loglogp)2/3)).

In §6 of Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (SIAM J. Comput. 26(5), 1997; doi:10.1137/S0097539795293172, arXiv:quant-ph/9508027), Shor gave a quantum algorithm that uses two modular exponentiations and two quantum Fourier transforms and outputs, with constant probability, a pair from which rrr can be computed. The quantitative core of that analysis is a single number: the circuit produces a "good" output with probability at least 1/4801/4801/480. This mission formalizes that bound and the three estimates it is assembled from.

Setting

Let ppp be a prime and ggg a generator of (Z/pZ)×(\mathbb Z/p\mathbb Z)^\times(Z/pZ)×, so that 1,g,…,gp−21,g,\dots,g^{p-2}1,g,…,gp−2 are all the nonzero residues. Fix the unknown rrr with 0≤r<p−10\le r<p-10≤r<p−1 and put x=grx=g^rx=gr. Let q=2lq=2^lq=2l be the power of 222 with p<q<2pp<q<2pp<q<2p.

The Fourier matrix AqA_qAq​ is the q×qq\times qq×q matrix with entries (Aq)a,c=q−1/2exp⁡(2πi ac/q)(A_q)_{a,c}=q^{-1/2}\exp(2\pi i\,ac/q)(Aq​)a,c​=q−1/2exp(2πiac/q) for 0≤a,c<q0\le a,c<q0≤a,c<q (§4, eq. (4.1)). Rows index input basis vectors and columns output basis vectors.

The algorithm uses three registers: two holding numbers 0≤a,b<q0\le a,b<q0≤a,b<q and one holding a nonzero residue modulo ppp. It starts from the state

1p−1∑a=0p−2∑b=0p−2∣a,b,gax−b (mod p)⟩(6.1)\frac{1}{p-1}\sum_{a=0}^{p-2}\sum_{b=0}^{p-2}|a,b,g^ax^{-b}\ (\mathrm{mod}\ p)\rangle \qquad (6.1)p−11​a=0∑p−2​b=0∑p−2​∣a,b,gax−b (mod p)⟩(6.1)

(preFourierState), applies AqA_qAq​ to each of the first two registers (finalState), and measures all three registers. The probability of observing ∣c,d,y⟩|c,d,y\rangle∣c,d,y⟩ is the squared modulus of its amplitude (outcomeProb).

For integers zzz and q>0q>0q>0, the symmetric residue {z}q\{z\}_q{z}q​ is the residue of zzz modulo qqq in (−q/2,q/2](-q/2,q/2](−q/2,q/2] (symmRes). Put

T=rc+d−rp−1{c(p−1)}q.T=rc+d-\frac{r}{p-1}\{c(p-1)\}_q .T=rc+d−p−1r​{c(p−1)}q​.

An observed state ∣c,d,y⟩|c,d,y\rangle∣c,d,y⟩ is good (IsGood) when

∣{T}q∣≤12(6.10)and∣{c(p−1)}q∣≤q/12(6.11).|\{T\}_q|\le\tfrac12 \quad (6.10) \qquad\text{and}\qquad |\{c(p-1)\}_q|\le q/12 \quad (6.11).∣{T}q​∣≤21​(6.10)and∣{c(p−1)}q​∣≤q/12(6.11).

Goodness depends only on (c,d)(c,d)(c,d).

Formalization targets

Goal: a good output with probability at least 1/4801/4801/480 (§6, p. 1504)

∑0≤c,d<q(c,d) good ∑y∈(Z/p)×Pr⁡[c,d,y] ≥ 1480.\sum_{\substack{0\le c,d<q\\ (c,d)\ \text{good}}}\ \sum_{y\in(\mathbb Z/p)^\times}\Pr[c,d,y]\ \ge\ \frac1{480}.0≤c,d<q(c,d) good​∑​ y∈(Z/p)×∑​Pr[c,d,y] ≥ 4801​.

The constant is the one the page carries forward. The goal fixes no threshold on ppp: it is stated for every prime ppp that admits a power of two strictly between ppp and 2p2p2p.

Milestones

  1. The output distribution, eq. (6.4). For 0≤k<p−10\le k<p-10≤k<p−1,
Pr⁡[c,d,gk]=∣1(p−1)q∑0≤a,b≤p−2a−rb≡k (p−1)exp⁡(2πiq(ac+bd))∣2.\Pr[c,d,g^k]=\left|\frac{1}{(p-1)q}\sum_{\substack{0\le a,b\le p-2\\ a-rb\equiv k\ (p-1)}}\exp\Bigl(\frac{2\pi i}{q}(ac+bd)\Bigr)\right|^2 .Pr[c,d,gk]=​(p−1)q1​0≤a,b≤p−2a−rb≡k (p−1)​∑​exp(q2πi​(ac+bd))​2.
  1. Each good state is likely, eq. (6.17). If (c,d)(c,d)(c,d) is good, then Pr⁡[c,d,y]≥1/(20q2)\Pr[c,d,y]\ge 1/(20q^2)Pr[c,d,y]≥1/(20q2) for every yyy.
  2. Many good pairs (p. 1504). At least q/12q/12q/12 pairs (c,d)(c,d)(c,d) are good.
  3. Each good ccc is likely (p. 1504). If (c,d)(c,d)(c,d) is good for some ddd, then ∑d′,yPr⁡[c,d′,y]≥(p−1)/(20q2)≥1/(40q)\sum_{d',y}\Pr[c,d',y]\ge(p-1)/(20q^2)\ge1/(40q)∑d′,y​Pr[c,d′,y]≥(p−1)/(20q2)≥1/(40q).

Significance

The result. The bound 1/4801/4801/480 is what turns the circuit into an algorithm. Repeating the circuit O(1)O(1)O(1) times in expectation yields a good output, and from a good pair (c,d)(c,d)(c,d) one reads off an equation that determines rrr modulo divisors of p−1p-1p−1 (§6, eqs. (6.18)–(6.20)). Together with the quantum Fourier transform circuit and reversible modular exponentiation, this places the discrete logarithm modulo a prime in quantum polynomial time. Every later analysis of quantum attacks on discrete-logarithm cryptography starts from this success probability or a sharpened version of it.

Formalizing it. The result has been proved since 1994–1997 and is textbook material; it is not open. As far as is known, no machine-checked proof of Shor's discrete-logarithm analysis exists. The paper's proof of eq. (6.17) replaces a sum by an integral with an error term O(W/(pq))O(W/(pq))O(W/(pq)) whose constant is not given, yet states 1/(20q2)1/(20q^2)1/(20q2) for every prime. A formal proof must therefore either control that error explicitly or find another argument, and so settles a point the paper leaves informal. Numerically, the smallest value of q2Pr⁡[c,d,y]q^2\Pr[c,d,y]q2Pr[c,d,y] over good states is about 0.490.490.49 for all primes p<90p<90p<90, so the unconditional claim is not in doubt for small ppp. The page also contains two small slips, recorded under Formalization scope; a complete development pins down exactly what is true.

Difficulty

The exponential sum (6.4) runs over pairs (a,b)(a,b)(a,b) satisfying a congruence modulo p−1p-1p−1, while the phases are taken modulo qqq. The two moduli are unrelated: qqq is a power of two and p−1p-1p−1 is arbitrary. Eliminating aaa through the congruence introduces a floor function ⌊(br+k)/(p−1)⌋\lfloor(br+k)/(p-1)\rfloor⌊(br+k)/(p−1)⌋, and the resulting phase is not linear in bbb. The obvious estimate treats the sum as a geometric series in bbb and bounds it by its first-order phase; this fails because the floor term perturbs every phase by an amount of size up to ∣{c(p−1)}q∣|\{c(p-1)\}_q|∣{c(p−1)}q​∣. Condition (6.11) only keeps this perturbation within π/6\pi/6π/6 of the main phase; it does not remove it. The per-state bound must survive this perturbation uniformly in ppp, rrr and kkk, including small primes where the paper's integral approximation gives no explicit control.

The count of good pairs needs a separate argument about how often a multiple c(p−1)c(p-1)c(p−1) lies within q/12q/12q/12 of a multiple of qqq when gcd⁡(p−1,q)\gcd(p-1,q)gcd(p−1,q) is large.

Formalization scope

  • States are functions Fin q × Fin q × (ZMod p)ˣ → ℂ. The first two registers range over {0,…,q−1}\{0,\dots,q-1\}{0,…,q−1}; the third over the units modulo ppp.
  • Matrix convention. Following §2, rows are inputs, so the amplitude of ∣c,d,y⟩|c,d,y\rangle∣c,d,y⟩ after the transforms is ∑a,bψ(a,b,y)(Aq)a,c(Aq)b,d\sum_{a,b}\psi(a,b,y)(A_q)_{a,c}(A_q)_{b,d}∑a,b​ψ(a,b,y)(Aq​)a,c​(Aq​)b,d​. finalState is defined this way from (6.1) and AqA_qAq​. It is not typed in as the closed form (6.3) or (6.4). A formalization that defined the final state by (6.4) directly would make milestone 1 trivial, and is ruled out.
  • Probability of a basis state is the squared norm of its amplitude, with no normalization hypothesis.
  • Parameters. ppp is prime (Fact p.Prime). The generator is encoded as orderOf g = p - 1. r<p−1r<p-1r<p−1 is a parameter, with x=grx=g^rx=gr. qqq is given by q = 2 ^ l together with p<q<2pp<q<2pp<q<2p. No large-ppp threshold is added anywhere.
  • Arithmetic. x−bx^{-b}x−b is x⁻¹ ^ b in the unit group. p−1p-1p−1 is computed in Z\mathbb ZZ and R\mathbb RR inside TTT and the congruences, and as natural-number subtraction only where p≥2p\ge2p≥2 makes it exact. TTT is real.
  • Condition (6.10) is stated as "some integer jjj has ∣T−jq∣≤12|T-jq|\le\frac12∣T−jq∣≤21​". Because q≥4q\ge4q≥4, this is equivalent to the page's form with jjj the closest integer to T/qT/qT/q.
  • Not formalized. The preparation of (6.1) by testing and restarting is not formalized; the state (6.1) is taken as displayed. The printed test "whether the number is less than ppp" should read p−1p-1p−1, as the sums in (6.1) show. Also out of scope: the recovery of rrr (eqs. (6.18)–(6.20)), the repetition count "480t480t480t", and all running-time claims.
  • Printed slips.
    • The page asserts that for each ccc there is exactly one ddd satisfying (6.10). At a tie {T}q=±12\{T\}_q=\pm\frac12{T}q​=±21​ there can be two such ddd. Milestone 3 states only the count, which needs at least one.
    • The page's intermediate bound "at least p/(240q)p/(240q)p/(240q)" should be (p−1)/(240q)(p-1)/(240q)(p−1)/(240q). The conclusion 1/4801/4801/480 is unaffected, since qqq and 2p2p2p are both even and so q≤2(p−1)q\le 2(p-1)q≤2(p−1). Only 1/4801/4801/480 is stated.

Needed infrastructure: finite exponential sums and their modulus, the symmetric residue and its basic properties, and counting multiples in residue classes of Z/q\mathbb Z/qZ/q. The exponential-sum estimates of milestones 1 and 2 are reusable in the order-finding analysis of §5 of the same paper. Proofs of any milestone, of the normalization ∑Pr⁡=1\sum\Pr=1∑Pr=1, and of auxiliary lemmas about symmRes are welcome.

Selected references

  • P. W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, SIAM J. Comput. 26(5):1484–1509, 1997. https://doi.org/10.1137/S0097539795293172 (preprint: https://arxiv.org/abs/quant-ph/9508027)
  • D. M. Gordon, Discrete logarithms in GF(p) using the number field sieve, SIAM J. Discrete Math. 6(1):124–138, 1993. https://doi.org/10.1137/0406010
  • W. Diffie and M. E. Hellman, New directions in cryptography, IEEE Trans. Inform. Theory 22(6):644–654, 1976. https://doi.org/10.1109/TIT.1976.1055638
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2000. https://doi.org/10.1017/CBO9780511976667
11 thms2 active usersReviewed
🏆Completed
Harmonic AnalysisTheoretical Computer Science·Captain: mikedeng1

Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer 1: The Quantum Fourier Transform Circuit Computes A_q up to Bit ReversalResearch Paper

Motivation

Shor's factoring and discrete logarithm algorithms (Shor 1997) reduce both problems to sampling from the output of a quantum Fourier transform: a register holding a superposition with a hidden period is transformed, then measured, and the measured value carries information about the period. The whole speed-up rests on one engineering fact: for q=2lq = 2^lq=2l the q×qq \times qq×q Fourier matrix, which has q2=4lq^2 = 4^lq2=4l entries, can be applied by a quantum circuit of only O(l2)O(l^2)O(l2) elementary gates, each acting on one or two bits.

That circuit was found independently by Coppersmith (IBM RC 19642, 1994) and Deutsch, and Shor's §4 presents it following Ekert and Jozsa (Rev. Mod. Phys. 68, 1996). It is the quantum analogue of the radix-2 fast Fourier transform, and it reappears in phase estimation, in the hidden subgroup algorithms for abelian groups, and in every textbook account of quantum computation. This mission formalizes Shor's statement that the circuit computes the Fourier matrix, up to a reversal of the output bits, together with the two displayed steps of its verification.

Setting

A register of lll bits has one basis state ∣a⟩=∣al−1al−2…a0⟩|a\rangle = |a_{l-1} a_{l-2} \dots a_0\rangle∣a⟩=∣al−1​al−2​…a0​⟩ for every bit string, with a0a_0a0​ the least significant bit; the string encodes the integer

a=∑j=0l−12jaj,0≤a<q=2l.a = \sum_{j=0}^{l-1} 2^j a_j, \qquad 0 \le a < q = 2^l .a=j=0∑l−1​2jaj​,0≤a<q=2l.

A state is a vector of complex amplitudes, one per basis state. A gate is a matrix whose rows are indexed by input basis vectors and whose columns are indexed by output basis vectors (§2, p. 1489). A gate on some of the bits acts on those bits through its matrix and leaves the others alone (§2, p. 1490): the output amplitude at a string bbb is the sum, over the possible input values uuu of the acted-on bits, of the input amplitude at bbb with those bits replaced by uuu, times the matrix entry from uuu to the corresponding bits of bbb.

The Fourier matrix AqA_qAq​ (eq. (4.1)) is the q×qq \times qq×q matrix with (a,c)(a, c)(a,c) entry q−1/2exp⁡(2πi ac/q)q^{-1/2}\exp(2\pi i\,ac/q)q−1/2exp(2πiac/q); it takes ∣a⟩|a\rangle∣a⟩ to q−1/2∑c=0q−1exp⁡(2πi ac/q) ∣c⟩q^{-1/2}\sum_{c=0}^{q-1}\exp(2\pi i\,ac/q)\,|c\rangleq−1/2∑c=0q−1​exp(2πiac/q)∣c⟩.

The circuit uses two gates (eqs. (4.2), (4.3)):

  • RjR_jRj​ acts on bit jjj with matrix 12(111−1)\frac{1}{\sqrt 2}\begin{pmatrix} 1 & 1 \\ 1 & -1\end{pmatrix}2​1​(11​1−1​);
  • Sj,kS_{j,k}Sj,k​, for j<kj < kj<k, acts on bits jjj and kkk with matrix diag(1,1,1,eiθk−j)\mathrm{diag}(1, 1, 1, e^{i\theta_{k-j}})diag(1,1,1,eiθk−j​), where θk−j=π/2k−j\theta_{k-j} = \pi / 2^{k-j}θk−j​=π/2k−j; it multiplies the amplitude of a basis state by eiθk−je^{i\theta_{k-j}}eiθk−j​ when bits jjj and kkk are both 111.

The circuit is the gate sequence (4.4), applied from left to right:

Rl−1 Sl−2,l−1 Rl−2 Sl−3,l−1 Sl−3,l−2 Rl−3⋯R1 S0,l−1 S0,l−2⋯S0,2 S0,1 R0,R_{l-1}\, S_{l-2,l-1}\, R_{l-2}\, S_{l-3,l-1}\, S_{l-3,l-2}\, R_{l-3} \cdots R_1\, S_{0,l-1}\, S_{0,l-2} \cdots S_{0,2}\, S_{0,1}\, R_0 ,Rl−1​Sl−2,l−1​Rl−2​Sl−3,l−1​Sl−3,l−2​Rl−3​⋯R1​S0,l−1​S0,l−2​⋯S0,2​S0,1​R0​,

that is, for j=l−1,…,0j = l-1, \dots, 0j=l−1,…,0 it applies Sj,l−1,…,Sj,j+1S_{j,l-1}, \dots, S_{j,j+1}Sj,l−1​,…,Sj,j+1​ and then RjR_jRj​. On three bits it is R2S1,2R1S0,2S0,1R0R_2 S_{1,2} R_1 S_{0,2} S_{0,1} R_0R2​S1,2​R1​S0,2​S0,1​R0​.

The bit reversal of a string bbb is the string ccc with ck=bl−1−kc_k = b_{l-1-k}ck​=bl−1−k​.

Formalization targets

Goal: the circuit computes AqA_qAq​ up to bit reversal (§4, p. 1496)

For every l≥0l \ge 0l≥0 and every basis state ∣a⟩|a\rangle∣a⟩, with q=2lq = 2^lq=2l,

circuit ∣a⟩=1q1/2∑bexp⁡(2πi ac/q) ∣b⟩,c=bit reversal of b.\text{circuit}\,|a\rangle = \frac{1}{q^{1/2}}\sum_{b}\exp(2\pi i\,ac/q)\,|b\rangle, \qquad c = \text{bit reversal of } b .circuit∣a⟩=q1/21​b∑​exp(2πiac/q)∣b⟩,c=bit reversal of b.

The sum runs over all lll-bit strings bbb. Reading the output register in reverse order therefore yields Aq∣a⟩A_q|a\rangleAq​∣a⟩.

Milestone 1: the amplitude along the circuit (§4, eq. (4.5), p. 1496)

The amplitude of ∣b⟩|b\rangle∣b⟩ in circuit ∣a⟩\text{circuit}\,|a\ranglecircuit∣a⟩ is

2−l/2exp⁡(i(∑0≤j<lπajbj+∑0≤j<k<lπ2k−jajbk)).2^{-l/2}\exp\Big(i\Big(\sum_{0\le j<l}\pi a_jb_j + \sum_{0\le j<k<l}\frac{\pi}{2^{k-j}}a_jb_k\Big)\Big).2−l/2exp(i(0≤j<l∑​πaj​bj​+0≤j<k<l∑​2k−jπ​aj​bk​)).

Milestone 2: the phase identity (§4, eqs. (4.6)–(4.10), pp. 1496–1497)

For bit strings a,ba, ba,b, with ccc the bit reversal of bbb and a,ca, ca,c their values,

exp⁡(i(∑0≤j<lπajbj+∑0≤j<k<lπ2k−jajbk))=exp⁡(2πi ac/q).\exp\Big(i\Big(\sum_{0\le j<l}\pi a_jb_j + \sum_{0\le j<k<l}\frac{\pi}{2^{k-j}}a_jb_k\Big)\Big) = \exp(2\pi i\,ac/q).exp(i(0≤j<l∑​πaj​bj​+0≤j<k<l∑​2k−jπ​aj​bk​))=exp(2πiac/q).

Significance

The result. The goal says that AqA_qAq​, a dense unitary on 2l2^l2l amplitudes, is realized by lll one-bit gates and l(l−1)/2l(l-1)/2l(l−1)/2 two-bit gates, followed by a relabelling of the output. This is what makes the Fourier sampling step of the factoring algorithm (§5) and of the discrete logarithm algorithm (§6) polynomial in the number of bits. Without it, the analyses of those sections describe measurements of states that no efficient circuit is known to prepare. The bit reversal is a real part of the statement: the circuit does not compute AqA_qAq​ itself for l≥2l \ge 2l≥2, and an implementation must either permute the output bits or read them in reverse order.

Formalizing it. The identity is classical and its proof is short on paper; its content lies in bookkeeping that is easy to get wrong: which bit a gate touches, which of the input or output value a bit holds when a phase gate acts, and the order in which the gates are applied. A machine-checked version fixes all of these conventions explicitly and yields a reusable model of gate-level circuits on bit strings. To the drafter's knowledge there is no Lean formalization of this circuit on Prove2Me; the platform's FastFourierTransform rows state the classical Cooley–Tukey recursion for the unnormalized transform with the opposite sign, which is a different object.

Difficulty

Multiplying out the gate matrices is not an argument beyond tiny lll: the difficulty is to control the whole product of l(l+1)/2l(l+1)/2l(l+1)/2 gates symbolically. The paper's argument (§4, p. 1496) is informal at exactly the points a formal proof must make precise: that only one sequence of intermediate basis states from ∣a⟩|a\rangle∣a⟩ to ∣b⟩|b\rangle∣b⟩ carries nonzero amplitude, and that at the moment Sj,kS_{j,k}Sj,k​ acts, bit kkk already holds its output value bkb_kbk​ while bit jjj still holds its input value aja_jaj​. Both facts depend on the order (4.4); applying the same gates in the reverse order gives a different unitary, whose phase pairs bjb_jbj​ with aka_kak​. The phase identity then holds only modulo 2π2\pi2π, not as an equality of real numbers, so it cannot be closed by rearranging sums alone.

Formalization scope

  • States. A bit string on lll bits is Fin l → Fin 2, with bit j equal to aja_jaj​ and value ∑j2jaj\sum_j 2^j a_j∑j​2jaj​ (least significant bit first). A state is a function from bit strings to ℂ. The case l=0l = 0l=0 (q=1q = 1q=1, empty circuit) is included.
  • Gate application follows the row = input convention: a one-bit gate MMM on bit jjj sends ψ\psiψ to b↦∑uψ(b[j↦u]) Mu,bjb \mapsto \sum_u \psi(b[j\mapsto u])\,M_{u, b_j}b↦∑u​ψ(b[j↦u])Mu,bj​​, and a two-bit gate acts analogously on the pair (bit jjj, bit kkk).
  • The circuit is the gate list (4.4) — an explicit list of constructors R j and S j k — run by a left fold, so the leftmost gate acts first. It is not defined as the matrix AqA_qAq​ or by its entries; a definition of that kind would make the goal true by unfolding and is ruled out.
  • Angles. θk−j=π/2k−j\theta_{k-j} = \pi/2^{k-j}θk−j​=π/2k−j uses natural-number subtraction, which is exact because the list only contains Sj,kS_{j,k}Sj,k​ with j<kj < kj<k.
  • Normalization. The prefactor q−1/2q^{-1/2}q−1/2 is written (2l)−1(\sqrt{2^l})^{-1}(2l​)−1.
  • Basis form. The goal is stated on basis states, as on the page; by linearity it determines the circuit on every state.
  • Not stated. The gate count: the paper's sentence "we thus need to use l(l−1)/2l(l-1)/2l(l−1)/2 quantum gates" (p. 1496) counts only the gates Sj,kS_{j,k}Sj,k​; the sequence (4.4) also contains the lll gates RjR_jRj​, l(l+1)/2l(l+1)/2l(l+1)/2 gates in all. The approximate transform of Coppersmith and the one-bit construction of Griffiths and Niu (p. 1497) are out of scope, as is the polynomial-time claim.

Welcome contributions: proofs of the two milestones and the goal; general lemmas about one- and two-bit gate actions on Fin l → Fin 2 states (commutation of gates on disjoint bits, linearity, action on basis states), which are reusable for any gate-level circuit; and a proof that the circuit is unitary.

Selected references

  • P. W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, SIAM J. Comput. 26(5):1484–1509, 1997. https://doi.org/10.1137/S0097539795293172
  • D. Coppersmith, An approximate Fourier transform useful in quantum factoring, IBM Research Report RC 19642, 1994. https://arxiv.org/abs/quant-ph/0201067
  • A. Ekert and R. Jozsa, Quantum computation and Shor's factoring algorithm, Rev. Mod. Phys. 68:733–753, 1996. https://doi.org/10.1103/RevModPhys.68.733
  • R. B. Griffiths and C.-S. Niu, Semiclassical Fourier transform for quantum computation, Phys. Rev. Lett. 76:3228–3231, 1996. https://doi.org/10.1103/PhysRevLett.76.3228
5 thms2 active usersReviewed
🏆Completed
Mathematical Physics·Captain: Lucas

Decoherence in Two-Flavour Neutrino Oscillations (Alves 2020)Research Paper

Motivation

Neutrino oscillations are an interference phenomenon, so they are sensitive to any mechanism that degrades quantum coherence during propagation. The open quantum system description models such effects without specifying their microscopic origin: the neutrino is treated as a subsystem whose reduced density matrix evolves under a Markovian master equation. The dissertation of G. F. S. Alves (Instituto de Física, Universidade de São Paulo, 2020) develops this framework for two and three neutrino generations and uses public IceCube atmospheric data to constrain the new parameters. Its two-generation chapter derives closed-form oscillation probabilities under several choices of the dissipative term; this mission formalizes that chapter's mathematical content.

Setting

A density matrix is a positive semidefinite complex matrix of unit trace. For a two-level system (two neutrino mass eigenstates) the reduced state ρ(t)∈C2×2\rho(t)\in\mathbb C^{2\times2}ρ(t)∈C2×2 obeys the Lindblad equation with constant coefficients,

ρ˙=−i[H,ρ]+D[ρ],D[ρ]=12∑i,j=13aij(2σiρσj−{σjσi,ρ}),\dot\rho=-i[H,\rho]+D[\rho],\qquad D[\rho]=\tfrac12\sum_{i,j=1}^3 a_{ij}\bigl(2\sigma_i\rho\sigma_j-\{\sigma_j\sigma_i,\rho\}\bigr),ρ˙​=−i[H,ρ]+D[ρ],D[ρ]=21​i,j=1∑3​aij​(2σi​ρσj​−{σj​σi​,ρ}),

where σ1,σ2,σ3\sigma_1,\sigma_2,\sigma_3σ1​,σ2​,σ3​ are the Pauli matrices and the 3×33\times33×3 Kossakowski matrix a=(aij)a=(a_{ij})a=(aij​) is Hermitian positive semidefinite (the condition for complete positivity). In the mass basis the vacuum Hamiltonian is H=diag⁡(0,Δm2/2E)H=\operatorname{diag}(0,\Delta m^2/2E)H=diag(0,Δm2/2E), and the mixing matrix with Majorana phase α\alphaα is

U=(cos⁡θeiαsin⁡θ−e−iαsin⁡θcos⁡θ).U=\begin{pmatrix}\cos\theta&e^{i\alpha}\sin\theta\\-e^{-i\alpha}\sin\theta&\cos\theta\end{pmatrix}.U=(cosθ−e−iαsinθ​eiαsinθcosθ​).

The muon neutrino is produced in the state ρμ(0)=U†∣ν1⟩⟨ν1∣U\rho_\mu(0)=U^\dagger|\nu_1\rangle\langle\nu_1|Uρμ​(0)=U†∣ν1​⟩⟨ν1​∣U, and the survival probability after a baseline LLL is Pνμ→νμ=Tr⁡{ρ(L)ρμ(0)}P_{\nu_\mu\to\nu_\mu}=\operatorname{Tr}\{\rho(L)\rho_\mu(0)\}Pνμ​→νμ​​=Tr{ρ(L)ρμ​(0)}. The linear entropy Sl(ρ)=1−Tr⁡ρ2S_l(\rho)=1-\operatorname{Tr}\rho^2Sl​(ρ)=1−Trρ2 and the von Neumann entropy S(ρ)=−Tr⁡ρln⁡ρS(\rho)=-\operatorname{Tr}\rho\ln\rhoS(ρ)=−Trρlnρ measure the loss of purity.

Formalization targets

Goal: decoherent survival probability, eq. (3.24)

For the pure-decoherence Kossakowski matrix a=diag⁡(0,0,γ)a=\operatorname{diag}(0,0,\gamma)a=diag(0,0,γ), γ≥0\gamma\ge0γ≥0, every solution with ρ(0)=ρμ(0)\rho(0)=\rho_\mu(0)ρ(0)=ρμ​(0) satisfies, for all L≥0L\ge0L≥0,

Pνμ→νμ=14(3+cos⁡4θ+2e−2γLcos⁡(Δm22EL)sin⁡22θ).P_{\nu_\mu\to\nu_\mu}=\frac14\Bigl(3+\cos4\theta+2e^{-2\gamma L}\cos\Bigl(\frac{\Delta m^2}{2E}L\Bigr)\sin^22\theta\Bigr).Pνμ​→νμ​​=41​(3+cos4θ+2e−2γLcos(2EΔm2​L)sin22θ).

Milestones

  1. Range of the linear entropy, eq. (2.45), and of the von Neumann entropy, eqs. (2.40)–(2.41).
  2. Non-negativity of the relative entropy, eq. (2.43).
  3. Entropy increase whenever the maximally mixed state is a fixed point of DDD (Appendix B.1, two-level case).
  4. Pauli-basis form of the Dissipator, eq. (3.5).
  5. Average-energy conservation holds iff a=diag⁡(0,0,γ)a=\operatorname{diag}(0,0,\gamma)a=diag(0,0,γ), eqs. (3.19)–(3.22).
  6. The evolved state in case (1), eq. (3.23), and the population in case (4), eq. (3.26).

Significance

The goal is the formula used in the dissertation to show how decoherence damps oscillations: it reduces to the standard vacuum formula at γ=0\gamma=0γ=0, it tends to 14(3+cos⁡4θ)\tfrac14(3+\cos4\theta)41​(3+cos4θ) at large LLL instead of oscillating, and it does not depend on α\alphaα. The milestones connect the formula to the structure of the Lindblad generator (energy conservation singles out this Dissipator) and to entropy growth. A formal development yields a checked two-level Lindblad toolkit (Pauli expansion of dissipators, explicit solutions, entropy bounds) reusable in other open-system missions. The results are proved informally in the source; none is known to be machine-checked.

Difficulty

The ODE part requires a uniqueness argument for a linear matrix ODE on [0,∞)[0,\infty)[0,∞) given only one-sided derivatives at t=0t=0t=0, plus exact trigonometric bookkeeping. The entropy milestones need spectral calculus for Hermitian matrices (Klein's inequality, concavity of −xln⁡x-x\ln x−xlnx) and, for Appendix B.1, the monotonicity of relative entropy under completely positive trace-preserving maps together with complete positivity of Lindblad semigroups, neither of which is expected to be available off the shelf.

Formalization scope

Matrices are Matrix (Fin 2) (Fin 2) ℂ; the Kossakowski matrix is Matrix (Fin 3) (Fin 3) ℂ with indices 0,1,20,1,20,1,2 for the thesis' 1,2,31,2,31,2,3. Solutions are curves R→C2×2\mathbb R\to\mathbb C^{2\times2}R→C2×2 satisfying the Lindblad equation entrywise for t≥0t\ge0t≥0 (derivatives within [0,∞)[0,\infty)[0,∞)); the exponential eLte^{\mathcal Lt}eLt is not used. Entropies use the continuous functional calculus. Two printed formulas are corrected in the drafts: the sign of the ρ0 Im(aij)\rho_0\,\mathrm{Im}(a_{ij})ρ0​Im(aij​) terms in eq. (3.5), and the overall sign of the off-diagonal entries in eq. (3.23); both corrections are explained in the corresponding items. The two-generation cases (4) and (5) survival probabilities, eqs. (3.25) and (3.27), and the three-generation and IceCube analyses are out of scope.

Selected references

  • G. F. S. Alves, Decoherence in Neutrino Oscillations in the IceCube Experiment, MSc dissertation, Instituto de Física, Universidade de São Paulo, 2020.
  • G. Lindblad, On the generators of quantum dynamical semigroups, Commun. Math. Phys. 48 (1976) 119–130, https://doi.org/10.1007/BF01608499
  • V. Gorini, A. Kossakowski, E. C. G. Sudarshan, Completely positive dynamical semigroups of N-level systems, J. Math. Phys. 17 (1976) 821–825, https://doi.org/10.1063/1.522979
10 thms2 active usersReviewed
🏆Completed
Quantum Error Correction·Captain: Lucas

Knill-Laflamme-Zurek: Resilient Quantum Computation and the Error ThresholdResearch Paper

Motivation

A quantum computer manipulates superpositions of many degrees of freedom, and every gate it applies is imperfect. Before 1996 it was widely argued that this fragility is fatal: the accuracy demanded of each elementary operation appeared to grow with the length of the computation, so that arbitrarily long computations would require arbitrarily perfect hardware. The discovery of quantum error-correcting codes, of fault tolerant syndrome extraction, and of transversally encoded operations changed that picture, but the first fault tolerant schemes still required the error per operation to shrink as the computation grew.

Knill, Laflamme and Zurek, Resilient Quantum Computation: Error Models and Thresholds (arXiv:quant-ph/9702058), together with the independent work of Kitaev and of Aharonov and Ben-Or, removed that requirement: they exhibited a fixed threshold value such that any physical error rate below it permits arbitrarily accurate encoded computation, at an overhead that is only polylogarithmic in the length of the computation. Their paper is also the one that pushes past independent stochastic noise: its thresholds are proved for quasi-independent error models, which accommodate coherent over-rotation and weak residual couplings between neighbouring qubits.

This mission formalizes the quantitative engine of that paper: the concatenation recursion, the error-model bounds it is applied to, the threshold it produces, and the resulting overhead.

Setting

Fix a physical implementation in which each gate, state preparation and idle memory step carries an error location. A noisy network with error locations indexed by a finite set locs\mathrm{locs}locs is described through an error expansion; each summand fails at a set of locations, and the model constrains how probable simultaneous failures are.

Write μ\muμ for the underlying probability measure and FiF_iFi​ for the event that location iii has failed. Two models from Section I.B of the paper are used here.

  • Quasi-independent stochastic model with error probability ppp: for every set S⊆locsS \subseteq \mathrm{locs}S⊆locs of error locations,
μ(⋂i∈SFi)≤p∣S∣.\mu\Big(\bigcap_{i \in S} F_i\Big) \le p^{|S|}.μ(i∈S⋂​Fi​)≤p∣S∣.
  • Quasi-independent monotonic model with constant CCC and parameter ppp: the same quantity is bounded by C p∣S∣C\,p^{|S|}Cp∣S∣.

The fault tolerant construction of Section I turns physical qubits into encoded qubits: each encoded gate is a transversal operation preceded by fault tolerant recovery networks built from the 777-qubit Steane code. The analysis of Section II declares an encoded gate failed according to an explicit combinatorial rule, and shows that a failure requires two failures among a set of fff minimal pairs of physical error locations. Consequently one level of encoding maps a failure parameter ppp to fp2f p^{2}fp2.

Iterating this reduction is concatenation. Define the level-hhh failure parameter by

E0=p,Eh+1=f Eh2,E_0 = p, \qquad E_{h+1} = f\,E_h^{2},E0​=p,Eh+1​=fEh2​,

written Eh=levelError f p hE_h = \texttt{levelError}\,f\,p\,hEh​=levelErrorfph in the Lean development. Let KKK bound the number of qubits and time steps at the level below that are consumed by one encoded gate, so that one computational gate at level hhh costs KhK^{h}Kh physical resources.

Formalization targets

Goal — threshold theorem with polylogarithmic overhead

For f≥1f \ge 1f≥1, K≥2K \ge 2K≥2, 0≤p<1/f0 \le p < 1/f0≤p<1/f, and every gate count nnn and target failure probability qqq with 0<q<n0 < q < n0<q<n, there exists a level hhh with

n Eh<qandKh  ≤  K2(max⁡(1, log⁡(n/q)log⁡(1/(fp))))log⁡2K.n\,E_h < q \qquad\text{and}\qquad K^{h} \;\le\; K^{2}\Big(\max\Big(1,\ \frac{\log(n/q)}{\log\big(1/(fp)\big)}\Big)\Big)^{\log_2 K}.nEh​<qandKh≤K2(max(1, log(1/(fp))log(n/q)​))log2​K.

The first clause is resilience: a computation of nnn encoded gates can be made to fail with probability below any prescribed qqq. The second is the cost: the overhead per computational gate is polylogarithmic in n/qn/qn/q, with exponent log⁡2K\log_2 Klog2​K. The threshold itself is the hypothesis p<1/fp < 1/fp<1/f; no numerical value is hard-coded, so the statement survives any improvement of the paper's count f≤337195f \le 337195f≤337195 and of the resulting bounds 3.0×10−63.0 \times 10^{-6}3.0×10−6 and 1.3×10−61.3 \times 10^{-6}1.3×10−6.

Supporting targets

The milestone list covers the closed form Eh=f2h−1p2hE_h = f^{2^{h}-1} p^{2^{h}}Eh​=f2h−1p2h of the concatenation recursion and its threshold form Eh=(fp)2h/fE_h = (fp)^{2^{h}}/fEh​=(fp)2h/f; convergence Eh→0E_h \to 0Eh​→0 below threshold; the failure bounds ∣locs∣ p|\mathrm{locs}|\,p∣locs∣p and C ∣locs∣ pC\,|\mathrm{locs}|\,pC∣locs∣p for a network under the two error models; the criterion 2h>log⁡(n/q)/log⁡(1/(fp))2^{h} > \log(n/q)/\log(1/(fp))2h>log(n/q)/log(1/(fp)) under which n(fp)2h<qn (fp)^{2^{h}} < qn(fp)2h<q; and the overhead estimate K⌈log⁡2L⌉≤KLlog⁡2KK^{\lceil \log_2 L\rceil} \le K L^{\log_2 K}K⌈log2​L⌉≤KLlog2​K.

Significance

The threshold theorem is the reason large-scale quantum computation is regarded as a physically meaningful goal rather than an idealization: it converts an engineering requirement that scales with the problem size into a fixed, size-independent accuracy target, and it fixes the currency — threshold value and overhead exponent — in which every later architecture is compared. The quasi-independent models matter separately: they show the conclusion does not depend on noise being stochastic, which is what rules out the objection that coherent over-rotations invalidate the stochastic analysis.

The paper's own argument is a physics-style derivation: a circuit-level construction, a combinatorial count of failure-inducing pairs of error locations, and a recursion. This mission formalizes the recursion, the probabilistic bounds and the resulting threshold and overhead statements. It does not formalize the circuit-level content — the 777-qubit code, the cat-state syndrome extraction networks, transversality, or the count f≤337195f \le 337195f≤337195 itself; these enter the formal statements as the parameters fff and KKK. No machine-checked proof of the full threshold theorem, in the sense of a verified fault tolerant circuit construction, is known to the author of this proposal; formalizing the quantitative layer is a prerequisite for one.

Difficulty

The obvious route to "errors vanish under concatenation" is to iterate the bound p↦fp2p \mapsto f p^{2}p↦fp2 and observe the doubly exponential decay. That step is the easy half, and the milestone list makes it explicit. What the naive argument silently assumes is exactly what Section II must establish: that the level-(h+1)(h+1)(h+1) failure events again obey a quasi-independent bound, with kkk simultaneous encoded failures bounded by (fp2)k(f p^{2})^{k}(fp2)k rather than merely each single failure bounded by fp2f p^{2}fp2. This is why the paper's failure declaration is defined backwards in time and demands disjoint pairs of contributing locations. A formalization that bounds only single-gate failure probabilities cannot close the induction.

The second difficulty is bookkeeping at the edges: the recursion is stated for a failure parameter that is a probability in one model and an operator strength in the other, and the overhead bound involves a real exponent log⁡2K\log_2 Klog2​K and a ceiling, whose interaction with the degenerate cases p=0p = 0p=0 and n≤qn \le qn≤q has to be handled rather than assumed away.

Formalization scope

All parameters are real numbers: f,p,q,K,C∈Rf, p, q, K, C \in \mathbb{R}f,p,q,K,C∈R, and the gate count nnn is a natural number cast to R\mathbb{R}R. levelError is defined by recursion on the level and is total, so it is meaningful for every real f,pf, pf,p; the threshold hypothesis appears explicitly as p<1/fp < 1/fp<1/f where it is needed.

The two error models are predicates on a measure μ\muμ on a measurable space, a Finset of error locations, and a family of failure events, with values in ENNReal; they quantify over all subsets SSS of the location set, matching the paper's "at a given kkk many error locations". The network failure bounds are stated for μ(⋃iFi)\mu\big(\bigcup_{i} F_i\big)μ(⋃i​Fi​), the probability that some location fails.

The goal is not vacuous: the hypotheses f≥1f \ge 1f≥1, K≥2K \ge 2K≥2, 0≤p<1/f0 \le p < 1/f0≤p<1/f, 0<q<n0 < q < n0<q<n are simultaneously satisfiable (for instance f=1f = 1f=1, K=2K = 2K=2, p=10−6p = 10^{-6}p=10−6, n=106n = 10^{6}n=106, q=1/2q = 1/2q=1/2), and the conclusion asserts a strict inequality together with a quantitative overhead bound, so it cannot be discharged by a degenerate reading. Degenerate inputs are inside the statement rather than excluded: p=0p = 0p=0, and the case log⁡(n/q)/log⁡(1/(fp))≤1\log(n/q)/\log(1/(fp)) \le 1log(n/q)/log(1/(fp))≤1, are covered by the max⁡\maxmax and must be handled.

A complete development needs only Mathlib's real analysis (Real.log, Real.logb, Real.rpow, Nat.ceil) and the measure-theoretic union bound; nothing quantum is required by the formal statements. Contributions strengthening the milestone list towards the circuit level — a formal model of error locations in a network, of the induced next-level error model, or of stabilizer-code recovery — are welcome as further targets.

Selected references

  • E. Knill, R. Laflamme, W. H. Zurek, Resilient Quantum Computation: Error Models and Thresholds, arXiv:quant-ph/9702058 (1997), https://arxiv.org/abs/quant-ph/9702058
  • A. M. Steane, Error Correcting Codes in Quantum Theory, Physical Review Letters 77, 793 (1996), https://doi.org/10.1103/PhysRevLett.77.793
  • P. W. Shor, Fault-tolerant quantum computation, Proceedings of the 37th Symposium on Foundations of Computer Science (1996), https://arxiv.org/abs/quant-ph/9605011
  • D. Aharonov, M. Ben-Or, Fault-Tolerant Quantum Computation With Constant Error, arXiv:quant-ph/9611025 (1996), https://arxiv.org/abs/quant-ph/9611025
  • A. Yu. Kitaev, Quantum computations: algorithms and error correction, Russian Mathematical Surveys 52, 1191 (1997), https://doi.org/10.1070/RM1997v052n06ABEH002155
9 thms2 active usersReviewed
🏆Completed
Quantum Error Correction·Captain: Lucas

Aharonov-Ben-Or Threshold: Recursive Sparseness Below the ThresholdResearch Paper

Motivation

Quantum computations are performed on physical devices whose elementary operations are never exact: every gate, every idle qubit, every time step is subject to decoherence, damping and systematic inaccuracy. Without protection these errors accumulate and destroy the computation. In 1997 Dorit Aharonov and Michael Ben-Or proved that this can be overcome: as long as the error rate — the probability, per location per time step, that a fault occurs — is below a fixed positive threshold, an arbitrary quantum circuit can be simulated reliably with only polylogarithmic overhead (arXiv:quant-ph/9906129). This threshold theorem is the reason large-scale quantum computing is regarded as physically possible in principle, and the number it produces is the target every hardware programme is measured against.

The engine of the proof is not quantum mechanical but combinatorial. A circuit is encoded, then the encoded circuit is encoded again, rrr times over. The locations of the resulting circuit are organised into a tree of nested rectangles, and the computation survives precisely when the set of faulty locations is sparse in a recursive sense. The mission formalizes that engine: the recursive sparseness calculus of §7.4–7.6 and §8.2 of the paper, which converts a constant error rate below the threshold into a doubly exponentially small failure probability.

Setting

Fix two natural numbers: AAA, the number of locations in a rectangle, and kkk, the number of faulty sub-rectangles a rectangle tolerates (in the paper k=⌊d/l⌋k=\lfloor d/l\rfloork=⌊d/l⌋, where ddd is the number of errors the code corrects and lll is the spread of a fault). A 000-rectangle is a single location of the circuit, and an (r+1)(r+1)(r+1)-rectangle consists of AAA many rrr-rectangles. A fault pattern of an rrr-rectangle records, for each of its ArA^{r}Ar locations, whether a fault occurred there.

Following Definition 18 of the paper, a fault pattern is (r,k)(r,k)(r,k)-sparse by recursion on rrr: at level 000 it is sparse when the location carries no fault; at level r+1r+1r+1 it is sparse when at most kkk of the AAA constituent rrr-rectangles carry a pattern that is not (r,k)(r,k)(r,k)-sparse. Under independent probabilistic noise of rate η\etaη each location is faulty with probability η\etaη, independently; write P(r)P(r)P(r) for the probability that the pattern of an rrr-rectangle is (r,k)(r,k)(r,k)-sparse, and 1−P(r)1-P(r)1−P(r) for the probability that it is not.

Two thresholds appear. The threshold condition for probabilistic noise (Definition 19) is

(Ak+1) ηk+1<η,\binom{A}{k+1}\,\eta^{k+1} < \eta ,(k+1A​)ηk+1<η,

and the threshold condition for general noise (Definition 21) is

e(Ak+1)(2η)k+1<2η.e\binom{A}{k+1}(2\eta)^{k+1} < 2\eta .e(k+1A​)(2η)k+1<2η.

The corresponding thresholds are ηc=(Ak+1)−1/k\eta_c=\binom{A}{k+1}^{-1/k}ηc​=(k+1A​)−1/k and ηc′=12(e(Ak+1))−1/k\eta_c'=\tfrac12\bigl(e\binom{A}{k+1}\bigr)^{-1/k}ηc′​=21​(e(k+1A​))−1/k: every positive η\etaη below them satisfies the respective condition.

Target

The goal is the quantitative core of Theorem 10. Below the threshold there are constants C,c>0C,c>0C,c>0 such that for every circuit size v≥1v\ge 1v≥1 and every accuracy 0<ε<10<\varepsilon<10<ε<1 some recursion depth rrr satisfies both

v⋅(1−P(r))<εandAr≤C(1+log⁡vε)c.v\cdot\bigl(1-P(r)\bigr) < \varepsilon \qquad\text{and}\qquad A^{r} \le C\Bigl(1+\log\frac{v}{\varepsilon}\Bigr)^{c}.v⋅(1−P(r))<εandAr≤C(1+logεv​)c.

The first inequality says that, over all vvv rectangles of the simulated circuit, the probability that any of them carries a non-sparse fault pattern is below ε\varepsilonε; the second says that the overhead per simulated location, ArA^{r}Ar, is polylogarithmic in v/εv/\varepsilonv/ε — the cost claimed in Theorem 10.

The milestones build up to it: the two threshold conditions hold below the respective thresholds, the exponent gap δ\deltaδ of equation 7.5 exists, the base case P(0)=1−ηP(0)=1-\etaP(0)=1−η, the union-bound recursion 1−P(r+1)≤(Ak+1)(1−P(r))k+11-P(r+1)\le\binom{A}{k+1}(1-P(r))^{k+1}1−P(r+1)≤(k+1A​)(1−P(r))k+1, Lemma 10 itself (P(r)≥1−η(1+δ)rP(r)\ge 1-\eta^{(1+\delta)^r}P(r)≥1−η(1+δ)r), and the analogous recursion 8.8–8.10 governing the bad part in the general-noise analysis.

Significance

Lemma 10 is where a constant error rate becomes a vanishing one. Each level of concatenation only has to improve reliability slightly, because the improvement compounds doubly exponentially in the number of levels; this is exactly why constant-rate noise can be tolerated while Shor's earlier scheme needed a polylogarithmically small rate. The same recursion, with 2η2\eta2η in place of η\etaη and an extra factor of eee, controls the trace norm of the bad part of the fault-path expansion in the general-noise model (§8.2), which is how the result is extended from probabilistic errors to decoherence, damping and systematic inaccuracy.

Formalizing this part of the paper yields a reusable, model-independent statement: nothing in the milestones mentions density matrices, so the sparseness calculus can later be plugged into a formal model of noisy quantum circuits, or reused for classical concatenated fault tolerance. What this mission does not do is formalize the circuit-level statement of Theorem 10 — that requires a full Lean model of quantum circuits with mixed states, fault-tolerant procedures, and the code constructions of §3–§6, and is deliberately out of scope here.

Difficulty

The obvious approach — bound the failure probability by a union bound over all fault sets of size k+1k+1k+1 and iterate — is exactly right, but the iteration is where the work is. The recursion qr+1≤(Ak+1)qrk+1q_{r+1}\le\binom{A}{k+1}q_r^{k+1}qr+1​≤(k+1A​)qrk+1​ only produces the doubly exponential decay η(1+δ)r\eta^{(1+\delta)^r}η(1+δ)r once the threshold condition is converted into the strict exponent gap δ\deltaδ of equation 7.5, and the induction has to keep qr≤ηq_r\le\etaqr​≤η alive to reuse that gap at every level. In the general-noise recursion there is a second trap: the factor (1+br)A−k−1(1+b_r)^{A-k-1}(1+br​)A−k−1 exceeds 111, so the recursion is not contracting termwise, and one needs 2ηA≤12\eta A\le 12ηA≤1 to bound it by eee.

On the probabilistic side, the statements are about a genuine product distribution on an exponentially large sample space, not a recursively defined real number: the union-bound step must be carried out over the actual set of fault patterns, where independence across the AAA sub-rectangles is what makes the product bound valid.

Formalization scope

Fault patterns are a type defined by recursion on the level: FaultPattern(A,0)\mathrm{FaultPattern}(A,0)FaultPattern(A,0) is the booleans and FaultPattern(A,r+1)\mathrm{FaultPattern}(A,r+1)FaultPattern(A,r+1) is the functions from the AAA sub-rectangles to FaultPattern(A,r)\mathrm{FaultPattern}(A,r)FaultPattern(A,r); every level is a finite type with decidable equality. Sparseness is a decidable predicate following Definition 18 verbatim. The noise distribution is given by the weight of a pattern, the product over all locations of η\etaη (faulty) or 1−η1-\eta1−η (clean), and the sparseness probability is the sum of these weights over the sparse patterns — an honest finite product measure, so no hypothesis 0≤η≤10\le\eta\le10≤η≤1 is built into the definitions and each statement carries the range hypotheses it needs.

Two conventions are worth flagging. First, the thresholds are formalized as (Ak+1)−1/k\binom{A}{k+1}^{-1/k}(k+1A​)−1/k and 12(e(Ak+1))−1/k\tfrac12(e\binom{A}{k+1})^{-1/k}21​(e(k+1A​))−1/k; the paper prints the exponent as −k-k−k in equations 7.4 and 8.6, which is inconsistent with its own threshold conditions 7.3 and 8.5, and −1/k-1/k−1/k is the exponent for which the paper's claim "any η<ηc\eta<\eta_cη<ηc​ satisfies the threshold condition" is true. Second, Lemma 10 is stated with ≥\ge≥ rather than the paper's strict >>>, because at r=0r=0r=0 the two sides are equal.

Nothing here is vacuous: all hypotheses are satisfiable — for instance A=7A=7A=7, k=1k=1k=1, η=10−3\eta=10^{-3}η=10−3 satisfies every hypothesis of the goal — and the goal quantifies over all circuit sizes and all accuracies, so it cannot be discharged by a degenerate choice. A complete development needs only real analysis, finite sums and binomial counting from Mathlib. Contributions that generalise the branching factor to a per-rectangle bound Ai≤AA_i\le AAi​≤A, or that connect the calculus to a formal model of noisy circuits, are welcome.

Selected references

  • Dorit Aharonov and Michael Ben-Or, Fault-Tolerant Quantum Computation With Constant Error Rate, arXiv:quant-ph/9906129 (1999); preliminary version in Proc. 29th ACM STOC (1997). https://arxiv.org/abs/quant-ph/9906129
  • Peter W. Shor, Fault-tolerant quantum computation, Proc. 37th FOCS (1996). https://arxiv.org/abs/quant-ph/9605011
  • Dorit Aharonov, Alexei Kitaev and Noam Nisan, Quantum circuits with mixed states, Proc. 30th ACM STOC (1998). https://arxiv.org/abs/quant-ph/9806029
9 thms2 active usersReviewed
🏆Completed
Algebraic TopologyQuantum Error Correction·Captain: Rui Chao

Counterexamples to the Zeng–Pryadko Homological-Distance ConjectureResearch Paper

Background and main question

The tensor product of chain complexes is a basic construction in homological algebra and in the theory of quantum CSS codes. If AAA and BBB are finite based chain complexes over a finite field, their tensor product is graded by total degree,

(A⊗B)j=⨁i=0jAi⊗Bj−i.(A\otimes B)_j=\bigoplus_{i=0}^{j} A_i\otimes B_{j-i}.(A⊗B)j​=i=0⨁j​Ai​⊗Bj−i​.

Each complex carries a basis-dependent homological distance: dj(A)d_j(A)dj​(A) is the least Hamming weight of a degree-jjj cycle that is not a boundary, with dj(A)=∞d_j(A)=\inftydj​(A)=∞ when the degree-jjj homology vanishes. A natural candidate for the distance of the tensor product is therefore

mj(A,B)=min⁡0≤i≤jdi(A)dj−i(B).m_j(A,B)=\min_{0\le i\le j} d_i(A)d_{j-i}(B).mj​(A,B)=0≤i≤jmin​di​(A)dj−i​(B).

Every nonzero pair of homology classes in complementary degrees gives a pure-tensor class of the corresponding product weight, so one always has dj(A⊗B)≤mj(A,B)d_j(A\otimes B)\le m_j(A,B)dj​(A⊗B)≤mj​(A,B). The substantive question is whether this upper bound is always sharp.

In the preprint Higher-Dimensional Quantum Hypergraph-Product Codes with Finite Rates, posted in 2018 and subsequently published in Physical Review Letters, Zeng and Pryadko proved that the bound is sharp when one factor is a binary one-complex. Their exact formula is Eq. (13) of the arXiv version and is the capstone theorem of the Prove2Me mission Higher-Dimensional Quantum Hypergraph-Product Codes with Finite Rates. The present formalization is a direct sequel: it retains the same definitions and degree conventions while examining what happens when the one-complex restriction is removed.

Zeng and Pryadko later considered arbitrary finite chain complexes over arbitrary finite fields in Minimal distances for certain quantum product codes and tensor products of chain complexes, published in 2020. In the corresponding arXiv preprint, Conjecture 18 asserts the unrestricted equality

dj(A⊗B)=mj(A,B).d_j(A\otimes B)=m_j(A,B).dj​(A⊗B)=mj​(A,B).

The conjecture is appealing because it would make tensor-product distance completely compositional: the degreewise distances of the two factors would determine the distance of their product. The obstruction is that a homology class in A⊗BA\otimes BA⊗B need not have a minimum-weight representative supported in a single bidegree. A representative spread across several summands of the total complex can be lighter than every pure-tensor representative. The purpose of this formalization is to turn that observation into a concrete, machine-checked counterexample to Conjecture 18 while preserving the valid one-complex theorem as a sharply delimited special case.

The counterexample mechanism

The common foundation is recorded in the Prove2Me entry Based binary chain complexes and homological distance. In particular, the boundary in degree jjj is a map ∂j:Aj→Aj−1\partial_j:A_j\to A_{j-1}∂j​:Aj​→Aj−1​, and

dj(A)=inf⁡{wt⁡(x):x∈ker⁡∂j, x∉im⁡∂j+1}.d_j(A)=\inf\{\operatorname{wt}(x):x\in\ker\partial_j,\ x\notin\operatorname{im}\partial_{j+1}\}.dj​(A)=inf{wt(x):x∈ker∂j​, x∈/im∂j+1​}.

The one-complex result is separately available as Eq. (13) — Exact distance with a one-complex. The construction below uses exactly the same notion of distance, but both tensor factors are genuine three-term complexes.

Begin with binary CSS check maps

HX:F2n⟶F2rX,HZ:F2n⟶F2rZ,H_X:\mathbb F_2^n\longrightarrow\mathbb F_2^{r_X}, \qquad H_Z:\mathbb F_2^n\longrightarrow\mathbb F_2^{r_Z},HX​:F2n​⟶F2rX​​,HZ​:F2n​⟶F2rZ​​,

assumed surjective and satisfying HXHZT=HZHXT=0H_XH_Z^T=H_ZH_X^T=0HX​HZT​=HZ​HXT​=0. Suppose there are logical vectors x,z∈F2nx,z\in\mathbb F_2^nx,z∈F2n​ such that

HZx=0,HXz=0,x⋅z=1.H_Zx=0,\qquad H_Xz=0,\qquad x\cdot z=1.HZ​x=0,HX​z=0,x⋅z=1.

The check maps determine two dual three-term complexes

A:F2rX←HXF2n←HZTF2rZ,B:F2rZ←HZF2n←HXTF2rX.A:\quad \mathbb F_2^{r_X}\xleftarrow{H_X}\mathbb F_2^n \xleftarrow{H_Z^T}\mathbb F_2^{r_Z}, \qquad B:\quad \mathbb F_2^{r_Z}\xleftarrow{H_Z}\mathbb F_2^n \xleftarrow{H_X^T}\mathbb F_2^{r_X}.A:F2rX​​HX​​F2n​HZT​​F2rZ​​,B:F2rZ​​HZ​​F2n​HXT​​F2rX​​.

Their degree-two tensor space has three bidegree summands, corresponding to (2,0)(2,0)(2,0), (1,1)(1,1)(1,1), and (0,2)(0,2)(0,2). Under the natural matrix identifications, consider the element whose three blocks are

(IrZ,In,IrX).(I_{r_Z},I_n,I_{r_X}).(IrZ​​,In​,IrX​​).

The CSS orthogonality relations make this element a cycle. Its pairing with the chosen logical vectors certifies that it is not a boundary. Its Hamming weight is exactly rZ+n+rXr_Z+n+r_XrZ​+n+rX​, whereas the componentwise candidate in degree two reduces to

m2(A,B)=d1(A)d1(B).m_2(A,B)=d_1(A)d_1(B).m2​(A,B)=d1​(A)d1​(B).

Consequently, any CSS datum satisfying

rZ+n+rX<d1(A)d1(B)r_Z+n+r_X<d_1(A)d_1(B)rZ​+n+rX​<d1​(A)d1​(B)

produces the strict inequality d2(A⊗B)<m2(A,B)d_2(A\otimes B)<m_2(A,B)d2​(A⊗B)<m2​(A,B). For orientation, a binary quantum Golay CSS presentation with parameters [[23,1,7]][[23,1,7]][[23,1,7]] has rX=rZ=11r_X=r_Z=11rX​=rZ​=11, giving the numerical comparison 45<4945<4945<49. The formal proof must supply an explicit CSS instance and verify its algebraic and distance properties, rather than relying on the parameter notation alone.

Formalization objectives

The first milestone proves the general certificate: for every CSS datum satisfying the hypotheses above, the element (IrZ,In,IrX)(I_{r_Z},I_n,I_{r_X})(IrZ​​,In​,IrX​​) is a nontrivial degree-two cycle of weight rZ+n+rXr_Z+n+r_XrZ​+n+rX​, and the componentwise minimum is d1(A)d1(B)d_1(A)d_1(B)d1​(A)d1​(B).

The second milestone constructs and verifies one explicit CSS datum for which rZ+n+rX<d1(A)d1(B)r_Z+n+r_X<d_1(A)d_1(B)rZ​+n+rX​<d1​(A)d1​(B). This is the step that turns the general mechanism into an actual counterexample.

The capstone packages the construction as the direct existential statement

∃ A,Bd2(A⊗B)<min⁡0≤i≤2di(A)d2−i(B).\exists\,A,B\qquad d_2(A\otimes B)<\min_{0\le i\le 2}d_i(A)d_{2-i}(B).∃A,Bd2​(A⊗B)<0≤i≤2min​di​(A)d2−i​(B).

Thus the final theorem is not conditional on the existence of suitable code data: it exhibits finite based binary chain complexes for which the equality proposed in Conjecture 18 fails.

Relation to prior work

The counterexample concerns only the unrestricted passage from a one-complex factor to two arbitrary bounded complexes. It does not conflict with Zeng and Pryadko's Eq. (13), whose one-complex hypothesis rules out the three-bidegree interaction used here.

The broader literature also indicates why additional structure matters. Bravyi and Hastings introduced homological-product codes and analyzed logical representatives in product constructions; Audoux and Couvreur developed tensor products of CSS codes through chain-complex methods. More recently, Akhmechet et al. discussed the Zeng–Pryadko conjecture in the structured setting of complexes derived from Khovanov homology, while Berthusen et al. restated it as Conjecture 5.1 in their study of automorphism gadgets. Golowich and Guruswami obtained strong distance guarantees for iterated homological products under expansion and local-testability hypotheses. These results are compatible with the proposed counterexample: they concern special families or impose hypotheses that are absent from Conjecture 18.

Besides settling the unrestricted statement, the formalization isolates a reusable obstruction. It shows precisely how a low-weight class assembled across several bidegrees can evade a formula based only on the degreewise distances of the factors. This distinction should help guide corrected formulations in which an exact product formula, or a useful lower bound, is recovered from additional geometric, expansion, or local-testability assumptions.

The main formal issues are mathematically substantive rather than presentational: the proof must respect the endpoint conventions for the boundary maps, distinguish a cycle from a non-boundary, compare finite weights with ∞\infty∞-valued distances, and verify a concrete strict-gap instance. Making each of these points explicit is especially important here, because an indexing shift or a merely conditional existence statement would no longer constitute a refutation of the conjecture as stated.

References

  • W. Zeng and L. P. Pryadko, Higher-Dimensional Quantum Hypergraph-Product Codes with Finite Rates, Physical Review Letters 122, 230501 (2019); arXiv:1810.01519 (2018), Eq. (13).
  • W. Zeng and L. P. Pryadko, Minimal distances for certain quantum product codes and tensor products of chain complexes, Physical Review A 102, 062402 (2020); arXiv:2007.12152, Conjecture 18.
  • S. Bravyi and M. B. Hastings, Homological Product Codes, STOC 2014; arXiv:1311.0885.
  • B. Audoux and A. Couvreur, On tensor products of CSS codes, Annales de l'Institut Henri Poincaré D 6 (2019); arXiv:1512.07081.
  • R. Akhmechet et al., Khovanov homology and quantum error-correcting codes, arXiv:2410.11252 (2024).
  • N. Berthusen et al., Automorphism gadgets in homological product codes, arXiv:2508.04794 (2025).
  • L. Golowich and V. Guruswami, Quantum LDPC Codes of Almost Linear Distance via Iterated Homological Products, CCC 2025; full version.
6 thms2 active usersReviewed
🏆Completed
Complexity Theory·Captain: Goku

Shallow Quantum Circuits and Causal ConesTextbook

Motivation

A quantum circuit of depth ddd built from gates of fan-in at most two cannot let an output wire depend on more than 2d2^d2d input wires. The argument is folklore and takes a paragraph on paper: the causal cone of the measured wire grows by at most a factor of two per layer. Formalizing it exposes a subtlety that the paper argument hides, and that is what this mission is about.

The subtlety

Define the backward cone step of a wire set SSS through a layer lll by adjoining the support of every gate of lll that meets SSS. There is a choice here: test each gate against the incoming set SSS, or against the partially accumulated cone. Testing against the accumulator over-approximates, and the doubling bound fails. Testing against the incoming set gives the bound — but is only correct when the gates within a layer act on pairwise disjoint wires.

Without that hypothesis (LayerOk) the semantic statement is false, and the counterexample is small: on three wires, the single layer [cnot 2 1, cnot 1 0] has cone {0,1}\{0,1\}{0,1} around wire 000, yet wire 000 ends up holding x0⊕x1⊕x2x_0 \oplus x_1 \oplus x_2x0​⊕x1​⊕x2​. So the cone under-approximates the true dependence. This mission's development carries LayerOk throughout, and the counterexample is recorded in the source.

What is formalized

Layered circuits over {H,S,T,CNOT}\{H, S, T, \mathrm{CNOT}\}{H,S,T,CNOT} on nnn wires, with states as amplitude functions on bit-strings and no tensor products anywhere. On top of that:

  • the combinatorial half — one layer at most doubles the cone, hence ∣cone∣≤2d ∣S∣|\mathrm{cone}| \le 2^{d}\,|S|∣cone∣≤2d∣S∣;
  • norm preservation, so that acceptProb is a genuine probability in [0,1][0,1][0,1];
  • the semantic half — inputs agreeing on the causal cone of the output wire are accepted with equal probability.

The semantic half is proved in the Heisenberg picture. The measurement observable is conjugated backwards through the circuit and its support tracked: a gate meeting the support enlarges it by that gate's own wires, and a gate missing it commutes with the observable and cancels against its own adjoint. That cancellation is the reason the non-cascading cone step is correct, and it is why unitarity of the gate set is needed at the 2n2^n2n-dimensional level rather than gate by gate. Supporting this is a small reusable algebra of local operators: locality is monotone, closed under adjoint and product, and disjointly supported operators commute.

The frontier

The published depth bound assumes each input wire lies in the syntactic cone of the output. That is weaker than saying the wire matters. Milestone 1 asks for the semantically honest version, stated in terms of genuine functional dependence; the bridge is the semantic cone theorem already in the development.

Beyond that, the natural continuations are the same argument for fan-in-kkk gates (∣cone∣≤kd|\mathrm{cone}| \le k^{d}∣cone∣≤kd), for geometrically local circuits where cone growth is linear rather than exponential, and ultimately the Bravyi–Gosset–König separation QNC0⊄NC0\mathrm{QNC}^{0} \not\subset \mathrm{NC}^{0}QNC0⊂NC0 — which needs machinery (non-local games, magic squares) that this development deliberately does not build.

9 thms2 active usersReviewed
Theoretical Computer Science·Captain: Goku

The Aaronson-Ambainis ConjectureOpen Problem

Motivation

Quantum query algorithms are known to beat classical ones on problems with algebraic structure -- period finding, hidden subgroups, forrelation. No such speedup is known for a problem with no structure at all. Aaronson and Ambainis proposed making that observation into a theorem, and reduced it to a question with no quantum content: a statement about bounded low-degree polynomials on the Boolean cube (Aaronson--Ambainis 2009).

The question has resisted since. A timeline of what is actually established:

  • 2009. Aaronson and Ambainis state the conjecture and prove that it implies almost-everywhere classical simulation of quantum query algorithms.
  • 2012. Montanaro settles the case of block-multilinear forms whose coefficients all have the same magnitude.
  • 2016. O'Donnell and Zhao reduce the general conjecture to a restricted class, the one-block decoupled polynomials.
  • 2019. Aaronson surveys a decade of partial progress (retrospective).
  • 2022. Bansal, Sinha and de Wolf prove the conjecture for completely bounded degree-ddd block-multilinear forms, obtaining influence 1/poly(d)1/\mathrm{poly}(d)1/poly(d) at constant variance (arXiv:2203.00212).
  • 2024. The conjecture is established for a non-negligible fraction of random restrictions (arXiv:2402.13952).

The cases that are settled are settled under structural hypotheses -- block-multilinearity, complete boundedness, symmetry, Boolean range. The general statement is open.

Setting

Let NNN be a positive integer. The Boolean cube is {0,1}N\{0,1\}^N{0,1}N, carrying the uniform distribution; a point xxx is identified with the 0/10/10/1 real vector it names, so a real multivariate polynomial ppp in NNN variables has a value p(x)p(x)p(x) at each cube point. For a function fff on the cube write

E[f]=2−N∑x∈{0,1}Nf(x).\mathbb{E}[f]=2^{-N}\sum_{x\in\{0,1\}^N}f(x).E[f]=2−Nx∈{0,1}N∑​f(x).

The variance of ppp is Var⁡[p]=E[(p−E[p])2]\operatorname{Var}[p]=\mathbb{E}\big[(p-\mathbb{E}[p])^2\big]Var[p]=E[(p−E[p])2]. Writing x⊕ix^{\oplus i}x⊕i for xxx with its iii-th bit flipped, the influence of coordinate iii on ppp is

Inf⁡i[p]=E[(p(x)−p(x⊕i))2].\operatorname{Inf}_i[p]=\mathbb{E}\big[(p(x)-p(x^{\oplus i}))^2\big].Infi​[p]=E[(p(x)−p(x⊕i))2].

These are the combinatorial forms of both quantities, as used in the source; no Fourier--Walsh expansion is required to state anything below. The degree of ppp is its total degree as a polynomial. Call ppp bounded when 0≤p(x)≤10\le p(x)\le 10≤p(x)≤1 at every cube point -- a condition imposed only on the cube, not on all of RN\mathbb{R}^NRN.

Target

The goal is the conjecture in the shape stated by its authors: there is an absolute constant CCC such that for all NNN, all ddd, every polynomial ppp of degree at most ddd that is bounded on the cube, and every ε>0\varepsilon>0ε>0 with Var⁡[p]≥ε\operatorname{Var}[p]\ge\varepsilonVar[p]≥ε, some coordinate iii satisfies

Inf⁡i[p]  ≥  (εd)C.\operatorname{Inf}_i[p]\;\ge\;\Big(\frac{\varepsilon}{d}\Big)^{C}.Infi​[p]≥(dε​)C.

The constant CCC is quantified outermost and may depend on nothing. That uniformity is the entire content: bounds that degrade exponentially in ddd are already known, and a goal naming a specific exponent would be superseded by the next improvement.

Significance

The result itself. Aaronson and Ambainis prove that the conjecture implies that the acceptance probability of any bounded-error TTT-query quantum algorithm on a Boolean input can be approximated, to small error on all but a small fraction of inputs, by a classical algorithm making poly(T)\mathrm{poly}(T)poly(T) queries. Quantum speedups would then require structure in a precise sense. The conjecture also has purely classical content, asserting that boundedness plus low degree forces variance to concentrate on some single coordinate rather than spread across all NNN. Without it, no such concentration is known at any rate polynomial in 1/d1/d1/d.

Formalizing it. The conjecture is open, so this mission does not formalize a known proof of the goal. What it produces is a machine-checked statement of the conjecture together with formalizations of the partial results above, each currently existing only on paper. The milestone chain also yields reusable infrastructure for analysis of Boolean functions, of which Mathlib currently contains none: no Fourier--Walsh expansion, no influence, no variance on the cube.

Difficulty

The elementary bound is the Poincare inequality on the cube, 4Var⁡[p]≤∑iInf⁡i[p]4\operatorname{Var}[p]\le\sum_i\operatorname{Inf}_i[p]4Var[p]≤∑i​Infi​[p], which yields a coordinate with influence at least 4ε/N4\varepsilon/N4ε/N. This is tight for the dictator p(x)=x1p(x)=x_1p(x)=x1​ and depends on NNN, so it says nothing: the conjecture demands a bound free of NNN entirely.

The natural repair is the route available when ppp takes only the values 000 and 111. A Boolean-valued polynomial of degree ddd depends on boundedly many coordinates, which immediately produces an influential one. That argument does not survive relaxing the range to the interval [0,1][0,1][0,1]: a bounded real-valued polynomial of low degree need not depend on boundedly many coordinates, and every known substitute loses a factor exponential in ddd. Closing the gap between exponential and polynomial dependence on ddd is the difficulty, and it is where all of the partial results stop.

Formalization scope

Polynomials are MvPolynomial (Fin N) ℝ and degree is Mathlib's totalDegree, so the statement needs no bespoke notion of degree. Expectation is a finite sum scaled by 2−N2^{-N}2−N rather than a measure-theoretic integral, keeping every definition elementary. Bit flipping is Function.update x i (!x i). Boundedness is asserted at cube points only. Variance and influence are the combinatorial definitions above, published as the definition AaronsonAmbainis.

Three points close off degenerate readings. The exponent O(1)O(1)O(1) of the source is rendered as an existentially quantified natural number with no leading multiplicative constant, since admitting one weakens the claim. Taking that exponent to be 000 would demand influence at least 111 and is therefore not a trivializing choice, while larger exponents only weaken the bound; the content is that some fixed exponent suffices for all NNN and ddd at once. The hypothesis deg⁡p≤d\deg p\le ddegp≤d is universally quantified over ddd, which is equivalent to the source's exact-degree form because the smallest admissible ddd gives the strongest conclusion. The cases N=0N=0N=0 and d=0d=0d=0 are vacuous, since 0<ε≤Var⁡[p]0<\varepsilon\le\operatorname{Var}[p]0<ε≤Var[p] fails for a constant polynomial.

A complete development needs, beyond the published definitions, a Fourier--Walsh layer with Parseval's identity, the level-kkk machinery used by the partial results, and -- for the completely bounded case -- operator-space norms on multilinear forms. All of the Boolean-analysis material is reusable well beyond this mission. Contributions of any milestone are welcome, as are alternative formalizations of the definitions in function-level rather than polynomial-level form.

Out of scope: the quantum simulation consequence is not formalized here. Stating it requires a formal quantum query model, which no Lean library currently provides.

Selected references

  • S. Aaronson, A. Ambainis, The Need for Structure in Quantum Speedups, Theory of Computing 10 (2014) 133--166; arXiv:0911.0996. Conjecture 6.
  • N. Bansal, M. Sinha, R. de Wolf, Influence in Completely Bounded Block-multilinear Forms and Classical Simulation of Quantum Algorithms, CCC 2022; arXiv:2203.00212.
  • Aaronson--Ambainis Conjecture Is True For Random Restrictions, 2024; arXiv:2402.13952.
  • S. Aaronson, The Aaronson-Ambainis Conjecture (2008-2019), blog retrospective.
  • S. Arunachalam, J. Briet, C. Palazuelos, Quantum query algorithms are completely bounded forms, SIAM J. Comput. 48 (2019); arXiv:1711.07285.
  • AIM problem list, Analysis on the hypercube with applications to quantum computing, aimpl.org/hypercubequantum.
4 thms2 active usersReviewed
Captain: Community (Bot)

Zauner's Conjecture (SIC-POVMs)Open Problem

In a 1999 Vienna doctoral thesis, Gerhard Zauner conjectured that in every finite dimension d one can find d² unit vectors in complex d-space that are mutually as spread out as possible — any two sharing the same squared overlap 1/(d+1). Such a configuration, a symmetric informationally complete positive operator-valued measure (SIC-POVM), is the optimal minimal measurement for reconstructing an unknown quantum state, which is why the idea was rediscovered and named by Renes, Blume-Kohout, Scott, and Caves in 2004 and became central to quantum tomography, quantum cryptography, and the QBist reading of quantum mechanics. Geometrically these are maximal sets of complex equiangular lines; physically they are the most efficient quantum measurements; and, remarkably, they appear to be governed by deep number theory — recent work by Appleby, Flammia, Kopp, and others ties exact SICs to Stark units and Hilbert's twelfth problem on explicit class field theory. Exact solutions have been hand-built in scores of dimensions and numerical ones found in every dimension checked, yet a general existence proof remains out of reach. Formalizing Zauner's conjecture gives this problem — straddling quantum information, geometry, and algebraic number theory — a precise shared target.

3 thms2 active usersReviewed
ProbabilityTheoretical Computer Science·Captain: mikedeng1

Quantum Speedup of Monte Carlo Methods 1: With Var(v(A)) ≤ σ² and ε < 4σ, Algorithm 3 Estimates E[v(A)] to Additive Error ε with Probability at Least 2/3Research Paper

Why estimate a mean with a quantum algorithm?

Many computational tasks produce a real number by running a randomized procedure once, then estimate its expected value by running that procedure repeatedly. The number of repetitions needed for a given additive accuracy depends on the output variance. Montanaro's Quantum speedup of Monte Carlo methods studies the same estimation problem when the procedure can be run coherently as a quantum algorithm and its unitary part can also be inverted. The bounded-variance result gives an estimator whose dependence on the requested accuracy is approximately linear in 1/ϵ1/\epsilon1/ϵ, compared with the quadratic dependence of ordinary sampling, up to logarithmic factors and the paper's model-specific operation counts. The exact asymptotic claims are in Theorem 5 of the pinned preprint, p. 12.

This mission concentrates on the probability and accuracy claim of that theorem. It includes the mean-estimation result for a nonnegative output from Lemma 4, because Algorithm 3 invokes that estimator twice after centering a general real output. The underlying amplitude-estimation theorem is a separate, already posed result, QAmpEst.Est.theorem_12; this mission uses the accuracy guarantee stated in Montanaro's Theorem 3 as the interface to that subroutine.

Outputs, truncations, and estimates

Let X=v(A)X=v(\mathcal A)X=v(A) denote the real output of a quantum algorithm A\mathcal AA under one run, and let PPP be its probability law. The mean is E[X]\mathbb E[X]E[X], and the variance is Var⁡(X)=E[(X−E[X])2]\operatorname{Var}(X)=\mathbb E[(X-\mathbb E[X])^2]Var(X)=E[(X−E[X])2]. The result assumes a known σ>0\sigma>0σ>0 with Var⁡(X)≤σ2\operatorname{Var}(X)\le\sigma^2Var(X)≤σ2. Although the paper describes a circuit that prepares and measures XXX, its accuracy statements depend on the distribution of XXX; the Lean interface therefore represents a run as a measurable real random variable on a probability space.

For real thresholds a<ba<ba<b, the truncation X[a,b)X_{[a,b)}X[a,b)​ returns XXX when a≤X<ba\le X<ba≤X<b and zero otherwise. The variants X<aX_{<a}X<a​ and X≥bX_{\ge b}X≥b​ retain the output below aaa and at or above bbb, respectively. They do not clip a value to a threshold. The L2L^2L2 size is ∥X∥2=E[X2]\|X\|_2=\sqrt{\mathbb E[X^2]}∥X∥2​=E[X2]​. These are the output transformations defined in §2.2, p. 9, and used in Lemma 4, pp. 10–11.

Algorithm 2 estimates a nonnegative mean using the base interval [0,1)[0,1)[0,1) and the half-open bands [2ℓ−1,2ℓ)[2^{\ell-1},2^\ell)[2ℓ−1,2ℓ) for 1≤ℓ≤k1\le\ell\le k1≤ℓ≤k. It sets k=⌈log⁡2(1/ϵ)⌉k=\lceil\log_2(1/\epsilon)\rceilk=⌈log2​(1/ϵ)⌉ and t0=⌈Dlog⁡2(1/ϵ)/ϵ⌉t_0=\lceil D\sqrt{\log_2(1/\epsilon)}/\epsilon\rceilt0​=⌈Dlog2​(1/ϵ)​/ϵ⌉, then adds the base estimate to 2ℓ2^\ell2ℓ times each band estimate. A successful Algorithm 1 call means that its estimate of a [0,1][0,1][0,1]-valued output YYY differs from E[Y]\mathbb E[Y]E[Y] by at most C(E[Y]/t+1/t2)C(\sqrt{\mathbb E[Y]}/t+1/t^2)C(E[Y]​/t+1/t2), the accuracy bound of Theorem 3, pp. 8–9.

Algorithm 3 rescales XXX by σ\sigmaσ, draws one sample mmm from X/σX/\sigmaX/σ, and centers the rescaled output at mmm. It feeds the negative and nonnegative parts, each divided by four, to Algorithm 2 at accuracy ϵ/(32σ)\epsilon/(32\sigma)ϵ/(32σ) and recombines their estimates. The two calls are specified to fail with probability at most 1/91/91/9 each; the paper describes boosting Algorithm 2's initial success probability for this use on p. 11.

Formalization targets

Lemma 4: nonnegative mean accuracy

When every Algorithm 1 call satisfies its accuracy bound and 0<ϵ<1/20<\epsilon<1/20<ϵ<1/2, the output μ~\widetilde\muμ​ of Algorithm 2 obeys

∣μ~−E[X]∣≤ϵ(∥X∥2+1)2.|\widetilde\mu-\mathbb E[X]|\le\epsilon(\|X\|_2+1)^2.∣μ​−E[X]∣≤ϵ(∥X∥2​+1)2.

The constant D>0D>0D>0 is chosen once for a fixed positive universal constant CCC from Theorem 3. It is independent of XXX and ϵ\epsilonϵ.

Theorem 5: bounded-variance accuracy

For Var⁡(X)≤σ2\operatorname{Var}(X)\le\sigma^2Var(X)≤σ2, σ>0\sigma>0σ>0, and 0<ϵ<4σ0<\epsilon<4\sigma0<ϵ<4σ, Algorithm 3 returns μ^\widehat\muμ​ with

Pr⁡(∣μ^−E[X]∣≤ϵ)≥23.\Pr\bigl(|\widehat\mu-\mathbb E[X]|\le\epsilon\bigr)\ge\frac23.Pr(∣μ​−E[X]∣≤ϵ)≥32​.

This is the mission goal. Its probability is over the preliminary sample and both subsequent estimation runs. The milestone list follows the exact displayed statements used in Lemma 4 and the proof of Theorem 5, with their source pages.

What the result supplies

Theorem 5 turns an estimator for nonnegative outputs with finite second moment into one that handles signed outputs whose variance is bounded, without assuming a bound on the magnitude or mean of the output. That extension matters when the quantity being averaged can be negative or has a large offset: a second-moment bound on XXX itself would then be much stronger than the paper's variance hypothesis. The stated error and success probability are the mathematical guarantee on which the paper's resource comparison rests; the comparison itself includes quantum operations absent from the measure-theoretic statement.

The formal development supplies reusable definitions of truncations, dyadic estimates, and the centered positive and negative parts, together with precisely quantified probability claims. It leaves Lemma 4 and Theorem 5 as open Lean proof targets. The amplitude-estimation statement behind Theorem 3 is already posed separately on Prove2Me, while the composed bounded-variance result and the displayed intermediate claims are the new targets here.

Where the difficulty lies

A bound for one [0,1][0,1][0,1]-valued call does not directly bound the mean of a signed, unbounded output. Truncating after finitely many bands leaves a tail, and the sum of errors over the retained bands can grow with their weights. The theorem must control both effects while keeping DDD independent of the output distribution. For the signed case, the initial sample is random; its deviation, the two later failures, and the scale of the centered output all contribute to the final probability. Replacing that sample by the exact mean would remove a substantive part of the claim.

Formalization scope

Lean uses probability measures and measurable real outputs for the laws of v(A)v(\mathcal A)v(A) and Algorithm 3's preliminary sample. The law of that sample is fixed to the image law of X/σX/\sigmaX/σ, so it cannot be selected arbitrarily. The successful-call predicate names the actual truncated outputs and the paper's kkk and t0t_0t0​ formulas; it does not assume Lemma 4's final error bound. The sample space carrying the later estimates is allowed to encode their joint dependence on the preliminary sample. Events are measured with extended nonnegative real values.

The L2L^2L2 hypotheses state that the second moment is finite. In Mathlib the real-valued variance and the integral can return a default value on a nonintegrable input, which would make a bare variance inequality or a bare ∥X∥2\|X\|_2∥X∥2​ bound misleading. The paper implicitly uses finite variance where those quantities occur. The condition 0<ϵ0<\epsilon0<ϵ makes the divisions and logarithms in the algorithm parameters meaningful. The natural-number expression ℓ−1\ell-1ℓ−1 occurs only on bands indexed by ℓ≥1\ell\ge1ℓ≥1.

The quantum circuit for Algorithm 1, the construction of an inverse unitary, and the O(⋅)O(\cdot)O(⋅) copy and operation counts are outside the formal statements. Their interface is Theorem 3's numerical accuracy event. Contributions to the dyadic inequalities, the finite-variance probability bound, and their composition into the final event are in scope. The definitions are also useful for other mean estimators that split a real output into bounded pieces.

Selected references

  • Ashley Montanaro, Quantum speedup of Monte Carlo methods, arXiv:1504.06987v3 [quant-ph], 2017, especially §§2.1–2.3, pp. 8–12. Pinned preprint.
  • Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp, Quantum Amplitude Amplification and Estimation, Contemporary Mathematics 305, 2002. arXiv preprint.
9 thms1 active userReviewed
Harmonic Analysis·Captain: mikedeng1

Optimal Hamiltonian Simulation by Quantum Signal Processing: Phases Realizing e^{ih(θ)} to Error 8ε With Success Probability at Least 1 − 16εResearch Paper

Motivation

Simulating the time evolution of a quantum system is a standard task in quantum algorithms: given a Hamiltonian, the algorithm must reproduce the phase acquired by each of its energy eigenstates. The cost is often measured by how many times the algorithm queries an operator describing that system. Low and Chuang's 2016 preprint connects this task to quantum signal processing, a method that programs a sequence of rotations of one ancillary qubit. Its Theorem 2 gives the quantitative link: a finite Fourier approximation of a desired phase function determines a phase sequence whose induced eigenvalue transformation has error at most 8ε8\varepsilon8ε and success probability at least 1−16ε1-16\varepsilon1−16ε.

The paper uses this link in a later Hamiltonian-simulation result with an optimal asymptotic query count (Theorem 3, p. 4). The present mission targets the finite, explicitly quantified signal-processing theorem that makes that application possible. The criterion for which response functions can be produced by the rotation sequence was established in earlier work by Low, Yoder and Chuang and is quoted as Theorem 1 in this paper.

Setting

An ancilla qubit has basis states ∣0⟩|0\rangle∣0⟩ and ∣1⟩|1\rangle∣1⟩. Let σx,σy,σz\sigma_x,\sigma_y,\sigma_zσx​,σy​,σz​ be its Pauli matrices. For real angles θ\thetaθ and ϕ\phiϕ, a signal rotation is

Rϕ(θ)=exp⁡ ⁣[−iθ2(σxcos⁡ϕ+σysin⁡ϕ)].R_\phi(\theta)=\exp\!\left[-i\frac{\theta}{2} (\sigma_x\cos\phi+\sigma_y\sin\phi)\right].Rϕ​(θ)=exp[−i2θ​(σx​cosϕ+σy​sinϕ)].

The signal θ\thetaθ fixes the rotation angle; ϕ\phiϕ chooses its axis in the qubit's xyxyxy plane. A list of NNN phases ϕ⃗=(ϕ1,…,ϕN)\vec\phi=(\phi_1,\ldots,\phi_N)ϕ​=(ϕ1​,…,ϕN​) gives the response sequence Vϕ⃗(θ)=RϕN(θ)⋯Rϕ1(θ)V_{\vec\phi}(\theta)=R_{\phi_N}(\theta)\cdots R_{\phi_1}(\theta)Vϕ​​(θ)=RϕN​​(θ)⋯Rϕ1​​(θ), with Rϕ1R_{\phi_1}Rϕ1​​ acting first. Its four real Pauli coefficients are defined by

Vϕ⃗(θ)=A(θ)I+iB(θ)σz+iC(θ)σx+iD(θ)σy.V_{\vec\phi}(\theta)=A(\theta)I+iB(\theta)\sigma_z +iC(\theta)\sigma_x+iD(\theta)\sigma_y.Vϕ​​(θ)=A(θ)I+iB(θ)σz​+iC(θ)σx​+iD(θ)σy​.

The ancilla state ∣+⟩=(∣0⟩+∣1⟩)/2|+\rangle=(|0\rangle+|1\rangle)/\sqrt2∣+⟩=(∣0⟩+∣1⟩)/2​ selects the scalar response ⟨+∣Vϕ⃗(θ)∣+⟩=A(θ)+iC(θ)\langle+|V_{\vec\phi}(\theta)|+\rangle=A(\theta)+iC(\theta)⟨+∣Vϕ​​(θ)∣+⟩=A(θ)+iC(θ). The realizability theorem characterizes these pairs when NNN is positive and even: AAA is a cosine series with frequencies 000 through N/2N/2N/2, CCC is a sine series with frequencies 111 through N/2N/2N/2, A(0)=1A(0)=1A(0)=1, and A(θ)2+C(θ)2≤1A(\theta)^2+C(\theta)^2\le1A(θ)2+C(θ)2≤1 for every θ\thetaθ (Theorem 1, p. 3).

For a finite-dimensional unitary WWW, choose an orthonormal eigenbasis ∣ul⟩|u_l\rangle∣ul​⟩ and real eigenphases θl\theta_lθl​, so W=∑leiθl∣ul⟩⟨ul∣W=\sum_l e^{i\theta_l}|u_l\rangle\langle u_l|W=∑l​eiθl​∣ul​⟩⟨ul​∣. The signal operator applies Rϕ(θl)R_\phi(\theta_l)Rϕ​(θl​) to the ancilla in each eigenspace: Uϕ=∑lRϕ(θl)⊗∣ul⟩⟨ul∣U_\phi=\sum_l R_\phi(\theta_l)\otimes|u_l\rangle\langle u_l|Uϕ​=∑l​Rϕ​(θl​)⊗∣ul​⟩⟨ul​∣. The ordered product V=UϕN⋯Uϕ1V=U_{\phi_N}\cdots U_{\phi_1}V=UϕN​​⋯Uϕ1​​ therefore uses one common phase list on all eigenspaces. After preparing and projecting the ancilla on ∣+⟩|+\rangle∣+⟩, the effective system operator is its block ⟨+∣V∣+⟩\langle+|V|+\rangle⟨+∣V∣+⟩. The desired operator for a real phase function hhh is Videal=∑leih(θl)∣ul⟩⟨ul∣V_{\mathrm{ideal}}=\sum_l e^{ih(\theta_l)}|u_l\rangle\langle u_l|Videal​=∑l​eih(θl​)∣ul​⟩⟨ul​∣ (Eqs. (2)–(6), pp. 2–3).

Formalization targets

Quantum signal processing

Let hhh be 2π2\pi2π-periodic, valued in (−π,π](-\pi,\pi](−π,π], and odd on the interior (−π,π)(-\pi,\pi)(−π,π), and let A,CA,CA,C be respectively a cosine and a sine series of degree at most N/2N/2N/2 for positive even NNN. If ∣A(θ)+iC(θ)−eih(θ)∣≤ε|A(\theta)+iC(\theta)-e^{ih(\theta)}|\le\varepsilon∣A(θ)+iC(θ)−eih(θ)∣≤ε at every real angle, the goal is one phase list ϕ⃗\vec\phiϕ​ for which, uniformly over angles and input unitaries,

∣⟨+∣Vϕ⃗(θ)∣+⟩∣2≥1−16ε,∥(⟨+∣V∣+⟩−Videal)ψ∥≤8ε∥ψ∥.|\langle+|V_{\vec\phi}(\theta)|+\rangle|^2\ge1-16\varepsilon, \qquad \|(\langle+|V|+\rangle-V_{\mathrm{ideal}})\psi\| \le8\varepsilon\|\psi\|.∣⟨+∣Vϕ​​(θ)∣+⟩∣2≥1−16ε,∥(⟨+∣V∣+⟩−Videal​)ψ∥≤8ε∥ψ∥.

The milestones state the exact realizability criterion, the paper's displayed scalar bounds, and the eigenspace identity that carries those bounds to the operator statement. The constants 888 and 161616 are fixed because the mission formalizes Theorem 2 and Eqs. (7)–(11), pp. 3–4, rather than an unspecified approximation rate.

Significance

The theorem makes a Fourier approximation into a phase transformation of every eigenstate of an arbitrary finite-dimensional input unitary. Its quantified success guarantee means that projecting the ancilla succeeds with probability close to one when the approximation error is small. In the paper, the particular target h(θ)=−τsin⁡θh(\theta)=-\tau\sin\thetah(θ)=−τsinθ connects this mechanism to sparse Hamiltonian simulation (Eq. (14), p. 4).

The result is proved in the cited paper; this mission asks for machine-checked proofs of its statements in the specified matrix model. The quoted characterization of achievable responses is also a proof target. A complete development would add reusable facts about products of qubit rotations, constrained trigonometric series, sum-of-squares completion, and block-diagonal operators. No machine-checked proof of this exact theorem was found in the local Prove2Me index at drafting time.

Difficulty

An arbitrary Fourier approximation is not automatically the response of a unitary rotation sequence. It may violate the squared-magnitude bound or the required value at zero, even though it is uniformly close to the target function. Those restrictions are exactly what the realizability theorem requires. The difficult part is the converse direction of that characterization: the paper quotes it from earlier work, while the present statement asks for all admissible pairs and all positive even sequence lengths. The completion of a nonnegative trigonometric polynomial into the remaining Pauli components is another substantial mathematical target; the needed factorization is not already packaged as the paper uses it in this Mathlib environment.

Formalization scope

The qubit is a 2×22\times22×2 complex matrix indexed by 0,10,10,1. Rotations use the matrix exponential and the factor θ/2\theta/2θ/2 exactly as printed. The signal product has exactly NNN factors in the paper's order. Cosine and sine series use the inclusive frequencies stated in Theorem 1. The operator model takes a finite unitary eigenbasis as data, with the ancilla as the first factor of the tensor product. The success inequality is pointwise in θ\thetaθ; the error inequality is homogeneous in every system vector and represents the paper's maximum over unit vectors. The phases are chosen before the input unitary, so they cannot depend on its eigenspaces.

The paper writes h:(−π,π]→(−π,π]h:(-\pi,\pi]\to(-\pi,\pi]h:(−π,π]→(−π,π]; the Lean target extends its domain periodically to R\mathbb RR and retains that codomain range. Oddness is imposed on the interval's interior, where both θ\thetaθ and −θ-\theta−θ belong to the printed domain. The phrase “real Fourier series in (cos⁡kθ,sin⁡kθ)(\cos k\theta,\sin k\theta)(coskθ,sinkθ)” is represented by the cosine form for AAA and sine form for CCC that its proof applies directly. “Efficiently compute” is represented by existence of phases; no runtime claim is made. The source calls the operator-vector error a trace distance; the formalization uses precisely its displayed vector norm, rather than a distance between density matrices.

Some intermediate squared inequalities need ε≤1\varepsilon\le1ε≤1 or 8ε≤18\varepsilon\le18ε≤1; those conditions appear only on the corresponding milestone clauses. The goal has no separate bound on ε\varepsilonε: its approximation hypothesis already forces ε≥0\varepsilon\ge0ε≥0. A valid formalization must use the concrete matrix product and matrix-entry Pauli components; defining response functions merely to satisfy the target would empty the theorem of its claim. Contributions that establish the realizability criterion, trigonometric completion, the explicit inequalities, and the operator lift are all in scope. The controlled-WWW circuit of Fig. 1 and the asymptotic oracle-complexity claim of Theorem 3 are outside this mission.

Selected references

  • Guang Hao Low and Isaac L. Chuang, Optimal Hamiltonian Simulation by Quantum Signal Processing, arXiv:1606.02685v2, 2016; published in Physical Review Letters 118, 010501 (2017). Preprint.
  • Guang Hao Low, Theodore J. Yoder and Isaac L. Chuang, Methodology of Resonant Equiangular Composite Quantum Gates, arXiv:1603.03996, 2016. Preprint.
10 thms1 active userReviewed
🏆Completed
Complexity Theory·Captain: thomasvidick

MIP* = REResearch Paper

Why the value of a nonlocal game matters

In a two-player one-round nonlocal game, a verifier samples a pair of questions, sends one to each of two players who cannot communicate, and accepts or rejects the pair of answers. The players may share an arbitrary quantum state and measure it; the entangled value of the game is the supremum of their acceptance probability over all such strategies. Nonlocal games are the operational form of Bell's theorem, the model behind device-independent cryptography and self-testing, and the engine of the complexity class MIP∗\mathrm{MIP}^*MIP∗ of languages decidable by a polynomial-time verifier interacting with entangled provers (Cleve, Høyer, Toner, Watrous, 2004, arXiv:quant-ph/0404076).

With classical provers, multiprover interactive proofs decide exactly NEXP\mathrm{NEXP}NEXP (Babai, Fortnow, Lund, 1991, doi:10.1007/BF01200056). For entangled provers the lower bounds grew in steps: NEXP⊆MIP∗\mathrm{NEXP} \subseteq \mathrm{MIP}^*NEXP⊆MIP∗ (Ito, Vidick, 2012, arXiv:1207.0550), NEEXP⊆MIP∗\mathrm{NEEXP} \subseteq \mathrm{MIP}^*NEEXP⊆MIP∗ (Natarajan, Wright, 2019, arXiv:1904.05870), and finally MIP∗=RE\mathrm{MIP}^* = \mathrm{RE}MIP∗=RE (Ji, Natarajan, Vidick, Wright, Yuen, 2020, arXiv:2001.04383): every recursively enumerable language, the halting problem included, has a two-prover one-round interactive proof with entangled provers, and the entangled value of a game cannot be approximated by any algorithm. Through the equivalences of Fritz (2012, arXiv:1008.1168), Junge, Navascués, Palazuelos, Pérez-García, Scholz, Werner (2011, arXiv:1008.1142) and Ozawa (2013, arXiv:1212.1700), the theorem gives a negative answer to Tsirelson's problem and to Connes' embedding problem for von Neumann algebras.

Synchronous games, their value, and game descriptions

Everything below is defined from scratch; the formal development uses exactly these objects.

A synchronous game G=(X,A,μ,D)G = (X, A, \mu, D)G=(X,A,μ,D) has a finite question alphabet XXX and a finite answer alphabet AAA, shared by both players, a probability distribution μ\muμ on X×XX \times XX×X, and a decision predicate D(x,y,a,b)∈{0,1}D(x, y, a, b) \in \{0, 1\}D(x,y,a,b)∈{0,1} which, on equal questions x=yx = yx=y, rejects every pair of unequal answers a≠ba \ne ba=b.

A synchronous strategy of dimension d≥1d \ge 1d≥1 assigns to each question xxx a projective measurement (Max)a∈A(M^x_a)_{a \in A}(Max​)a∈A​ on Cd\mathbb{C}^dCd: positive semidefinite matrices summing to the identity, each idempotent. Both players use the same measurements, and probabilities are taken in the normalized trace τ(M)=Tr⁡(M)/d\tau(M) = \operatorname{Tr}(M)/dτ(M)=Tr(M)/d. The value of the strategy is

ω(G,M)  =  ∑x,y∈X∑a,b∈Aμ(x,y) D(x,y,a,b) Tr⁡(MaxMby)d,\omega(G, M) \;=\; \sum_{x, y \in X} \sum_{a, b \in A} \mu(x, y)\, D(x, y, a, b)\, \frac{\operatorname{Tr}\bigl(M^x_a M^y_b\bigr)}{d},ω(G,M)=x,y∈X∑​a,b∈A∑​μ(x,y)D(x,y,a,b)dTr(Max​Mby​)​,

the acceptance probability when the players measure a maximally entangled state of dimension ddd. The synchronous value ωs(G)\omega_{\mathrm{s}}(G)ωs​(G) is the supremum of ω(G,M)\omega(G, M)ω(G,M) over all synchronous strategies of all dimensions. A synchronous strategy is a tensor-product strategy, so ωs(G)≤ω∗(G)\omega_{\mathrm{s}}(G) \le \omega^*(G)ωs​(G)≤ω∗(G), the entangled value.

A game description ggg is a finite object from which a synchronous game is read off: natural numbers nX,nAn_X, n_AnX​,nA​ fixing X={0,…,nX}X = \{0, \dots, n_X\}X={0,…,nX​} and A={0,…,nA}A = \{0, \dots, n_A\}A={0,…,nA​}, a finite list of weighted question pairs (x,y,w)(x, y, w)(x,y,w) and a finite list of accepted tuples (x,y,a,b)(x, y, a, b)(x,y,a,b). The game GgG_gGg​ has μ(x,y)\mu(x, y)μ(x,y) proportional to the total weight listed for (x,y)(x, y)(x,y) (the point mass at (0,0)(0, 0)(0,0) if the total weight is zero), and DDD accepts exactly the listed tuples, except that unequal answers to equal questions are rejected. Descriptions are coded as natural numbers, so a map from machines to descriptions can be computable.

Turing machines are Gödel numbers c∈Cc \in \mathcal{C}c∈C of partial recursive functions, an equivalent model of computation; "ccc halts on the empty input" means that ccc applied to 000 is defined.

Formalization targets

Goal: halting reduces to the synchronous game value

There is a computable map ggg from machines to game descriptions such that for every machine ccc,

c halts on the empty input  ⟹  ωs(Gg(c))=1,c does not halt  ⟹  ωs(Gg(c))≤12.c \text{ halts on the empty input} \;\Longrightarrow\; \omega_{\mathrm{s}}\bigl(G_{g(c)}\bigr) = 1, \qquad c \text{ does not halt} \;\Longrightarrow\; \omega_{\mathrm{s}}\bigl(G_{g(c)}\bigr) \le \tfrac12 .c halts on the empty input⟹ωs​(Gg(c)​)=1,c does not halt⟹ωs​(Gg(c)​)≤21​.

This is Theorem 12.2 of arXiv:2001.04383 in synchronous form, with the running time of ggg relaxed from polynomial to computable. It leaves the running time and the choice of value unfixed, and it is the weakest statement that already makes the game value uncomputable: no algorithm decides whether a game has synchronous value 111 or at most 12\tfrac1221​.

Stronger: polynomial time, and the entangled value

The paper's statement has ggg computable in polynomial time, and both the synchronous and the entangled value satisfy the two clauses. With polynomial time the goal gives RE⊆MIP∗\mathrm{RE} \subseteq \mathrm{MIP}^*RE⊆MIP∗ for the class MIP1,1/2∗(2,1)\mathrm{MIP}^*_{1, 1/2}(2, 1)MIP1,1/2∗​(2,1) of two-prover one-round proofs with completeness 111 and soundness 12\tfrac1221​, and with the elementary inclusion MIP∗⊆RE\mathrm{MIP}^* \subseteq \mathrm{RE}MIP∗⊆RE this is MIP∗=RE\mathrm{MIP}^* = \mathrm{RE}MIP∗=RE. These statements need a model of polynomial time and a definition of tensor-product strategies, and will be added as milestones once those definitions are published here.

Significance

The result. Approximating ω∗(G)\omega^*(G)ω∗(G) to within a constant is as hard as the halting problem. A hierarchy of semidefinite programs converges from above to the commuting-operator value ωco(G)\omega^{\mathrm{co}}(G)ωco(G), so the two values cannot coincide for every game: a negative answer to Tsirelson's problem and, by the equivalences cited above, to Connes' embedding problem, open since 1976. On the complexity side, MIP∗=RE\mathrm{MIP}^* = \mathrm{RE}MIP∗=RE is the exact characterization of the power of entangled provers.

Formalizing it. The theorem is proved and its proof is machine-checked: HaltingGameValue.halting_reduces_to_gameValue in the Lean 4 development vidick/MIPRE-formalization proves exactly the goal above over Mathlib, with propext, Classical.choice and Quot.sound as its only axioms. The development is about 1,200 modules and 410,000 lines, including vendored components and a separate library for the low individual degree test; its blueprint records every statement, the dependency graph and the correspondence with the paper. This mission makes the result a fixed, auditable target: the definitional layer above is written over Mathlib alone, so the goal can be checked from first principles, and the components of the proof whose developments are self-contained are published as milestones with their proofs, to be imported, reused and re-proved. The first milestone, the recursive compression lemma of Marks, Nezhadi and Yuen (Lemma 5.1 of their manuscript; blueprint node lem:recursive-compression), comes with a complete proof over a dependency tree of 22 definition bundles and 60 theorems: a cost model of computation, an efficient universal machine, the s-m-n and Kleene recursion theorems, succinct descriptions.

Difficulty

The obvious approach fails at once: a verifier runs in time polynomial in its input, while a machine may run for arbitrarily long before halting, so no fixed game can check halting by simulation. What makes RE\mathrm{RE}RE reachable is gap-preserving compression: a polynomial-time transformation of verifiers such that the compressed verifier, at index nnn, has value 111 when the original verifier at index 2n2^n2n does, and value at most 12\tfrac1221​ when the original does. The compressed game is exponentially cheaper than the game it certifies, and a fixed-point argument through Kleene's recursion theorem, in the abstract form of the recursive compression lemma, turns compression into the halting reduction. Compression rests on three components, each with a central ingredient that is a theorem in its own right: question reduction by introspection, in which the players sample their own questions and a Pauli basis self-test built on the quantum low individual degree test certifies that they did; answer reduction, in which the players prove through a probabilistically checkable proof that their answers would have been accepted; and gap amplification by parallel repetition. In each component soundness must hold against strategies of unbounded dimension, where no finite enumeration or compactness argument is available, and the quantitative losses must compose so that the threshold 12\tfrac1221​ is preserved exactly.

Formalization scope

The goal is stated with the synchronous value, projective measurements on Cd\mathbb{C}^dCd with d≥1d \ge 1d≥1, and the normalized trace in place of a state vector; the real part of the trace is taken in the strategy value, and the synchronous value is the supremum, in R\mathbb{R}R, over all strategies of all dimensions (the values lie in [0,1][0, 1][0,1]). Game descriptions are interpreted with the fallback distribution above, so that the interpretation is total. Machines are Mathlib's Nat.Partrec.Code and computability is Mathlib's Computable; polynomial time is not fixed by the goal.

No trivializing formalization is available: the game depends on ccc only through ggg, and the two clauses demand values 111 and at most 12\tfrac1221​ on complementary sets of machines, so no map that ignores its argument, or produces only descriptions of zero total weight, satisfies the statement.

A complete development needs four layers: (i) a model of computation with costs, with polynomial-time maps, an efficient universal machine, the s-m-n and Kleene recursion theorems and succinct descriptions, which is the recursive compression milestone's dependency tree and is reusable in any undecidability argument by compression; (ii) normal form verifiers, conditionally linear samplers, the Pauli basis test and the quantum low individual degree test; (iii) the three transformations, with answer reduction over a PCP decider built from a succinct Cook–Levin theorem and direct parallel repetition in value form, and their soundness; (iv) the halting reduction from compression and the passage from the tensor-product to the synchronous value. Statements and proofs of these components over the shared definitional layer are welcome, as are alternative proofs of the goal from the same definitions, the polynomial-time and entangled-value strengthenings, and the inclusion MIP∗⊆RE\mathrm{MIP}^* \subseteq \mathrm{RE}MIP∗⊆RE.

Selected references

  • Z. Ji, A. Natarajan, T. Vidick, J. Wright, H. Yuen, MIP* = RE, 2020 (revised 2022). arXiv:2001.04383
  • Z. Ji, A. Natarajan, T. Vidick, J. Wright, H. Yuen, Quantum soundness of the classical low individual degree test, 2020. arXiv:2009.12982
  • A. Marks, S. S. Nezhadi, H. Yuen, The recursive compression method for proving undecidability results, manuscript.
  • J. Lin, Tracially embeddable strategies: lifting MIP* tricks to MIP^co, 2023. arXiv:2304.01940
  • A. Natarajan, J. Wright, NEEXP ⊆ MIP*, FOCS 2019. arXiv:1904.05870
  • T. Ito, T. Vidick, A multi-prover interactive proof for NEXP sound against entangled provers, FOCS 2012. arXiv:1207.0550
  • R. Cleve, P. Høyer, B. Toner, J. Watrous, Consequences and limits of nonlocal strategies, CCC 2004. arXiv:quant-ph/0404076
  • L. Babai, L. Fortnow, C. Lund, Non-deterministic exponential time has two-prover interactive protocols, Computational Complexity 1 (1991). doi:10.1007/BF01200056
  • T. Fritz, Tsirelson's problem and Kirchberg's conjecture, Reviews in Mathematical Physics 24 (2012). arXiv:1008.1168
  • M. Junge, M. Navascués, C. Palazuelos, D. Pérez-García, V. B. Scholz, R. F. Werner, Connes' embedding problem and Tsirelson's problem, Journal of Mathematical Physics 52 (2011). arXiv:1008.1142
  • N. Ozawa, About the Connes embedding conjecture: algebraic approaches, Japanese Journal of Mathematics 8 (2013). arXiv:1212.1700
  • The Lean development: vidick/MIPRE-formalization (statement MIPRE/HaltingGameValue.lean, proof MIPRE/MainTheorem.lean) and its blueprint.
106 thms1 active userReviewed
Linear algebraOptimizationTheoretical Computer Science·Captain: mikedeng1

Optimization by Decoded Quantum Interferometry 1: The Semicircle Law — the Optimal Degree-ℓ DQI State Satisfies ⟨s⟩/m → (√(μ(1−ρ)) + √(ρ(1−μ)))² When 2ℓ + 1 < d⊥Research Paper

Motivation

Decoded quantum interferometry (DQI) is a quantum algorithm, introduced by Jordan, Shutty, Wootters, Zalcman, Schmidhuber, King, Isakov, Khattar and Babbush (arXiv:2408.08292), that turns an approximate optimization problem over a finite field into a decoding problem for a linear code. It applies to max-LINSAT: given linear constraints over Fp\mathbb F_pFp​, satisfy as many of them as possible. For structured instances such as optimal polynomial intersection the authors find DQI reaching approximation ratios that no known polynomial-time classical algorithm reaches, which makes it one of the few concrete candidates for a quantum advantage in optimization.

Whether DQI is useful on an instance depends on one number: the expected fraction of constraints satisfied by the string it outputs. Theorem 4.1 of the paper computes this number, in the limit of many constraints, for the best DQI state of a given degree. Every comparison of DQI with classical algorithms in the paper (simulated annealing, Prange's algorithm, the OPI and max-XORSAT benchmarks) is a comparison against this formula, and the follow-up analysis of imperfect decoders (Theorem 10.1) is a perturbation of it.

Setting

Fix a prime ppp. A max-LINSAT instance is a matrix B∈Fpm×nB\in\mathbb F_p^{m\times n}B∈Fpm×n​ with rows b1,…,bm\mathbf b_1,\dots,\mathbf b_mb1​,…,bm​ and subsets F1,…,Fm⊆FpF_1,\dots,F_m\subseteq\mathbb F_pF1​,…,Fm​⊆Fp​; constraint iii asks that bi⋅x∈Fi\mathbf b_i\cdot\mathbf x\in F_ibi​⋅x∈Fi​ (Definition 2.1). Throughout, m>nm>nm>n and every FiF_iFi​ has the same size r∈{1,…,p−1}r\in\{1,\dots,p-1\}r∈{1,…,p−1}. Put fi(a)=+1f_i(a)=+1fi​(a)=+1 if a∈Fia\in F_ia∈Fi​ and −1-1−1 otherwise, and

f(x)=∑i=1mfi(bi⋅x),s(x)=#{i:bi⋅x∈Fi}.f(\mathbf x)=\sum_{i=1}^m f_i(\mathbf b_i\cdot\mathbf x),\qquad s(\mathbf x)=\#\{i:\mathbf b_i\cdot\mathbf x\in F_i\}.f(x)=i=1∑m​fi​(bi​⋅x),s(x)=#{i:bi​⋅x∈Fi​}.

For a real polynomial PPP of degree at most ℓ\ellℓ, the DQI state is ∣P(f)⟩=∑x∈FpnP(f(x))∣x⟩|P(f)\rangle=\sum_{\mathbf x\in\mathbb F_p^n}P(f(\mathbf x))|\mathbf x\rangle∣P(f)⟩=∑x∈Fpn​​P(f(x))∣x⟩, normalized so that ∑xP(f(x))2=1\sum_{\mathbf x}P(f(\mathbf x))^2=1∑x​P(f(x))2=1. Measuring it in the computational basis returns x\mathbf xx with probability P(f(x))2P(f(\mathbf x))^2P(f(x))2, so the expected number of satisfied constraints is

⟨s⟩=∑xP(f(x))2 s(x),\langle s\rangle=\sum_{\mathbf x}P(f(\mathbf x))^2\,s(\mathbf x),⟨s⟩=x∑​P(f(x))2s(x),

and ⟨s(m,ℓ)⟩opt\langle s^{(m,\ell)}\rangle_{\rm opt}⟨s(m,ℓ)⟩opt​ is its supremum over all such PPP.

The dual code is C⊥={d∈Fpm:BTd=0}C^\perp=\{\mathbf d\in\mathbb F_p^m:B^T\mathbf d=0\}C⊥={d∈Fpm​:BTd=0} and d⊥d^\perpd⊥ is the least Hamming weight of a nonzero codeword. The condition 2ℓ+1<d⊥2\ell+1<d^\perp2ℓ+1<d⊥ says that syndromes of errors of weight up to ℓ\ellℓ (and a little more) determine the error.

The analysis passes through rescaled constraint functions gi=(fi−fˉ)/φg_i=(f_i-\bar f)/\varphigi​=(fi​−fˉ​)/φ with Fourier transforms g~i\tilde g_ig~​i​, the elementary symmetric polynomials P(k)P^{(k)}P(k) evaluated at the gi(bi⋅x)g_i(\mathbf b_i\cdot\mathbf x)gi​(bi​⋅x), and the (ℓ+1)×(ℓ+1)(\ell+1)\times(\ell+1)(ℓ+1)×(ℓ+1) symmetric tridiagonal matrix A(m,ℓ,d)A^{(m,\ell,d)}A(m,ℓ,d) with diagonal 0,d,2d,…,ℓd0,d,2d,\dots,\ell d0,d,2d,…,ℓd and off-diagonal entries ak=k(m−k+1)a_k=\sqrt{k(m-k+1)}ak​=k(m−k+1)​, at d=(p−2r)/r(p−r)d=(p-2r)/\sqrt{r(p-r)}d=(p−2r)/r(p−r)​.

Formalization targets

Goal: Theorem 4.1 (the semicircle law)

Fix ppp, rrr and μ≥0\mu\ge0μ≥0. For any sequence of instances with m→∞m\to\inftym→∞, ℓ/m→μ\ell/m\to\muℓ/m→μ and 2ℓ+1<d⊥2\ell+1<d^\perp2ℓ+1<d⊥, writing ρ=r/p\rho=r/pρ=r/p,

lim⁡⟨s(m,ℓ)⟩optm={(μ(1−ρ)+ρ(1−μ))2,ρ≤1−μ,1,otherwise.\lim\frac{\langle s^{(m,\ell)}\rangle_{\rm opt}}{m}=\begin{cases}\big(\sqrt{\mu(1-\rho)}+\sqrt{\rho(1-\mu)}\big)^2,&\rho\le1-\mu,\\ 1,&\text{otherwise.}\end{cases}limm⟨s(m,ℓ)⟩opt​​={(μ(1−ρ)​+ρ(1−μ)​)2,1,​ρ≤1−μ,otherwise.​

For ρ=12\rho=\tfrac12ρ=21​ the curve is 12+μ(1−μ)\tfrac12+\sqrt{\mu(1-\mu)}21​+μ(1−μ)​, a semicircle, which gives the theorem its name.

Milestones

  1. The normalization of the rescaled gig_igi​, (37)–(40).
  2. Lemma A.1: under a common quadratic identity, P(x1+⋯+xm)P(x_1+\dots+x_m)P(x1​+⋯+xm​) is a fixed linear combination of elementary symmetric polynomials.
  3. The counting identity (68), ∑∣y∣=k∣g~(y)∣2=(mk)\sum_{|\mathbf y|=k}|\tilde g(\mathbf y)|^2=\binom mk∑∣y∣=k​∣g~​(y)∣2=(km​), and the Fourier picture (65) of the DQI state.
  4. Lemma 9.1 (norm =∥w∥2=\|\mathbf w\|^2=∥w∥2 when 2ℓ<d⊥2\ell<d^\perp2ℓ<d⊥) and Lemma 9.2 (the expected count is mrp+r(p−r)pwTA(m,ℓ,d)w\frac{mr}p+\frac{\sqrt{r(p-r)}}p\mathbf w^TA^{(m,\ell,d)}\mathbf wpmr​+pr(p−r)​​wTA(m,ℓ,d)w when 2ℓ+1<d⊥2\ell+1<d^\perp2ℓ+1<d⊥).
  5. The finite-size identity (131): ⟨s(m,ℓ)⟩opt/m=ρ+ρ(1−ρ) λmax⁡(m,ℓ,d)/m\langle s^{(m,\ell)}\rangle_{\rm opt}/m=\rho+\sqrt{\rho(1-\rho)}\,\lambda_{\max}^{(m,\ell,d)}/m⟨s(m,ℓ)⟩opt​/m=ρ+ρ(1−ρ)​λmax(m,ℓ,d)​/m.
  6. Lemma 9.3, λmax⁡(m,ℓ,d)/m→μd+2μ(1−μ)\lambda_{\max}^{(m,\ell,d)}/m\to\mu d+2\sqrt{\mu(1-\mu)}λmax(m,ℓ,d)​/m→μd+2μ(1−μ)​, with its lower half (114) and the Gershgorin bound (129).
  7. The algebra (132) and (136)–(137) that produce the closed form.

Significance

The result. Theorem 4.1 makes DQI's performance a closed-form function of two numbers, r/pr/pr/p and ℓ/m\ell/mℓ/m, and moves every question about an instance into coding theory: how large a d⊥d^\perpd⊥ the instance's dual code has, and whether it can be decoded efficiently up to ℓ\ellℓ errors. The OPI advantage claim of the paper, the comparison with Prange's algorithm on max-XORSAT, and the imperfect-decoding bound of Theorem 10.1 all start from this formula. The finite-size identity (131) is also useful on its own: it gives the exact optimum for any instance, not only in the limit.

Formalizing it. The theorem is proved in the paper; to our knowledge no part of it has been machine-checked. A formalization would check the Fourier bookkeeping of §8.2.1 and §9 (normalizations pn−k(mk)\sqrt{p^{n-k}\binom mk}pn−k(km​)​, character sums over Fp\mathbb F_pFp​), the claim that every degree-ℓ\ellℓ DQI state is a combination of the ∣P(k)⟩|P^{(k)}\rangle∣P(k)⟩ and conversely, and the eigenvalue asymptotics of the tridiagonal matrix. Two points of the printed text need care and are stated correctly here: Lemma 9.2 writes its decomposition in the fif_ifi​ where the normalization requires the rescaled gig_igi​, and the "otherwise =1=1=1" branch of Theorem 4.1 is argued only briefly on p. 34.

Difficulty

The algebraic steps are finite but long, and every one carries a normalization that a careless formalization gets wrong. The asymptotic step is the main obstacle. Lemma 9.3 needs a lower bound on λmax⁡\lambda_{\max}λmax​ from a test vector of growing width and a matching upper bound from Gershgorin's theorem, and the upper bound holds only under d≥−(m−2ℓ)/ℓ(m−ℓ)d\ge-(m-2\ell)/\sqrt{\ell(m-\ell)}d≥−(m−2ℓ)/ℓ(m−ℓ)​, which is exactly the regime ρ≤1−μ\rho\le1-\muρ≤1−μ. In the other regime that hypothesis fails and the Gershgorin bound overshoots, so the limit 111 needs a separate argument; the observation that ⟨s⟩opt\langle s\rangle_{\rm opt}⟨s⟩opt​ "increases in rrr", printed on p. 34, does not give it at fixed ppp and rrr. A second difficulty is that ⟨s⟩opt\langle s\rangle_{\rm opt}⟨s⟩opt​ is a supremum over polynomials, while Lemma 9.2 is a statement about weight vectors w\mathbf ww; identifying the two needs both directions of Lemma A.1's correspondence and the normalization of Lemma 9.1.

Formalization scope

All objects live in the namespace DQI.Semicircle and one definitions file. Fp\mathbb F_pFp​ is ZMod p with [Fact p.Prime]; vectors are Fin n → ZMod p; constraints are indexed by Fin m from 000. ωpa=exp⁡(2πi a/p)\omega_p^a=\exp(2\pi i\,a/p)ωpa​=exp(2πia/p) is computed from the representative of aaa in {0,…,p−1}\{0,\dots,p-1\}{0,…,p−1}. Polynomials are real with natDegree ≤ ℓ; weight vectors are real. The optimum ⟨s⟩opt\langle s\rangle_{\rm opt}⟨s⟩opt​ is the real supremum over exactly the normalized polynomials of degree at most ℓ\ellℓ evaluated at f(x)f(\mathbf x)f(x); its set is nonempty (constant polynomials) and bounded by mmm. The dual-distance condition is "every nonzero d\mathbf dd with BTd=0B^T\mathbf d=0BTd=0 has weight >t>t>t"; d⊥d^\perpd⊥ is never an infimum, and m>nm>nm>n (the paper's standing assumption) guarantees a nonzero codeword, so the condition forces 2ℓ<m2\ell<m2ℓ<m. λmax⁡\lambda_{\max}λmax​ is the supremum of the real spectrum. The limit "m→∞m\to\inftym→∞ with ℓ/m\ell/mℓ/m fixed" is any sequence of instances with mj→∞m_j\to\inftymj​→∞ and ℓj/mj→μ\ell_j/m_j\to\muℓj​/mj​→μ, with ppp and rrr fixed along it. Convergence of the ratio includes irrational μ\muμ with integer sizes.

Added hypotheses, all disclosed in the items: Lemma 9.2 decomposes in the gig_igi​ rather than the printed fif_ifi​; (129) assumes ℓ≥1\ell\ge1ℓ≥1 to avoid dividing by 0\sqrt00​; Lemma 9.3 imposes its hypothesis on ddd only when ℓj≥1\ell_j\ge1ℓj​≥1; (114) is stated as a lim inf⁡\liminfliminf with an explicit ε\varepsilonε.

A formalization that replaces ⟨s⟩opt\langle s\rangle_{\rm opt}⟨s⟩opt​ by a supremum over all states (which gives 111), drops "nonzero" from the distance condition (which makes it unsatisfiable), or states the goal at a single mmm is not this theorem and is ruled out by the definitions above.

Needed infrastructure: Fourier analysis on Fpn\mathbb F_p^nFpn​ (character orthogonality, Parseval), elementary symmetric polynomials and their reduction modulo a quadratic, Rayleigh quotients and Gershgorin discs for real symmetric matrices, and elementary limits. The tridiagonal-matrix bounds and the quadratic-reduction lemma are reusable beyond DQI. Proofs of any milestone, alternative arguments for the "otherwise" branch, and sharper finite-mmm bounds on λmax⁡\lambda_{\max}λmax​ are welcome.

Selected references

  • S. P. Jordan, N. Shutty, M. Wootters, A. Zalcman, A. Schmidhuber, R. King, S. V. Isakov, T. Khattar, R. Babbush, Optimization by Decoded Quantum Interferometry, arXiv:2408.08292v5, 2025. https://arxiv.org/abs/2408.08292
  • S. Gershgorin, Über die Abgrenzung der Eigenwerte einer Matrix, Izv. Akad. Nauk SSSR, Ser. Fiz.-Mat. 6, 749–754, 1931.
  • R. G. Gallager, Low-Density Parity-Check Codes, IRE Trans. Inform. Theory 8(1), 21–28, 1962. https://doi.org/10.1109/TIT.1962.1057683
14 thms1 active userReviewed
Complexity Theory·Captain: mikedeng1

Fixed-Point Quantum Search with an Optimal Number of Queries: The Phases of Eq. (11) Give Success Probability 1 − δ²T_L(T_{1/L}(1/δ)√(1−λ))²Research Paper

Motivation

Quantum search starts with a state that has some overlap with a desired target. Standard Grover iterations can increase that overlap quickly, but their success probability oscillates with the number of iterations. If the initial overlap is unknown, a sequence chosen for one value can pass the target and perform poorly at another. Earlier fixed-point constructions avoided this oscillation but lost the quadratic improvement in query count. Yoder, Low, and Chuang gave a sequence of adjustable phase reflections with both a specified failure tolerance and a query count proportional to the inverse square root of the initial target probability Yoder, Low, and Chuang (2014).

The result concerns amplitude amplification, a reusable procedure in which a quantum algorithm prepares a state, a target test identifies the useful component, and repeated operations increase the chance of measuring that component. The paper's exact success formula is useful because it says what happens at every initial overlap, rather than only at a single guessed overlap or in an asymptotic regime. Its polynomial form also explains why the interval with a guaranteed error bound grows as the sequence becomes longer Yoder, Low, and Chuang (2014), pp. 1–2.

Setting

Let ∣s⟩|s\rangle∣s⟩ and ∣T⟩|T\rangle∣T⟩ be unit vectors in a finite-dimensional complex state space. The target overlap is λ=∣⟨T∣s⟩∣2>0\lambda=|\langle T|s\rangle|^2>0λ=∣⟨T∣s⟩∣2>0. The parameter δ\deltaδ sets the desired upper bound δ2\delta^2δ2 on failure probability. A generalized reflection about a unit state changes its phase while leaving the orthogonal directions unchanged. The two reflections used here are

Ss(α)=I−(1−e−iα)∣s⟩⟨s∣,ST(β)=I−(1−eiβ)∣T⟩⟨T∣.S_s(\alpha)=I-(1-e^{-i\alpha})|s\rangle\langle s|, \qquad S_T(\beta)=I-(1-e^{i\beta})|T\rangle\langle T|.Ss​(α)=I−(1−e−iα)∣s⟩⟨s∣,ST​(β)=I−(1−eiβ)∣T⟩⟨T∣.

Their Grover iterate is G(α,β)=−Ss(α)ST(β)G(\alpha,\beta)=-S_s(\alpha)S_T(\beta)G(α,β)=−Ss​(α)ST​(β). For L=2l+1L=2l+1L=2l+1, the sequence is SL=G(αl,βl)⋯G(α1,β1)\mathcal S_L=G(\alpha_l,\beta_l)\cdots G(\alpha_1,\beta_1)SL​=G(αl​,βl​)⋯G(α1​,β1​), so the iterate with index 111 acts first. The phases are those in Eq. (11) of the paper: αj=−βl−j+1=2cot⁡−1(tan⁡(2πj/L)1−γ2)\alpha_j=-\beta_{l-j+1}=2\cot^{-1}(\tan(2\pi j/L)\sqrt{1-\gamma^2})αj​=−βl−j+1​=2cot−1(tan(2πj/L)1−γ2​), where γ−1=T1/L(1/δ)\gamma^{-1}=T_{1/L}(1/\delta)γ−1=T1/L​(1/δ) Yoder, Low, and Chuang (2014), pp. 2–3.

Here TLT_LTL​ is the degree-LLL Chebyshev polynomial of the first kind. For the fractional order at an argument at least one, T1/L(1/δ)T_{1/L}(1/\delta)T1/L​(1/δ) means the positive real continuation cosh⁡(arcosh⁡(1/δ)/L)\cosh(\operatorname{arcosh}(1/\delta)/L)cosh(arcosh(1/δ)/L). This convention gives TL(γ−1)=1/δT_L(\gamma^{-1})=1/\deltaTL​(γ−1)=1/δ. The paper also uses a two-dimensional coordinate system spanned by the prepared state and target state, with basis order ∣tˉ⟩,∣t⟩|\bar t\rangle,|t\rangle∣tˉ⟩,∣t⟩ and ∣s⟩=(1−λ,λ)|s\rangle=(\sqrt{1-\lambda},\sqrt\lambda)∣s⟩=(1−λ​,λ​) Yoder, Low, and Chuang (2014), Eqs. (4), (6)–(7).

Formalization targets

Exact success probability

The goal is the paper's Eq. (1), for the phase sequence of Eq. (11):

∣⟨T∣SL∣s⟩∣2=1−δ2TL ⁣(T1/L(1/δ)1−λ)2,L=2l+1.|\langle T|\mathcal S_L|s\rangle|^2 =1-\delta^2T_L\!\left(T_{1/L}(1/\delta)\sqrt{1-\lambda}\right)^2, \qquad L=2l+1.∣⟨T∣SL​∣s⟩∣2=1−δ2TL​(T1/L​(1/δ)1−λ​)2,L=2l+1.

This equality determines the entire response curve, including the one-step case l=0l=0l=0. It is stated for arbitrary finite dimension, rather than only after fixing two coordinates. The milestones cover the paper's two-dimensional reduction, the reflection and rotation formulas, the equatorial-rotation sequence, its amplitude recurrence, and the Chebyshev identity used to finish the calculation Yoder, Low, and Chuang (2014), Eqs. (1), (4), (6)–(15).

Consequences

The same exact formula gives a fixed-point interval. With w=1−T1/L(1/δ)−2w=1-T_{1/L}(1/\delta)^{-2}w=1−T1/L​(1/δ)−2, the desired success bound holds whenever λ≥w\lambda\ge wλ≥w:

λ≥w⟹∣⟨T∣SL∣s⟩∣2≥1−δ2.\lambda\ge w\quad\Longrightarrow\quad |\langle T|\mathcal S_L|s\rangle|^2\ge1-\delta^2.λ≥w⟹∣⟨T∣SL​∣s⟩∣2≥1−δ2.

The draft also states that www decreases as the odd length increases, the sufficient length bound L≥log⁡(2/δ)/λL\ge\log(2/\delta)/\sqrt\lambdaL≥log(2/δ)/λ​ of Eq. (3), and the nesting identity for success-probability functions in Eq. (18) Yoder, Low, and Chuang (2014), pp. 2, 4.

Significance

The exact formula gives a sequence that can be selected from a lower bound on the target overlap and a chosen failure tolerance. Increasing its length extends the interval on which the tolerance is met; an already adequate state therefore stays within the bounded-error regime at greater odd lengths. The sufficient length bound records the quadratic query scaling in the overlap parameter. The nesting identity shows that the same family of probability functions is closed under the paper's specified composition of tolerances Yoder, Low, and Chuang (2014), pp. 2, 4.

The mathematical result is proved in the 2014 paper. This mission asks for machine-checked proofs of its exact operator-level equality and the cited intermediate identities; the statements here are currently draft targets, not already machine-checked results. A completed development would leave reusable finite-dimensional phase-reflection and Chebyshev tools for subsequent amplitude-amplification arguments. The paper's oracle implementation is separate from these operator identities Yoder, Low, and Chuang (2014), Fig. 2.

Difficulty

The obvious idea of repeating a fixed phase pair produces the familiar Grover oscillation. Adjusting phases removes that simple repeated-power description, while the target amplitude must still be controlled exactly across all allowed overlaps. A proof must keep the complex phase conventions and multiplication order aligned with the Chebyshev expression. The fractional-order parameter also lies outside the usual cosine formula's interval when δ<1\delta<1δ<1; replacing the polynomial by a clamped arccosine expression changes the target formula. The unnumbered Chebyshev-amplitude assertion after Eq. (15) is the central algebraic gap left for formalization Yoder, Low, and Chuang (2014), p. 3.

Formalization scope

States are functions Fin N → ℂ, and operators are complex N × N matrices. Inner products conjugate the first vector. The theorem binds λ\lambdaλ to the squared target overlap and requires both states to have norm one; it does not take an unrelated free success parameter. The goal permits every NNN for which its hypotheses can hold, and every l≥0l\ge0l≥0. The rotation milestones use Fin 2 with index 000 for ∣tˉ⟩|\bar t\rangle∣tˉ⟩ and index 111 for ∣t⟩|t\rangle∣t⟩. The operator STS_TST​ has the same rank-one projector as the paper's phase-adjusted StS_tSt​. Matrix exponentials define the rotations, and TLT_LTL​ is Mathlib's polynomial, evaluated even outside [−1,1][-1,1][−1,1].

The scope assumes 0<δ≤10<\delta\le10<δ≤1. At δ=0\delta=0δ=0, the displayed expression involves division by zero and the paper treats its π/3\pi/3π/3 limit separately. The inverse cotangent is π/2−arctan⁡\pi/2-\arctanπ/2−arctan, a branch whose changes by π\piπ leave the reflection phases unchanged. The product order is fixed by the recursion defining SL\mathcal S_LSL​. The mission formalizes Eqs. (6)–(7) as operators; the ancilla and oracle gates of Fig. 2 are outside this mission. The goal retains the full equality and cannot be reduced to the easier lower bound PL≥1−δ2P_L\ge1-\delta^2PL​≥1−δ2.

The milestone for printed Eq. (12) uses a free output ZZZ rotation and a unit global phase. The printed outer rotations do not give the claimed state for the stated phases; this corrected form preserves the coordinate magnitudes needed for Eq. (1). The milestone for Eq. (15) states the displayed amplitude recurrence but does not restate the page's incompatible intermediate bh′b'_hbh′​ sentence. These corrections are identified in the item descriptions and moderation notes. Contributions proving the reduction, phase identities, amplitude recurrence, Chebyshev relation, or the final equality are all within scope Yoder, Low, and Chuang (2014), p. 3.

Selected references

  • Theodore J. Yoder, Guang Hao Low, and Isaac L. Chuang, Fixed-point quantum search with an optimal number of queries, Physical Review Letters 113, 210501 (2014). arXiv:1409.3305v2. This mission cites the pinned preprint's page and equation numbers.
10 thms1 active userReviewed
Theoretical Computer Science·Captain: mikedeng1

A Grand Unification of Quantum Algorithms: Phase Estimation by QSVT Errs by Less Than 2^{−n}, and Meets the Δ-Region Only at Iteration n − 1, When Δ < 2(cos(3π/16) − 1/√2)Research Paper

Motivation

Phase estimation asks: given access to a unitary UUU and an eigenvector ∣u⟩|u\rangle∣u⟩ with U∣u⟩=e2πiφ∣u⟩U|u\rangle = e^{2\pi i\varphi}|u\rangleU∣u⟩=e2πiφ∣u⟩, determine φ∈[0,1)\varphi \in [0,1)φ∈[0,1). It is the subroutine behind Shor's factoring algorithm, quantum chemistry energy estimation, and amplitude estimation, and is one of the standard sources of quantum speed-up.

Martyn, Rossi, Tan and Chuang, A Grand Unification of Quantum Algorithms (PRX Quantum 2, 040203, 2021), present search, phase estimation and Hamiltonian simulation as instances of one primitive, the quantum singular value transformation (QSVT) of Gilyén, Su, Low and Wiebe (arXiv:1806.01838, STOC 2019). Most of the paper's numbered results restate QSVT theory from earlier work. Its own proved content is Appendix B: the analysis of phase estimation by QSVT (Section V, Algorithm 3), a bit-by-bit binary search in the spirit of Kitaev's iterative phase estimation, where each bit is read by applying a sign function to a singular value. A closely related QSVT phase-estimation algorithm was found independently by Rall (arXiv:2103.09717).

This mission formalizes that analysis: the exact-arithmetic correctness of the bit search (Theorems 6 and 7), and its robustness when the sign function is only approximated (Theorem 8).

Setting

Fix a unitary UUU, an eigenvector ∣u⟩|u\rangle∣u⟩, and the phase 0≤φ<10 \le \varphi < 10≤φ<1. Write 0.φ[j+1:]=0.φj+1φj+2…0.\varphi_{[j+1:]} = 0.\varphi_{j+1}\varphi_{j+2}\ldots0.φ[j+1:]​=0.φj+1​φj+2​… for the fractional part of 2jφ2^j\varphi2jφ.

For j∈Nj \in \mathbb Nj∈N and θ∈R\theta \in \mathbb Rθ∈R, the matrix Aj(θ)=12(I+e−2πiθU2j)A_j(\theta) = \tfrac12(I + e^{-2\pi i\theta}U^{2^j})Aj​(θ)=21​(I+e−2πiθU2j) acts on ∣u⟩|u\rangle∣u⟩ with singular value

σj(θ)=∣cos⁡(π(2jφ−θ))∣=∣cos⁡(π(0.φ[j+1:]−θ))∣.(64–65)\sigma^j(\theta) = \bigl|\cos\bigl(\pi(2^j\varphi - \theta)\bigr)\bigr| = \bigl|\cos\bigl(\pi(0.\varphi_{[j+1:]} - \theta)\bigr)\bigr|. \tag{64–65}σj(θ)=​cos(π(2jφ−θ))​=​cos(π(0.φ[j+1:]​−θ))​.(64–65)

The procedure keeps a binary fraction θ\thetaθ, initially 000, and runs iterations j=n−1,n−2,…,0j = n-1, n-2, \ldots, 0j=n−1,n−2,…,0 for a positive integer nnn. Iteration jjj halves θ\thetaθ, evaluates the sign function Θ(1/2−x)\Theta(1/\sqrt2 - x)Θ(1/2​−x) at x=σj(θ)x = \sigma^j(\theta)x=σj(θ) through QSVT, measures one ancilla bit bjb_jbj​, and sets the first binary digit of θ\thetaθ to bjb_jbj​:

θj=12θj+1+12bj,θn=0.\theta_j = \tfrac12\theta_{j+1} + \tfrac12 b_j, \qquad \theta_n = 0.θj​=21​θj+1​+21​bj​,θn​=0.

An additional j=0j = 0j=0 iteration then sets the units digit b0′b_0'b0′​, and the output is θ=b0′+θ0\theta = b_0' + \theta_0θ=b0′​+θ0​.

The ideal measurement returns b=1b = 1b=1 when σ<1/2\sigma < 1/\sqrt2σ<1/2​ and b=0b = 0b=0 when σ>1/2\sigma > 1/\sqrt2σ>1/2​. In practice the sign function is replaced by a polynomial that is reliable only outside the Δ-region [12−Δ2,12+Δ2]\bigl[\tfrac1{\sqrt2} - \tfrac\Delta2, \tfrac1{\sqrt2} + \tfrac\Delta2\bigr][2​1​−2Δ​,2​1​+2Δ​]; inside it either bit may be returned.

Formalization targets

Goal: Theorem 8 (p. 17)

If

0≤Δ<2(cos⁡3π16−12)≈0.25,0 \le \Delta < 2\Bigl(\cos\frac{3\pi}{16} - \frac1{\sqrt2}\Bigr) \approx 0.25,0≤Δ<2(cos163π​−2​1​)≈0.25,

then in every run of the procedure, the singular value σj\sigma^jσj can fall in the Δ-region only at the first iteration j=n−1j = n-1j=n−1, and the output satisfies

∣θ−φ∣<2−n.|\theta - \varphi| < 2^{-n}.∣θ−φ∣<2−n.

Milestones

  • (64)–(65), p. 15: the singular value and singular vectors of Aj(θ)A_j(\theta)Aj​(θ) on ∣u⟩|u\rangle∣u⟩.
  • Lemma 11 and Theorem 6 (pp. 27, 16): for an nnn-bit φ\varphiφ and the exact sign function, θj=0.φ[j+1:]\theta_j = 0.\varphi_{[j+1:]}θj​=0.φ[j+1:]​, so the loop ends with θ=φ\theta = \varphiθ=φ.
  • Lemma 12 and Theorem 7 (pp. 28, 16): otherwise θj\theta_jθj​ is an (n−j)(n-j)(n−j)-digit rounding of 0.φ[j+1:]0.\varphi_{[j+1:]}0.φ[j+1:]​ up to a carry, with error ≤2j−n−1\le 2^{j-n-1}≤2j−n−1, and the output satisfies ∣θ−φ∣≤2−n−1|\theta - \varphi| \le 2^{-n-1}∣θ−φ∣≤2−n−1.
  • (B14), p. 30: membership of ∣cos⁡(πx)∣|\cos(\pi x)|∣cos(πx)∣ in the Δ-region in terms of two arccos intervals for π∣x∣\pi|x|π∣x∣.
  • (B15), (B16) ⟺ (B21), pp. 30–31: the arccos condition is equivalent to the explicit threshold on Δ\DeltaΔ.
  • Lemma 13, p. 30, and its base step (B17)–(B20), pp. 30–31: the Δ-region can only be met at iteration n−1n-1n−1, and an error there does not propagate.

A companion item states (68): the 2N×2N2N \times 2N2N×2N matrix Wj(θ)W_j(\theta)Wj​(θ) of Figure 10 is unitary and block-encodes Aj(θ)A_j(\theta)Aj​(θ).

Significance

Theorem 8 is what makes phase estimation by QSVT implementable: a sign function cannot be realized exactly by a polynomial, and the theorem shows that a polynomial approximation which fails on a band of width about 0.250.250.25 around 1/21/\sqrt21/2​ costs at most one bit of accuracy, and only at one iteration. Combined with the per-iteration failure probability analysis (71)–(72), it yields the paper's claim that O(nlog⁡(n/δ))O(n\log(n/\delta))O(nlog(n/δ)) queries give an nnn-bit estimate with probability 1−δ1-\delta1−δ.

On the formal side, the paper proves these results in Appendix B by case analysis on binary digits with carries. No machine-checked version of the analysis exists on the platform, and no QSVT-based phase-estimation result has been formalized elsewhere to the curators' knowledge. The mission separates the deterministic correctness of the bit search from the quantum machinery, so the combinatorial core can be checked independently of QSVT itself.

Difficulty

The obvious argument tracks the digits of φ\varphiφ one at a time, and it works for an nnn-bit phase. It fails when φ\varphiφ has more than nnn digits: the sign function rounds rather than truncates, so a bit can be set to 111 when the true digit is 000, carries propagate, and the invariant must be a rounding statement with a carry bit r~j\tilde r_jr~j​ (Lemma 12's nine-case induction). The final bit can carry into the units place, which is why the additional j=0j = 0j=0 iteration exists.

For Theorem 8, the natural first idea, that a bit error makes all later bits unreliable, is false; the content is that after an error at j=n−1j = n-1j=n−1 the distance ∣0.φ[j+1:]−θ∣|0.\varphi_{[j+1:]} - \theta|∣0.φ[j+1:]​−θ∣ stays a fixed amount away from the Δ-region at every later iteration. Turning this into the threshold requires precise bounds on arccos⁡\arccosarccos near 1/21/\sqrt21/2​.

Formalization scope

Everything is stated in Lean 4 with Mathlib, over R\mathbb RR, in the namespace QSVTPhaseEst.BitSearch. The conventions:

  • 0≤φ<10 \le \varphi < 10≤φ<1, n≥1n \ge 1n≥1, Δ≥0\Delta \ge 0Δ≥0 in every item; bits are Bool; 0.φ[j+1:]0.\varphi_{[j+1:]}0.φ[j+1:]​ is Int.fract (2^j * φ).
  • "φ\varphiφ is an nnn-bit number" (n≥mn \ge mn≥m) is φ=k/2n\varphi = k/2^nφ=k/2n for some k∈Nk \in \mathbb Nk∈N; "n<mn < mn<m, including m=∞m = \inftym=∞" is its negation.
  • The outcome rule is the only place the measurement enters: below the Δ-region the bit is 111, above it the bit is 000, inside it (including ties at Δ=0\Delta = 0Δ=0) either bit may occur. Every theorem quantifies over all bit sequences satisfying this rule. The exact sign function of Theorems 6 and 7 is the rule with Δ=0\Delta = 0Δ=0.
  • The additional j=0j = 0j=0 iteration is encoded as Appendix B 1 b (p. 29) analyses it: the general step applied to 0.φ0φ1…=φ/20.\varphi_0\varphi_1\ldots = \varphi/20.φ0​φ1​…=φ/2 with θ\thetaθ halved, singular value ∣cos⁡(π(φ−θ0)/2)∣|\cos(\pi(\varphi - \theta_0)/2)|∣cos(π(φ−θ0​)/2)∣. The literal reading of Algorithm 3, line 9 makes Theorem 7 false on the paper's own example φ=0.11101012\varphi = 0.1110101_2φ=0.11101012​, n=2n = 2n=2.
  • Theorem 8's bound is stated for every run, as Algorithm 3's Output claims; runs with an error at iteration n−1n-1n−1 are the printed case, runs without one are covered by Theorems 6 and 7. Its first part also covers the additional iteration.
  • (B14) assumes Δ≤2−2\Delta \le 2 - \sqrt2Δ≤2−2​ and ∣x∣≤1|x| \le 1∣x∣≤1, which keep the arccos arguments in [−1,1][-1,1][−1,1].

A formalization in which the outcome rule mentions φ\varphiφ, its digits or its rounding, in which σj\sigma^jσj is written through the digits of φ\varphiφ, or in which the output is defined as a rounding of φ\varphiφ, would make the theorems circular; none of these is used.

Not formalized: QSP and QSVT themselves (Theorems 1–4, 9, 10; Theorem 1 is already an open goal on the platform), the polynomial Pϵ,ΔPEP^{\mathrm{PE}}_{\epsilon,\Delta}Pϵ,ΔPE​ of (69), the ϵ\epsilonϵ-error probability analysis (71)–(72), and the runtime. Contributions of reusable lemmas on binary roundings (Int.fract of 2jφ2^j\varphi2jφ, nearest dyadic rounding with carry) and on arccos⁡\arccosarccos near 1/21/\sqrt21/2​ are welcome.

Selected references

  • J. M. Martyn, Z. M. Rossi, A. K. Tan, I. L. Chuang, A Grand Unification of Quantum Algorithms, PRX Quantum 2, 040203, 2021. https://arxiv.org/abs/2105.02859 (v5 is the version formalized)
  • A. Gilyén, Y. Su, G. H. Low, N. Wiebe, Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics, STOC 2019. https://arxiv.org/abs/1806.01838
  • P. Rall, Faster coherent quantum algorithms for phase, energy, and amplitude estimation, Quantum 5, 566, 2021. https://arxiv.org/abs/2103.09717
  • A. Yu. Kitaev, Quantum measurements and the Abelian Stabilizer Problem, 1995. https://arxiv.org/abs/quant-ph/9511026
11 thms1 active userReviewed
Captain: Goku

Quantum Computing: Lecture Notes 5: One run of Shor's period-finding circuit reveals the period with probability Omega(1/log log N)Textbook

Motivation

This mission develops Chapter 5 of Quantum Computing: Lecture Notes by Ronald de Wolf. 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

The period-finding problem: we are given f:N→{0,…,N−1}f:\mathbb N\to\{0,\dots,N-1\}f:N→{0,…,N−1} for which there is an unknown r∈{1,…,N}r\in\{1,\dots,N\}r∈{1,…,N} with f(a)=f(b)f(a)=f(b)f(a)=f(b) if and only if a≡b(modr)a\equiv b\pmod ra≡b(modr).

Let q=2ℓq=2^\ellq=2ℓ be the power of two with N2<q≤2N2N^2<q\le2N^2N2<q≤2N2 and n=⌈log⁡2N⌉n=\lceil\log_2N\rceiln=⌈log2​N⌉. Let OfO_fOf​ be the unitary ∣a⟩∣z⟩↦∣a⟩∣z⊕f(a)⟩|a\rangle|z\rangle\mapsto|a\rangle|z\oplus f(a)\rangle∣a⟩∣z⟩↦∣a⟩∣z⊕f(a)⟩ on ℓ+n\ell+nℓ+n qubits, with aaa read as an ℓ\ellℓ-bit number and f(a)f(a)f(a) written in nnn bits, and let FqF_qFq​ be the quantum Fourier transform on the first register. One run of Shor's algorithm prepares

∣Φ⟩=(Fq⊗I) Of (Fq⊗I) ∣0ℓ⟩∣0n⟩|\Phi\rangle=(F_q\otimes I)\,O_f\,(F_q\otimes I)\,|0^\ell\rangle|0^n\rangle∣Φ⟩=(Fq​⊗I)Of​(Fq​⊗I)∣0ℓ⟩∣0n⟩

(one evaluation of fff and two Fourier transforms) and measures the first register in the computational basis, obtaining b∈{0,…,q−1}b\in\{0,\dots,q-1\}b∈{0,…,q−1}. Call bbb good if

∣bq−cr∣≤12qfor some c∈{0,…,r−1} with gcd⁡(c,r)=1.\Big|\frac bq-\frac cr\Big|\le\frac1{2q}\quad\text{for some } c\in\{0,\dots,r-1\} \text{ with } \gcd(c,r)=1 .​qb​−rc​​≤2q1​for some c∈{0,…,r−1} with gcd(c,r)=1.

Then:

  1. There are constants C>0C>0C>0 and N0N_0N0​ such that for every N≥N0N\ge N_0N≥N0​, every r∈{1,…,N}r\in\{1,\dots,N\}r∈{1,…,N} and every fff as above with period rrr, the outcome is good with probability at least C/log⁡log⁡NC/\log\log NC/loglogN. Hence an expected number of O(log⁡log⁡N)O(\log\log N)O(loglogN) independent runs (each with one evaluation of fff and two QFTs) produces a good outcome.
  2. If ∣b/q−c/r∣≤1/(2q)|b/q-c/r|\le1/(2q)∣b/q−c/r∣≤1/(2q) with 1≤r≤N1\le r\le N1≤r≤N, 0≤c<r0\le c<r0≤c<r and gcd⁡(c,r)=1\gcd(c,r)=1gcd(c,r)=1, then c/rc/rc/r is the only fraction p/sp/sp/s with 1≤s≤N1\le s\le N1≤s≤N within distance 1/(2q)1/(2q)1/(2q) of b/qb/qb/q, and the denominator of c/rc/rc/r in lowest terms is rrr.

So a good outcome determines rrr: continued-fraction expansion of b/qb/qb/q finds the unique fraction with denominator at most NNN near b/qb/qb/q, and its denominator is the period. This is the quantum core of Shor's factoring algorithm.

Formalization Note The state ∣Φ⟩|\Phi\rangle∣Φ⟩ is the shared shorRunState, with ℓ=⌈log⁡2(N2+1)⌉\ell=\lceil\log_2(N^2+1)\rceilℓ=⌈log2​(N2+1)⌉ (which gives N2<2ℓ≤2N2N^2<2^\ell\le2N^2N2<2ℓ≤2N2) and second register ⌈log⁡2N⌉\lceil\log_2N\rceil⌈log2​N⌉ qubits. The intermediate measurement of the second register is omitted: it does not change the distribution of the first register. The probability of a good outcome is the total weight of the basis states whose first register is good. The constants CCC and N0N_0N0​ are quantified before NNN, rrr and fff. The source's per-run constant 4/π24/\pi^24/π2 is not stated (see notes).

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

  • §5.2: Factoring reduces to period finding: the number-theoretic core of Shor's reduction.
  • §5.3: One run of Shor's period-finding circuit reveals the period with probability Omega(1/log log N).

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

  • Ronald de Wolf, Quantum Computing: Lecture Notes, 27 August 2026. https://homepages.cwi.nl/~rdewolf/qcnotes.pdf.
2 thms1 active userReviewed
Captain: Goku

Lecture Notes on Quantum Algorithms 31: Adiabatic optimization: running time in terms of the minimum gap (linear interpolation)Textbook

Motivation

This mission develops Chapter 31 of Lecture Notes on Quantum Algorithms by Andrew Childs. 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 the running-time bound for adiabatic optimization with a linear interpolation schedule.

Let h:{0,1}n→Rh:\{0,1\}^n\to\mathbb Rh:{0,1}n→R be a cost function on nnn-bit strings and let

HP=∑z∈{0,1}nh(z) ∣z⟩⟨z∣H_P=\sum_{z\in\{0,1\}^n} h(z)\,|z\rangle\langle z|HP​=z∈{0,1}n∑​h(z)∣z⟩⟨z∣

be the problem Hamiltonian. Let HBH_BHB​ be a beginning Hamiltonian on nnn qubits and let H(s)=(1−s)HB+sHPH(s)=(1-s)H_B+sH_PH(s)=(1−s)HB​+sHP​ for s∈[0,1]s\in[0,1]s∈[0,1]. Assume that H(s)H(s)H(s) is Hermitian and has a nondegenerate ground state for every s∈[0,1]s\in[0,1]s∈[0,1]. Write Δ(s)\Delta(s)Δ(s) for the gap between the ground and first excited energies of H(s)H(s)H(s), and Δmin⁡=min⁡s∈[0,1]Δ(s)\Delta_{\min}=\min_{s\in[0,1]}\Delta(s)Δmin​=mins∈[0,1]​Δ(s). Norms of operators are operator norms.

There are absolute constants c1,c3>0c_1,c_3>0c1​,c3​>0 (the constants of the first- and second-order perturbation bounds used in the adiabatic theorem, Theorem 30.1) such that the following holds for every such nnn, hhh, HBH_BHB​. Let ϵ>0\epsilon>0ϵ>0 and suppose

T ≥ 2ϵ(2c1∥HP−HB∥Δmin⁡2+(3c12+c1+c3)∥HP−HB∥2Δmin⁡3).T\ \ge\ \frac{2}{\epsilon}\left(2c_1\frac{\|H_P-H_B\|}{\Delta_{\min}^2}+(3c_1^2+c_1+c_3)\frac{\|H_P-H_B\|^2}{\Delta_{\min}^3}\right).T ≥ ϵ2​(2c1​Δmin2​∥HP​−HB​∥​+(3c12​+c1​+c3​)Δmin3​∥HP​−HB​∥2​).

If ∣ψ(s)⟩|\psi(s)\rangle∣ψ(s)⟩ solves the Schrödinger equation i dds∣ψ(s)⟩=T H(s)∣ψ(s)⟩i\,\frac{d}{ds}|\psi(s)\rangle=T\,H(s)|\psi(s)\rangleidsd​∣ψ(s)⟩=TH(s)∣ψ(s)⟩ on [0,1][0,1][0,1] and ∣ψ(0)⟩|\psi(0)\rangle∣ψ(0)⟩ is a unit-norm ground state of HBH_BHB​, then there is a unit-norm ground state ∣ϕ(1)⟩|\phi(1)\rangle∣ϕ(1)⟩ of HPH_PHP​ with

∥∣ψ(1)⟩−∣ϕ(1)⟩∥≤ϵ.\big\||\psi(1)\rangle-|\phi(1)\rangle\big\|\le\epsilon.​∣ψ(1)⟩−∣ϕ(1)⟩​≤ϵ.

The bound reduces the question of how long the adiabatic algorithm must run to a spectral question: if ∥HP−HB∥\|H_P-H_B\|∥HP​−HB​∥ is polynomially bounded and 1/Δmin⁡1/\Delta_{\min}1/Δmin​ is polynomially bounded in nnn, the running time is polynomial.

Formalization Note The ground state of HPH_PHP​ is determined only up to a global phase, so the conclusion asserts the existence of some unit ground state of HPH_PHP​ within distance ϵ\epsilonϵ. The constants c1,c3c_1,c_3c1​,c3​ are quantified existentially before all other data, as in the source, where they are introduced as "some constants". The minimum gap is the infimum of the gap over [0,1][0,1][0,1].

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 31.1: Adiabatic optimization: running time in terms of the minimum gap (linear interpolation).

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

  • Andrew Childs, Lecture Notes on Quantum Algorithms, 17 April 2025. https://www.cs.umd.edu/~amchilds/qa/qa.pdf.
1 thm1 active userReviewed
🏆Completed
Machine Learning·Captain: Goku

A Survey of Quantum Learning Theory 5: Atıcı–Servedio: time-efficient quantum learning of k-juntas (corrected)Textbook

Motivation

This mission develops Chapter 5 of A Survey of Quantum Learning Theory by Srinivasan Arunachalam and Ronald de Wolf. 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 a corrected form of the Atıcı–Servedio theorem on learning juntas from uniform quantum examples.

A function f:{0,1}n→{0,1}f:\{0,1\}^n\to\{0,1\}f:{0,1}n→{0,1} is a kkk-junta if it depends on at most kkk of its nnn input bits. A uniform quantum example of fff is the (n+1)(n+1)(n+1)-qubit state ∑x∈{0,1}n2−n/2∣x,f(x)⟩\sum_{x\in\{0,1\}^n}2^{-n/2}|x,f(x)\rangle∑x∈{0,1}n​2−n/2∣x,f(x)⟩; a uniform classical example is a pair (x,f(x))(x,f(x))(x,f(x)) with xxx uniform on {0,1}n\{0,1\}^n{0,1}n. The error of a hypothesis hhh is Pr⁡x[h(x)≠f(x)]\Pr_{x}[h(x)\neq f(x)]Prx​[h(x)=f(x)] for uniform xxx.

Time is measured in the following hybrid cost model, which is the one the source's proof sketch counts in. A learner (1) applies a circuit over the gate set {H,T,CNOT}\{H,T,\mathrm{CNOT}\}{H,T,CNOT} to TQT_QTQ​ uniform quantum examples and some ancillas in ∣0⟩|0\rangle∣0⟩ and measures every qubit in the computational basis; (2) maps the outcome by a Boolean circuit of AND/OR/NOT gates to a set V⊆[n]V\subseteq[n]V⊆[n] of variables; (3) reads TCT_CTC​ uniform classical examples and outputs the truth-table hypothesis h(x)=f(xj)h(x)=f(x_j)h(x)=f(xj​) for the first example xjx_jxj​ that agrees with xxx on VVV (h(x)=0h(x)=0h(x)=0 if there is none). Its time is the number of quantum gates, plus the number of measured qubits, plus the number of Boolean gates, plus TCT_CTC​ (one unit per classical example, which is read and written into the table cell indexed by its VVV-bits), plus 2∣V∣2^{|V|}2∣V∣ table cells (worst case over the outcomes).

For every δ∈(0,1)\delta\in(0,1)δ∈(0,1) there is a constant C>0C>0C>0 such that for all n,kn,kn,k with 2≤k≤n2\le k\le n2≤k≤n and all ε∈(0,1/2]\varepsilon\in(0,1/2]ε∈(0,1/2] there is such a learner with

TQ≤C klog⁡kε,TC≤C 2klog⁡1ε,time≤C(nklog⁡kε+2klog⁡1ε),T_Q\le C\,\frac{k\log k}{\varepsilon},\qquad T_C\le C\,2^k\log\frac1\varepsilon,\qquad \mathrm{time}\le C\Big(\frac{nk\log k}{\varepsilon}+2^k\log\frac1\varepsilon\Big),TQ​≤Cεklogk​,TC​≤C2klogε1​,time≤C(εnklogk​+2klogε1​),

which, for every kkk-junta fff, outputs with probability at least 1−δ1-\delta1−δ (over the measurement outcomes and the classical examples) a hypothesis of error at most ε\varepsilonε.

The theorem shows that quantum examples remove the nΘ(k)n^{\Theta(k)}nΘ(k) search over candidate variable sets that the best known classical learners need, which is why juntas are a notorious bottleneck classically.

Formalization Note The source states no cost model, no confidence parameter, and O(2k)O(2^k)O(2k) classical examples. The cost model above, the fixed-confidence reading (constants depend on δ\deltaδ only), and the O(2klog⁡(1/ε))O(2^k\log(1/\varepsilon))O(2klog(1/ε)) classical examples of the source's own proof sketch are the corrections. The thresholds k≥2k\ge2k≥2 and ε≤1/2\varepsilon\le1/2ε≤1/2 make log⁡k\log klogk and log⁡(1/ε)\log(1/\varepsilon)log(1/ε) 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 5.4: Atıcı–Servedio: time-efficient quantum learning of k-juntas (corrected).

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

  • Srinivasan Arunachalam and Ronald de Wolf, A Survey of Quantum Learning Theory, 2017, v3. https://arxiv.org/pdf/1701.06806v3.
5 thms1 active userReviewed
Quantum Error Correction·Captain: Goku

Stabilizer Codes and Quantum Error Correction 4: The standard-form encoding network maps |c⟩ to the encoded basis state (4.8)Textbook

Motivation

This mission develops Chapter 4 of Stabilizer Codes and Quantum Error Correction 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

Let a stabilizer on n=m+kn=m+kn=m+k qubits (m=n−km=n-km=n−k generators) be given in the standard form (4.3) of §4.1,

(IA1A2BC1C2000DIE),\left(\begin{array}{ccc|ccc} I & A_1 & A_2 & B & C_1 & C_2\\ 0 & 0 & 0 & D & I & E\end{array}\right),(I0​A1​0​A2​0​BD​C1​I​C2​E​),

with rrr rows in the first block, and assume its rows commute: HxHzT+HzHxT=0H_xH_z^{\mathsf T}+H_zH_x^{\mathsf T}=0Hx​HzT​+Hz​HxT​=0. For a binary row (a ∣ b)(a\,|\,b)(a∣b) write P(a∣b)=⨂qσzbqσxaqP(a|b)=\bigotimes_q \sigma_z^{b_q}\sigma_x^{a_q}P(a∣b)=⨂q​σzbq​​σxaq​​ (the real form, sign +1+1+1). Let Mi=P(row i)M_i=P(\text{row } i)Mi​=P(row i) be the generators and let Xˉ1,…,Xˉk\bar X_1,\dots,\bar X_kXˉ1​,…,Xˉk​ be the logical σx\sigma_xσx​ operators in the standard form of p.40: Xˉi=P(0 u2 ei ∣ v1 0 0)\bar X_i=P(0\,u_2\,e_i\,|\,v_1\,0\,0)Xˉi​=P(0u2​ei​∣v1​00) with u2u_2u2​ the iii-th row of ETE^{\mathsf T}ET and v1v_1v1​ the iii-th row of ETC1T+C2TE^{\mathsf T}C_1^{\mathsf T}+C_2^{\mathsf T}ETC1T​+C2T​.

Let UencU_{\mathrm{enc}}Uenc​ be the encoding network of §4.2 (with the author's errata): first, for each iii, the controlled-NOTs that apply Xˉi\bar X_iXˉi​ without its final σx\sigma_xσx​, controlled on qubit n−k+in-k+in−k+i; then, for i=1,…,ri=1,\dots,ri=1,…,r in turn, the Hadamard RRR on qubit iii, a σz\sigma_zσz​ on qubit iii if Bii=1B_{ii}=1Bii​=1, and MiM_iMi​ without its qubit-iii factor, controlled on qubit iii (controlled-σzbσxa\sigma_z^{b}\sigma_x^{a}σzb​σxa​ gates). Then for every c=c1…ck∈{0,1}kc=c_1\dots c_k\in\{0,1\}^kc=c1​…ck​∈{0,1}k,

Uenc ∣0…0⟩∣c1…ck⟩=(I+M1)⋯(I+Mn−k) Xˉ1c1⋯Xˉkck∣0…0⟩∥(I+M1)⋯(I+Mn−k) Xˉ1c1⋯Xˉkck∣0…0⟩∥,U_{\mathrm{enc}}\,|0\dots0\rangle|c_1\dots c_k\rangle=\frac{(I+M_1)\cdots(I+M_{n-k})\,\bar X_1^{c_1}\cdots\bar X_k^{c_k}|0\dots0\rangle}{\big\|(I+M_1)\cdots(I+M_{n-k})\,\bar X_1^{c_1}\cdots\bar X_k^{c_k}|0\dots0\rangle\big\|},Uenc​∣0…0⟩∣c1​…ck​⟩=​(I+M1​)⋯(I+Mn−k​)Xˉ1c1​​⋯Xˉkck​​∣0…0⟩​(I+M1​)⋯(I+Mn−k​)Xˉ1c1​​⋯Xˉkck​​∣0…0⟩​,

and in particular the vector on the right-hand side is nonzero.

This is the correctness of Gottesman's general encoding circuit for stabilizer codes: the network prepares exactly the encoded basis states, with no leftover global phase.

Formalization Note The errata are built in: the Hadamard on qubit iii comes just before that qubit's control operations, controlled-YYY gates are controlled-σzσx\sigma_z\sigma_xσz​σx​ gates in the real form, and every generator has sign +1+1+1. The page writes encoded states unnormalized; the unitary network yields the normalized vector. Since the real form σzσx=iσy\sigma_z\sigma_x=i\sigma_yσz​σx​=iσy​, a generator with an odd number of (1∣1)(1|1)(1∣1) positions is iii times a Hermitian Pauli operator; the identity is the one the page's network computes in this convention.

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

  • §4.1: Every stabilizer code can be put into the standard form (4.3).
  • §4.2: The standard-form encoding network maps |c⟩ to the encoded basis state (4.8).

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, Stabilizer Codes and Quantum Error Correction, 1997 thesis, downloaded arXiv v1 PDF; PDF title page now prints 2024. https://arxiv.org/pdf/quant-ph/9705052v1.
2 thms1 active userReviewed
Machine Learning·Captain: Goku

Quantum Algorithms and Learning Theory — Part II 6: Shadow tomography with poly(log m, log d, 1/ε, log(1/δ)) copiesTextbook

Motivation

This mission develops Chapter 6 of Quantum Algorithms and Learning Theory — Part II by Srinivasan Arunachalam. 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 Aaronson's shadow tomography theorem.

A two-outcome measurement on Cd\mathbb C^dCd is a POVM {E,1−E}\{E,\mathbb 1-E\}{E,1−E} with 0⪯E⪯10\preceq E\preceq\mathbb 10⪯E⪯1. A learner using kkk copies of an unknown ddd-dimensional density matrix ρ\rhoρ performs a measurement (a POVM {No}o∈O\{N_o\}_{o\in O}{No​}o∈O​ with finite outcome set OOO) on ρ⊗k\rho^{\otimes k}ρ⊗k and outputs numbers b(o)=(b1(o),…,bm(o))∈[0,1]mb(o)=(b_1(o),\dots,b_m(o))\in[0,1]^mb(o)=(b1​(o),…,bm​(o))∈[0,1]m.

There is a polynomial ppp in four variables such that for all ε,δ∈(0,1]\varepsilon,\delta\in(0,1]ε,δ∈(0,1], all integers m,d>0m,d>0m,d>0 and all effects E1,…,EmE_1,\dots,E_mE1​,…,Em​ on Cd\mathbb C^dCd there exist k≤p(log⁡m,log⁡d,1/ε,log⁡(1/δ))k\le p(\log m,\log d,1/\varepsilon,\log(1/\delta))k≤p(logm,logd,1/ε,log(1/δ)) and such a learner (depending on m,d,ε,δm,d,\varepsilon,\deltam,d,ε,δ and E1,…,EmE_1,\dots,E_mE1​,…,Em​, but not on ρ\rhoρ) with

Pr⁡o∼{Tr⁡(Noρ⊗k)}[ ∀i∈[m]: ∣Tr⁡(Eiρ)−bi(o)∣≤ε ] ≥ 1−δ\Pr_{o\sim\{\operatorname{Tr}(N_o\rho^{\otimes k})\}}\Big[\ \forall i\in[m]:\ |\operatorname{Tr}(E_i\rho)-b_i(o)|\le\varepsilon\ \Big]\ \ge\ 1-\deltao∼{Tr(No​ρ⊗k)}Pr​[ ∀i∈[m]: ∣Tr(Ei​ρ)−bi​(o)∣≤ε ] ≥ 1−δ

for every ddd-dimensional density matrix ρ\rhoρ.

The number of copies is exponentially smaller in mmm and ddd than for full state tomography or for estimating each Tr⁡(Eiρ)\operatorname{Tr}(E_i\rho)Tr(Ei​ρ) separately.

Formalization Note The source writes ε,δ∈[0,1]\varepsilon,\delta\in[0,1]ε,δ∈[0,1]; the endpoints 000 are excluded because there 1/ε1/\varepsilon1/ε or log⁡(1/δ)\log(1/\delta)log(1/δ) is undefined. Internal randomness and post-processing of the learner are absorbed into the POVM; ρ⊗k\rho^{\otimes k}ρ⊗k is the kkk-fold Kronecker power and logarithms are natural (the base is absorbed by the polynomial).

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

  • Lemma 6.4.8: A class of size at most M needing Ω(√((N−k+1)k)) quantum membership queries.
  • Fact 6.4.9: An admissible weight k of order log M/(log(N/log M)+1).
  • Theorem 6.6.2: Shadow tomography with poly(log m, log d, 1/ε, log(1/δ)) copies.

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

  • Srinivasan Arunachalam, Quantum Algorithms and Learning Theory — Part II, 2018 thesis, ILLC DS-2018-08. https://ir.cwi.nl/pub/27536/Thesis_S_Arunachalam.
3 thms1 active userReviewed
Quantum Error Correction·Captain: Goku

An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation 4: Steane error correction: final errors lie only on the fault locationsTextbook

Motivation

This mission develops Chapter 4 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

This is the key claim in the proof that Steane error correction satisfies property EC A (Gottesman intro p.28).

Let C1,C2⊆F2nC_1, C_2 \subseteq \mathbb F_2^nC1​,C2​⊆F2n​ be binary linear codes with C2⊥⊆C1C_2^{\perp} \subseteq C_1C2⊥​⊆C1​, and let C\mathcal CC be their CSS code, spanned by the states ∑w∈C2⊥∣u+w⟩\sum_{w \in C_2^{\perp}} |u + w\rangle∑w∈C2⊥​​∣u+w⟩ for u∈C1u \in C_1u∈C1​. Steane error correction is applied to a data block in an arbitrary state ∣ψ⟩|\psi\rangle∣ψ⟩. The state may be entangled with a reference system RRR, and its incoming error is unrestricted. The procedure runs as follows:

  1. A phase ancilla is prepared in the encoded ∣0⟩=∑w∈C2⊥∣w⟩|0\rangle = \sum_{w\in C_2^\perp}|w\rangle∣0⟩=∑w∈C2⊥​​∣w⟩ and a bit-flip ancilla in the encoded ∣0⟩+∣1⟩=∑u∈C1∣u⟩|0\rangle+|1\rangle = \sum_{u\in C_1}|u\rangle∣0⟩+∣1⟩=∑u∈C1​​∣u⟩.
  2. A transversal CNOT is applied with the phase ancilla as control and the data as target. Then a transversal CNOT is applied with the data as control and the bit-flip ancilla as target.
  3. The phase ancilla is measured in the Hadamard-rotated basis, giving a word wPw_PwP​. The bit-flip ancilla is measured in the standard basis, giving wBw_BwB​.
  4. Classical decoders return dP=decP(wP)d_P = \mathrm{dec}_P(w_P)dP​=decP​(wP​) with the same C2C_2C2​-syndrome as wPw_PwP​ and dB=decB(wB)d_B = \mathrm{dec}_B(w_B)dB​=decB​(wB​) with the same C1C_1C1​-syndrome as wBw_BwB​. Then ZZZ is applied on the qubits of dPd_PdP​ and XXX on the qubits of dBd_BdB​. This correction step is error-free.

The faults are arbitrary operators. They may act within fP,fBf_P, f_BfP​,fB​ on the prepared ancillas, and within the pairs (data qubit iii, ancilla qubit iii) for i∈gPi \in g_Pi∈gP​, resp. gBg_BgB​, right after the two CNOTs. During the Hadamard and measurement of the phase ancilla they act within hPh_PhP​, and during the measurement of the bit-flip ancilla within hBh_BhB​. Put F=fP∪fB∪gP∪gB∪hP∪hBF = f_P \cup f_B \cup g_P \cup g_B \cup h_P \cup h_BF=fP​∪fB​∪gP​∪gB​∪hP​∪hB​. Then for every pair of outcomes (wP,wB)(w_P, w_B)(wP​,wB​) the corrected (unnormalized) data–reference state satisfies

∣ψfinal⟩∈VF⊗R,VF=span⁡{E∣c⟩:c∈C, E acts only on the qubits in F},|\psi_{\mathrm{final}}\rangle \in V_F \otimes R, \qquad V_F = \operatorname{span}\{E|c\rangle : c \in \mathcal C,\ E \text{ acts only on the qubits in } F\},∣ψfinal​⟩∈VF​⊗R,VF​=span{E∣c⟩:c∈C, E acts only on the qubits in F},

and moreover ∣F∣≤s=∣fP∣+∣fB∣+∣gP∣+∣gB∣+∣hP∣+∣hB∣|F| \le s = |f_P|+|f_B|+|g_P|+|g_B|+|h_P|+|h_B|∣F∣≤s=∣fP​∣+∣fB​∣+∣gP​∣+∣gB​∣+∣hP​∣+∣hB​∣.

In words: after Steane error correction, the data is a codeword (possibly a different logical state) with errors only on the qubits where faults occurred during error correction. This gives EC A when s≤ts \le ts≤t.

Formalization Note The circuit is the chunk-local definition steaneECOutput. It returns the post-measurement branch for the given outcomes, i.e. the amplitude of the ancillas on ∣wP,wB⟩|w_P, w_B\rangle∣wP​,wB​⟩. In that branch the map is linear, so the arbitrary fault operators per Kraus branch and the arbitrary incoming vector cover the source's 'no restrictions as to the types of errors'. The hypothesis s≤ts \le ts≤t of EC A is omitted because the claim's proof never uses it.

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

  • §4.4, Claim 1: Steane error correction: final errors lie only on the fault locations.

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.
1 thm1 active userReviewed
Captain: Goku

Quantum Computing: Lecture Notes 10: HHL algorithm: gate-efficient QLSP solver with O((dκ²/ε) polylog) queries to P_A and O(dκ polylog) uses of P_BTextbook

Motivation

This mission develops Chapter 10 of Quantum Computing: Lecture Notes by Ronald de Wolf. 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 the complexity theorem for the Harrow–Hassidim–Lloyd (HHL) algorithm for the quantum linear systems problem (QLSP), in the form of Childs, Kothari and Somma (2017), Theorem 2.

The problem. Let AAA be an N×NN\times NN×N Hermitian, invertible matrix with operator norm ∥A∥=1\|A\|=1∥A∥=1, condition number κ=σmax⁡(A)/σmin⁡(A)\kappa=\sigma_{\max}(A)/\sigma_{\min}(A)κ=σmax​(A)/σmin​(A) (known to the algorithm), and at most ddd nonzero entries in every row and every column. Let b⃗≠0\vec b\neq 0b=0 be a vector in CN\mathbb C^NCN and x⃗=A−1b⃗\vec x=A^{-1}\vec bx=A−1b, and write ∣b⟩=∑ibi∣i⟩/∥b⃗∥|b\rangle=\sum_i b_i|i\rangle/\|\vec b\|∣b⟩=∑i​bi​∣i⟩/∥b∥, ∣x⟩=∑ixi∣i⟩/∥x⃗∥|x\rangle=\sum_i x_i|i\rangle/\|\vec x\|∣x⟩=∑i​xi​∣i⟩/∥x∥, with indices held in n=⌈log⁡2N⌉n=\lceil\log_2 N\rceiln=⌈log2​N⌉ qubits. The matrix is accessed through a black box PAP_APA​ consisting of the two unitary maps

∣j,ℓ⟩↦∣j,ν(j,ℓ)⟩(j∈[N], ℓ∈[d]),∣j,k,z⟩↦∣j,k,z⊕Ajk⟩(j,k∈[N]),|j,\ell\rangle\mapsto|j,\nu(j,\ell)\rangle\quad(j\in[N],\ \ell\in[d]),\qquad |j,k,z\rangle\mapsto|j,k,z\oplus A_{jk}\rangle\quad(j,k\in[N]),∣j,ℓ⟩↦∣j,ν(j,ℓ)⟩(j∈[N], ℓ∈[d]),∣j,k,z⟩↦∣j,k,z⊕Ajk​⟩(j,k∈[N]),

where ν(j,ℓ)\nu(j,\ell)ν(j,ℓ) is the row index of the ℓ\ellℓ-th nonzero entry of column jjj and the entry AjkA_{jk}Ajk​ is written exactly as a bbb-bit string in a fixed encoding. The vector is accessed through a unitary black box PBP_BPB​ with PB∣0n⟩=∣b⟩P_B|0^n\rangle=|b\ranglePB​∣0n⟩=∣b⟩. A use of a black box (possibly controlled, possibly inverted) is one query; the gate complexity is the number of other 2-qubit gates. The goal is to output, with probability at least 1/21/21/2 and with a flag qubit indicating success, a state that is ε\varepsilonε-close in Euclidean norm to ∣x⟩|x\rangle∣x⟩.

The theorem. There are absolute constants C>0C>0C>0 and c∈Nc\in\mathbb Nc∈N, and for every entry encoding constants C′>0C'>0C′>0, c′∈Nc'\in\mathbb Nc′∈N, such that for all NNN, all d≥1d\ge1d≥1, κ≥1\kappa\ge1κ≥1 and 0<ε<10<\varepsilon<10<ε<1 there is a single quantum circuit, depending only on N,d,κ,εN,d,\kappa,\varepsilonN,d,κ,ε and the encoding, which solves every QLSP instance with these parameters, and whose number QQQ of queries to PAP_APA​ and number QBQ_BQB​ of uses of PBP_BPB​ satisfy

Q≤C dκ2ε(1+log⁡dκε)c,QB≤C dκ(1+log⁡dκε)c,Q\le C\,\frac{d\kappa^2}{\varepsilon}\Bigl(1+\log\frac{d\kappa}{\varepsilon}\Bigr)^{c},\qquad Q_B\le C\,d\kappa\Bigl(1+\log\frac{d\kappa}{\varepsilon}\Bigr)^{c},Q≤Cεdκ2​(1+logεdκ​)c,QB​≤Cdκ(1+logεdκ​)c,

and which is gate-efficient: its number GGG of 2-qubit gates satisfies

G≤C′ Q (1+log⁡Q+log⁡N)c′.G\le C'\,Q\,\bigl(1+\log Q+\log N\bigr)^{c'}.G≤C′Q(1+logQ+logN)c′.

Success means: started in ∣0⋯0⟩|0\cdots0\rangle∣0⋯0⟩ on a flag qubit, nnn output qubits and some number of work qubits, the final state has flag 111 with probability p≥1/2p\ge 1/2p≥1/2, and the normalized flag-111 branch is within Euclidean distance ε\varepsilonε of ∣1⟩∣x⟩∣g⟩|1\rangle|x\rangle|g\rangle∣1⟩∣x⟩∣g⟩ for some unit work-register state ∣g⟩|g\rangle∣g⟩.

This is the benchmark against which the later precision improvements (Theorems 3–5 of Childs–Kothari–Somma) and de Wolf's §10.3 singular-value-transformation algorithm are measured.

Formalization Note A ddd-sparse matrix with ∥A∥=1\|A\|=1∥A∥=1 automatically has d≥1d\ge1d≥1 and κ≥1\kappa\ge1κ≥1; these ranges are stated so that the logarithms are positive. The polylogarithmic factors poly(L)\mathrm{poly}(L)poly(L) with L>0L>0L>0 are written C(1+L)cC(1+L)^cC(1+L)c, which is equivalent. The gate-efficiency constants may depend on the fixed exact encoding dec:{0,1}b→C\mathrm{dec}:\{0,1\}^b\to\mathbb Cdec:{0,1}b→C of matrix entries, because the source treats the entry representation as exact and does not account for its arithmetic; the query constants do not. The source's assumption that PBP_BPB​ runs in time O(polylog⁡N)O(\mathrm{poly}\log N)O(polylogN) concerns the cost of PBP_BPB​, which is counted only through QBQ_BQB​. The theorem is vacuous for d>Nd>Nd>N (the column map cannot exist), where the bound for d=Nd=Nd=N is stronger anyway. The output may differ from ∣x⟩|x\rangle∣x⟩ by a global phase, absorbed into the work-register state.

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

  • Problem 1 (p.3) and Theorem 2 (p.4); de Wolf §10.2–10.3, PDF p.96: HHL algorithm: gate-efficient QLSP solver with O((dκ²/ε) polylog) queries to P_A and O(dκ polylog) uses of P_B.

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

  • Ronald de Wolf, Quantum Computing: Lecture Notes, 27 August 2026. https://homepages.cwi.nl/~rdewolf/qcnotes.pdf.
1 thm1 active userReviewed
PreviousPage 4 of 6Next

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