Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Quantum Error Correction

27 missions · 7 completed

Missions

Open20Completed7All27
🏆Completed
CombinatoricsQuantum Information·Captain: Winningatmath

Bivariate-Bicycle Codes: New [[336,20,12]] and [[360,24,12]] Codes and Certified DistancesResearch Paper

Motivation

A quantum memory stores logical qubits in many physical qubits so that errors can be detected and corrected. The overhead of doing so, measured by how many physical qubits are spent per logical qubit at a given error-correcting power, is one of the main costs of fault-tolerant quantum computation. Bivariate-bicycle (BB) codes are currently the leading low-overhead family: the gross code [[144,12,12]][[144,12,12]][[144,12,12]] of Bravyi et al. (Nature, 2024) stores 12 logical qubits at distance 12 using 144 data qubits, roughly a tenth of the overhead of a surface code with the same distance, and it is the basis of a published hardware roadmap. The search for higher-rate members of the family is active, and the claims made in it are claims about the exact distance of explicit finite codes. These are finite but very large computations, and they are rarely checked independently.

Timeline.

  • 2004 — MacKay, Mitchison and McFadden introduce bicycle codes: CSS codes built from a pair of circulant matrices.
  • 2013 — Kovalev and Pryadko generalize the construction to commuting pairs of group-algebra elements (generalized bicycle codes).
  • 2024 — Bravyi, Cross, Gambetta, Maslov, Rall and Yoder define BB codes over Zl×Zm\mathbb Z_l\times\mathbb Z_mZl​×Zm​ and give the ladder [[72,12,6]][[72,12,6]][[72,12,6]], [[90,8,10]][[90,8,10]][[90,8,10]], [[108,8,10]][[108,8,10]][[108,8,10]], [[144,12,12]][[144,12,12]][[144,12,12]], [[288,12,18]][[288,12,18]][[288,12,18]], with [[360,12,≤24]][[360,12,\le 24]][[360,12,≤24]] left with only an upper bound.
  • 2026 — An evolutionary search by Cruz-Benito et al. (arXiv:2606.02418) reports [[288,16,12]][[288,16,12]][[288,16,12]] as its best indecomposable weight-6 code at distance 12.
  • 2026 — Daugherty, Ryan and Ward give two new [[336,20,12]][[336,20,12]][[336,20,12]] codes and a new [[360,24,12]][[360,24,12]][[360,24,12]] code. They certify the exact distances of the whole ladder, establish d=24d=24d=24 for [[360,12]][[360,12]][[360,12]], and show by enumeration that no connected three-term weight-6 BB code with n≤360n\le 360n≤360 and k≥20k\ge 20k≥20 has distance 13 or more.

Setting

Fix positive integers l,ml,ml,m and let G=Zl×ZmG=\mathbb Z_l\times\mathbb Z_mG=Zl​×Zm​. The monomial xiyjx^iy^jxiyj of the ring F2[x,y]/(xl−1, ym−1)\mathbb F_2[x,y]/(x^l-1,\,y^m-1)F2​[x,y]/(xl−1,ym−1) is identified with (i,j)∈G(i,j)\in G(i,j)∈G. A polynomial PPP with coefficients in F2\mathbb F_2F2​ is identified with its support, the finite set of monomials with coefficient 111. The circulant of PPP is the G×GG\times GG×G binary matrix with a 111 in row ggg, column hhh exactly when h−g∈Ph-g\in Ph−g∈P.

Given two polynomials A,BA,BA,B, the BB code BB(A,B)\mathrm{BB}(A,B)BB(A,B) acts on n=2lmn=2lmn=2lm qubits, arranged in two blocks indexed by GGG. Its check matrices are

HX=[ A∣B ],HZ=[ BT∣AT ],H_X=[\,A\mid B\,],\qquad H_Z=[\,B^{\mathsf T}\mid A^{\mathsf T}\,],HX​=[A∣B],HZ​=[BT∣AT],

where AAA and BBB also denote their circulants. Because GGG is abelian, HXHZT=AB+BA=0H_XH_Z^{\mathsf T}=AB+BA=0HX​HZT​=AB+BA=0 over F2\mathbb F_2F2​, so this is a CSS code. Its parameters are:

  1. the number of logical qubits k=n−rank⁡HX−rank⁡HZk=n-\operatorname{rank}H_X-\operatorname{rank}H_Zk=n−rankHX​−rankHZ​, with ranks over F2\mathbb F_2F2​;
  2. the Z-distance dZd_ZdZ​, the least Hamming weight of a vector v∈F2nv\in\mathbb F_2^nv∈F2n​ with HXv=0H_Xv=0HX​v=0 and v∉row⁡(HZ)v\notin\operatorname{row}(H_Z)v∈/row(HZ​) (a nontrivial Z-logical);
  3. the X-distance dXd_XdX​, defined dually: HZv=0H_Zv=0HZ​v=0 and v∉row⁡(HX)v\notin\operatorname{row}(H_X)v∈/row(HX​).

The code is [[n,k,d]][[n,k,d]][[n,k,d]] when dX=dZ=dd_X=d_Z=ddX​=dZ​=d. Each check of a code built from two three-term polynomials touches six qubits (weight 6). The Tanner graph joins each qubit to the X- and Z-checks acting on it, and the code is connected when this graph is connected.

Formalization targets

Goal: the three new codes

BBZ2×Z84 ⁣(1+y+xy5,  1+y4+y62)=[[336,20,12]],\mathrm{BB}_{\mathbb Z_2\times\mathbb Z_{84}}\!\left(1+y+xy^{5},\;1+y^{4}+y^{62}\right)=[[336,20,12]],BBZ2​×Z84​​(1+y+xy5,1+y4+y62)=[[336,20,12]], BBZ2×Z84 ⁣(1+y+xy5,  1+y20+y46)=[[336,20,12]],\mathrm{BB}_{\mathbb Z_2\times\mathbb Z_{84}}\!\left(1+y+xy^{5},\;1+y^{20}+y^{46}\right)=[[336,20,12]],BBZ2​×Z84​​(1+y+xy5,1+y20+y46)=[[336,20,12]], BBZ6×Z30 ⁣(1+y+xy2,  1+y8+x2y16)=[[360,24,12]],\mathrm{BB}_{\mathbb Z_6\times\mathbb Z_{30}}\!\left(1+y+xy^{2},\;1+y^{8}+x^{2}y^{16}\right)=[[360,24,12]],BBZ6​×Z30​​(1+y+xy2,1+y8+x2y16)=[[360,24,12]],

each with dX=dZ=12d_X=d_Z=12dX​=dZ​=12 (Table 9 of the source). Each new code is also a milestone on its own.

Milestones

  • Lemma 1 (minimality). In any parity system, no nonempty proper subset of a minimum-weight logical is even on every check.
  • Table 3, the certified ladder. [[72,12,6]][[72,12,6]][[72,12,6]], [[90,8,10]][[90,8,10]][[90,8,10]], [[108,8,10]][[108,8,10]][[108,8,10]], [[144,12,12]][[144,12,12]][[144,12,12]], [[288,12,18]][[288,12,18]][[288,12,18]] and [[360,12,24]][[360,12,24]][[360,12,24]], all with dX=dZd_X=d_ZdX​=dZ​, for the polynomials of Bravyi et al.
  • Section 6, the weight-6 envelope. Every connected BB code built from two three-term polynomials with n≤360n\le 360n≤360 and k≥20k\ge 20k≥20 has a nontrivial X- or Z-logical of weight at most 12. In words, none has distance 13 or more.

Significance

The result. The new codes encode 25% and 50% more logical qubits at distance 12 than the best weight-6 code reported by evolutionary search, with figures of merit kd2/nkd^2/nkd2/n of 8.57 and 9.60. The ladder distances turn published values, several of them previously supported only by heuristic searches or upper bounds, into exact statements. In particular d([[360,12]])=24d([[360,12]])=24d([[360,12]])=24 settles an upper bound left open by Bravyi et al. The envelope statement is a negative result: within this family and size range, distance 12 is the ceiling at k≥20k\ge 20k≥20.

Formalizing it. In the source, each lower bound on a distance is a DRAT refutation or a replayable proof tree, checked by external programs. Only the pruning lemma (Lemma 1) has a machine-checked proof, in Lean 4. A complete formalization would make the code parameters kernel-checked facts about explicit Mathlib objects, independent of every external checker. Upper bounds on distance and the values of kkk are finite linear-algebra facts. Lower bounds are exhaustive statements over (nw)\binom{n}{w}(wn​)-sized spaces and are the core of the work.

Difficulty

The upper bound d≤12d\le 12d≤12 needs one explicit weight-12 logical together with a proof that it lies outside the opposite row space. The lower bound d≥12d\ge 12d≥12 asks that no nontrivial logical of weight at most 11 exist among roughly (33611)≈1019\binom{336}{11}\approx 10^{19}(11336​)≈1019 candidate supports. Direct enumeration is out of reach. A SAT encoding with a cardinality constraint is several orders of magnitude slower than the source's pruned search, and the resulting proof objects are large: hundreds of megabytes for the larger ladder codes. Kernel-checking such certificates, or finding structure that avoids them, is the central difficulty. Computing kkk also requires an F2\mathbb F_2F2​-rank of matrices with up to 180 rows and 360 columns, and Mathlib's Matrix.rank is not computable by decide. The envelope statement additionally quantifies over 971 group shapes and every pair of three-term polynomials on each.

Formalization scope

All objects are in the definition file BBCode_Setting. GGG is ZMod l × ZMod m, and a polynomial is a Finset of monomials, which makes it a set of distinct terms. The circulant has entry 1 at (g,h)(g,h)(g,h) iff h−g∈Ph-g\in Ph−g∈P. Qubits are G ⊕ G (left and right blocks). HXH_XHX​ is Matrix.fromCols (circulant A) (circulant B) and HZH_ZHZ​ is Matrix.fromCols (circulant B)ᵀ (circulant A)ᵀ, over ZMod 2. The row space is the ZMod 2-span of the rows, and the weight counts nonzero coordinates. NumLogical A B k states rank⁡HX+rank⁡HZ+k=n\operatorname{rank}H_X+\operatorname{rank}H_Z+k=nrankHX​+rankHZ​+k=n additively, avoiding truncated subtraction. HasZDistance A B d requires both a nontrivial Z-logical of weight exactly ddd and the lower bound for every nontrivial Z-logical, so a code without logicals cannot satisfy it vacuously. IsCode A B n k d bundles n=2lmn=2lmn=2lm, kkk and both distances.

The envelope quantifies over all l,m≥1l,m\ge 1l,m≥1 with 2lm≤3602lm\le 3602lm≤360. The source enumerates 961 shapes; the 10 it omits (lm≤5lm\le 5lm≤5) cannot have k≥20k\ge 20k≥20, so the two ranges are equivalent.

Reusable infrastructure includes computable F2\mathbb F_2F2​ rank certificates (explicit row-echelon or basis witnesses), a verified checker for DRAT or proof-tree certificates, and symmetry lemmas for group translations acting on BB codes. Contributions of any of these, of individual sectors (dXd_XdX​ or dZd_ZdZ​ separately), or of upper and lower bounds as separate lemmas are welcome.

Selected references

  • S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, T. J. Yoder, High-threshold and low-overhead fault-tolerant quantum memory, Nature 627, 778–782, 2024. https://doi.org/10.1038/s41586-024-07107-7 (arXiv: https://arxiv.org/abs/2308.07915)
  • B. W. Daugherty, S. Ryan, G. Ward, New distance-12 bivariate-bicycle codes with 20 and 24 logical qubits: an exhaustive classification and checkable distances to 360 qubits, certificate release v1.0.0, Zenodo, 2026. https://doi.org/10.5281/zenodo.23382175
  • D. J. C. MacKay, G. Mitchison, P. L. McFadden, Sparse-graph codes for quantum error correction, IEEE Trans. Inf. Theory 50(10), 2315–2330, 2004. https://arxiv.org/abs/quant-ph/0304161
  • A. A. Kovalev, L. P. Pryadko, Quantum Kronecker sum-product low-density parity-check codes with finite rate, Phys. Rev. A 88, 012311, 2013. https://arxiv.org/abs/1212.6703
  • J. Cruz-Benito et al., evolutionary search for bivariate-bicycle codes, arXiv:2606.02418, 2026. https://arxiv.org/abs/2606.02418
63 thms2 active usersReviewed
🏆Completed
Quantum Information·Captain: Goku

An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation 3: Every error syndrome of a stabilizer is realized by a Pauli errorTextbook

Motivation

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

Let Pn\mathcal P_nPn​ be the nnn-qubit Pauli group and let g1,…,ga∈Png_1,\dots,g_a\in\mathcal P_ng1​,…,ga​∈Pn​ generate a stabilizer S=⟨g1,…,ga⟩S=\langle g_1,\dots,g_a\rangleS=⟨g1​,…,ga​⟩, that is, an Abelian subgroup of Pn\mathcal P_nPn​ with −I∉S-I\notin S−I∈/S, and suppose the generators are independent, i.e. ∣S∣=2a|S|=2^a∣S∣=2a. The error syndrome of a Pauli operator EEE is the vector in F2a\mathbb F_2^aF2a​ whose iii-th bit is 000 if gig_igi​ commutes with EEE and 111 if it anticommutes.

Then for every v∈F2av\in\mathbb F_2^av∈F2a​ there is E∈PnE\in\mathcal P_nE∈Pn​ with syndrome vvv:

giE=Egi  if vi=0,giE=−Egi  if vi=1(i=1,…,a).g_iE=Eg_i\ \text{ if } v_i=0,\qquad g_iE=-Eg_i\ \text{ if } v_i=1\qquad(i=1,\dots,a).gi​E=Egi​  if vi​=0,gi​E=−Egi​  if vi​=1(i=1,…,a).

This lemma is the step in the proof of the dimension count of stabilizer codes (Theorem 5) that shows all 2a2^a2a syndrome subspaces are nonempty.

Formalization Note The syndrome is relative to the generator list, as in the source's proof; the independence of the generators (used in the proof as linear independence of their binary vectors) is the hypothesis ∣S∣=2a|S|=2^a∣S∣=2a. The anticommutation clause is stated explicitly.

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: Stabilizer codes: an Abelian S of order 2^a without -1 gives an [[n, n-a, d]] code.
  • Lemma 1: Every error syndrome of a stabilizer is realized by a Pauli error.

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.
3 thms2 active usersReviewed
🏆Completed
Quantum Information·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 Information·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 Information·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
Quantum GravityQuantum Information·Captain: Alien60

Almheiri–Dong–Harlow 2015: Bulk Locality and Quantum Error Correction in AdS/CFTResearch Paper

Motivation

The AdS/CFT correspondence relates a theory of quantum gravity in anti-de Sitter space (the bulk) to a quantum field theory without gravity on its boundary (the CFT). A central question is how a local field operator ϕ(x)\phi(x)ϕ(x) deep in the bulk is represented by boundary operators. Almheiri, Dong and Harlow (JHEP 04 (2015) 163) pointed out a puzzle.

  • The bulk operator can be reconstructed on several different boundary regions. For example, it can be reconstructed on A∪BA\cup BA∪B, on B∪CB\cup CB∪C or on A∪CA\cup CA∪C, but not on any single one of them.
  • These reconstructions cannot all be the same CFT operator: an operator commuting with all local operators on a time slice must be trivial.

Their resolution is that the bulk effective theory is a quantum error-correcting code. Bulk operators are logical operators acting on a code subspace of the CFT Hilbert space. Different boundary representations agree only on that subspace, as one logical operator of an erasure-correcting code can be implemented on different subsets of qubits.

The mathematical backbone of that resolution is a finite-dimensional criterion for when a logical operator can be implemented on a given subsystem. This mission formalizes it (Appendix B of the paper), with the examples and corollaries of Section 3.

Timeline.

  • 1996–1997: Schumacher and Nielsen characterize correctability by vanishing correlations with a reference system, condition (3.14) (arXiv:quant-ph/9604022). Grassl, Beth and Pellizzari give the matrix-element form (3.19) (arXiv:quant-ph/9610042).
  • 1999: Cleve, Gottesman and Lo introduce the three-qutrit code as a quantum secret-sharing scheme (arXiv:quant-ph/9901025).
  • 2006: Ryu and Takayanagi propose the holographic entanglement-entropy formula (arXiv:hep-th/0603001).
  • 2007: Bény, Kempf and Kribs develop operator-algebra quantum error correction (arXiv:quant-ph/0608071, arXiv:0705.1574), of which the theorem here is a special case.
  • 2014–2015: Almheiri, Dong and Harlow recast bulk reconstruction as quantum error correction; Pastawski, Yoshida, Harlow and Preskill build holographic tensor-network codes (arXiv:1503.06237).
  • 2016: Dong, Harlow and Wall establish reconstruction in the entanglement wedge (arXiv:1601.05416). Harlow derives the Ryu–Takayanagi formula from operator-algebra error correction (arXiv:1607.03901).

Setting

The physical Hilbert space is a tensor product H=HE⊗HEˉ\mathcal H = \mathcal H_E\otimes\mathcal H_{\bar E}H=HE​⊗HEˉ​ of finite-dimensional spaces. EEE is the part that may be erased (lost), and Eˉ\bar EEˉ is the part that remains. A code subspace is a subspace HC⊆H\mathcal H_{\mathcal C}\subseteq\mathcal HHC​⊆H.

An operator OOO acts within the code subspace if both OOO and O†O^\daggerO† map HC\mathcal H_{\mathcal C}HC​ into itself. Such an operator has a representation on Eˉ\bar EEˉ if there is an operator OEˉO_{\bar E}OEˉ​ acting only on Eˉ\bar EEˉ, that is of the form 1E⊗Y\mathbb 1_E\otimes Y1E​⊗Y, with

OEˉ∣ψ~⟩=O∣ψ~⟩,OEˉ†∣ψ~⟩=O†∣ψ~⟩for all ∣ψ~⟩∈HC.O_{\bar E}|\tilde\psi\rangle = O|\tilde\psi\rangle,\qquad O_{\bar E}^\dagger|\tilde\psi\rangle = O^\dagger|\tilde\psi\rangle\qquad\text{for all }|\tilde\psi\rangle\in\mathcal H_{\mathcal C}.OEˉ​∣ψ~​⟩=O∣ψ~​⟩,OEˉ†​∣ψ~​⟩=O†∣ψ~​⟩for all ∣ψ~​⟩∈HC​.

Representations on EEE are defined in the same way, with operators X⊗1EˉX\otimes\mathbb 1_{\bar E}X⊗1Eˉ​.

The three-qutrit code (Section 3.1) encodes one qutrit into three via

∣ı~⟩=13∑a∈Z3∣a, a+i, a+2i⟩,|\tilde\imath\rangle = \tfrac{1}{\sqrt3}\textstyle\sum_{a\in\mathbb Z_3}|a,\ a+i,\ a+2i\rangle,∣~⟩=3​1​∑a∈Z3​​∣a, a+i, a+2i⟩,

that is, ∣0~⟩=(∣000⟩+∣111⟩+∣222⟩)/3|\tilde 0\rangle = (|000\rangle+|111\rangle+|222\rangle)/\sqrt3∣0~⟩=(∣000⟩+∣111⟩+∣222⟩)/3​ and so on (Eq. (3.3)).

Formalization targets

Goal: the basic theorem of operator-algebra quantum error correction (Section 3.5, proof in Appendix B)

For an operator OOO acting within HC\mathcal H_{\mathcal C}HC​,

O has a representation on Eˉ  ⟺  ⟨ψ~′∣ [O, XE⊗1Eˉ] ∣ψ~⟩=0  for all XE on E and all ∣ψ~⟩,∣ψ~′⟩∈HC.O\ \text{has a representation on }\bar E\iff \langle\tilde\psi'|\,[O,\,X_E\otimes\mathbb 1_{\bar E}]\,|\tilde\psi\rangle = 0\ \ \text{for all } X_E \text{ on } E \text{ and all } |\tilde\psi\rangle,|\tilde\psi'\rangle\in\mathcal H_{\mathcal C}.O has a representation on Eˉ⟺⟨ψ~​′∣[O,XE​⊗1Eˉ​]∣ψ~​⟩=0  for all XE​ on E and all ∣ψ~​⟩,∣ψ~​′⟩∈HC​.

Milestones (in source order)

  1. Section 3.1 (after Eq. (3.3)): for every encoded three-qutrit state, the reduced density matrix of each single qutrit is 131\tfrac13\mathbb 131​1.
  2. Eqs. (3.4)–(3.6): the permutation U12U_{12}U12​ of Eq. (3.6) is unitary, and (U12⊗I3)∣ı~⟩=∣i⟩⊗13(∣00⟩+∣11⟩+∣22⟩)(U_{12}\otimes I_3)|\tilde\imath\rangle = |i\rangle\otimes\tfrac1{\sqrt3}(|00\rangle+|11\rangle+|22\rangle)(U12​⊗I3​)∣~⟩=∣i⟩⊗3​1​(∣00⟩+∣11⟩+∣22⟩).
  3. Eqs. (3.9)–(3.10): for every single-qutrit operator OOO, the operator O12=U12†(O⊗1)U12O_{12} = U_{12}^\dagger (O\otimes\mathbb 1) U_{12}O12​=U12†​(O⊗1)U12​, with OOO acting on the first qutrit, satisfies O12∣ı~⟩=∑jOji∣ȷ~⟩O_{12}|\tilde\imath\rangle = \sum_j O_{ji}|\tilde\jmath\rangleO12​∣~⟩=∑j​Oji​∣~​⟩.
  4. Section 3.2, Eqs. (3.19) ⟺ (3.21): the projection of every XEX_EXE​ onto the code subspace is proportional to the identity iff every operator acting within the code subspace has a representation on Eˉ\bar EEˉ. The source states, citing the literature, that (3.19) is equivalent to correctability of the erasure of EEE; that equivalence is not formalized.
  5. Section 3.5, two-qubit example: on the code spanned by (∣00⟩+∣11⟩)/2(|00\rangle+|11\rangle)/\sqrt2(∣00⟩+∣11⟩)/2​ and (∣01⟩+∣10⟩)/2(|01\rangle+|10\rangle)/\sqrt2(∣01⟩+∣10⟩)/2​, the logical XXX is realized by the bit flip of either qubit. No operator on the first qubit alone reproduces the logical ZZZ on the code, and every logical operator realizable on the first qubit acts on the code as a1+bXˉa\mathbb 1 + b\bar Xa1+bXˉ: the code corrects only the subalgebra generated by 1\mathbb 11 and Xˉ\bar XXˉ.
  6. Section 3.5, algebraic no-cloning: if O1O_1O1​ has a representation on Eˉ\bar EEˉ and O2O_2O2​ has a representation on EEE, then O1O_1O1​ and O2O_2O2​ commute on the code subspace. Consequently, the elements of any family of logical operators that is represented both on EEE and on Eˉ\bar EEˉ commute pairwise on the code subspace, so a non-abelian algebra cannot be represented on both.

Significance

The result. The goal theorem characterizes, by a checkable commutation condition, which logical operators survive the loss of EEE; milestone 4 is its specialization to full erasure correction. Milestone 6 explains why a non-commuting algebra of bulk operators cannot be represented on two complementary boundary regions at once, so reconstructions of ϕ(x)\phi(x)ϕ(x) on different regions are distinct operators that agree only on the code subspace. The three-qutrit code models this: every logical operator is realized on any two qutrits, and no single qutrit carries information.

Formalizing it. All statements are proved in the source, or cited there from standard references, and are finite-dimensional. This mission produces machine-checked versions and a reusable vocabulary of code subspaces, logical operators and subsystem representations. That vocabulary is the starting point for formalizing the later results it underlies, in particular the subsystem and operator-algebra theorems of Harlow's derivation of the Ryu–Takayanagi formula (arXiv:1607.03901).

Status honesty. The mathematics is unconditional finite-dimensional linear algebra. The application to AdS/CFT rests on the conjectured duality and on bulk effective field theory, and is context only; none of it enters the hypotheses. The appendix proof is the authors' own, and the theorem is a special case of the results of Bény, Kempf and Kribs. The equivalence of (3.19) with correctability of the erasure (the existence of a recovery unitary, Eqs. (3.14)–(3.18)) is cited in the source from Schumacher–Nielsen and Grassl–Beth–Pellizzari, and is not part of this mission. No machine-checked proof of any of these statements is known. Neither Mathlib nor Physlib (including its quantum-information library) formalizes code subspaces, erasure correction or operator-algebra quantum error correction.

Difficulty

The forward direction of the goal is a direct computation. The converse is an existence statement: an operator OEˉ=1E⊗YO_{\bar E}=\mathbb 1_E\otimes YOEˉ​=1E​⊗Y has to be produced from a hypothesis that constrains only the matrix elements of OOO between code states. That hypothesis says nothing about how OOO acts off the code subspace, and OOO generally acts nontrivially on EEE. So no candidate for YYY can be read off from OOO itself.

Milestone 4 has the same character in both directions. One direction must produce a representation on Eˉ\bar EEˉ for every operator acting within the code subspace, starting from the scalar condition (3.19), which concerns operators on EEE alone. The other direction is a non-existence claim about operators on EEE, to be derived from a property quantified over all logical operators.

The explicit-code milestones are finite but involve the irrational normalization 1/31/\sqrt31/3​ and a 272727-dimensional space.

Formalization scope

  • Representation. Vectors on HE⊗HEˉ\mathcal H_E\otimes\mathcal H_{\bar E}HE​⊗HEˉ​ are functions on e×eˉe\times\bar ee×eˉ for finite types e,eˉe,\bar ee,eˉ, with EEE first. Operators are complex matrices, tensor products are Mathlib's Kronecker product ⊗ₖ, O†O^\daggerO† is the conjugate transpose, and ⟨w∣u⟩\langle w|u\rangle⟨w∣u⟩ is star w ⬝ᵥ u.
  • Code subspace. The code subspace is an arbitrary complex subspace (Submodule ℂ). It is described without a basis: "⟨ı~∣⋯∣ȷ~⟩=0\langle\tilde\imath|\cdots|\tilde\jmath\rangle = 0⟨~∣⋯∣~​⟩=0 for all i,ji,ji,j" is stated for all pairs of code vectors, which is equivalent by sesquilinearity.
  • Proportionality. Eq. (3.19), ⟨ı~∣XE∣ȷ~⟩=δijC(X)\langle\tilde\imath|X_E|\tilde\jmath\rangle = \delta_{ij}C(X)⟨~∣XE​∣~​⟩=δij​C(X), is stated basis-free as ⟨w∣XEv⟩=c ⟨w∣v⟩\langle w|X_E v\rangle = c\,\langle w|v\rangle⟨w∣XE​v⟩=c⟨w∣v⟩ for one constant ccc and all code vectors v,wv,wv,w.
  • Three-qutrit vectors. These are indexed by ((q1,q2),q3)((q_1,q_2),q_3)((q1​,q2​),q3​). U12U_{12}U12​ is the permutation matrix of the table in Eq. (3.6), and the single-qutrit reduced states are partial traces over the other two qutrits.
  • Not trivial. The goal quantifies over every code subspace and every operator acting within it. The zero subspace makes both sides true and is harmless. The examples are fixed concrete codes.
  • Not formalized. Cited but not proved in the source: (3.14) with the recovery unitary (3.16)–(3.18), and the bound (3.25). Heuristic: the count (3.22) and the Page-theorem argument after it. Definitions only: quantum secret sharing (Section 3.3), (3.23) and (3.24). Immediate or by symmetry: (3.20), recovery from qutrits 2,3 or 1,3, and the ∗*∗-subalgebra remark after the theorem. Out of scope: Sections 4–5 (the AdS/CFT model, backreaction).
  • Infrastructure. A complete development needs lemmas on Kronecker products acting on vectors ((A ⊗ₖ B) *ᵥ v), conjugate transposes of Kronecker products, orthogonal projection onto a Submodule, and partial traces. These are reusable; stand-alone contributions are welcome.

Selected references

  • A. Almheiri, X. Dong, D. Harlow, Bulk locality and quantum error correction in AdS/CFT, JHEP 04 (2015) 163. arXiv:1411.7041
  • C. Bény, A. Kempf, D. W. Kribs, Generalization of quantum error correction via the Heisenberg picture, Phys. Rev. Lett. 98, 100502 (2007). arXiv:quant-ph/0608071
  • C. Bény, A. Kempf, D. W. Kribs, Quantum error correction of observables, Phys. Rev. A 76, 042303 (2007). arXiv:0705.1574
  • B. Schumacher, M. A. Nielsen, Quantum data processing and error correction, Phys. Rev. A 54, 2629 (1996). arXiv:quant-ph/9604022
  • M. Grassl, T. Beth, T. Pellizzari, Codes for the quantum erasure channel, Phys. Rev. A 56, 33 (1997). arXiv:quant-ph/9610042
  • R. Cleve, D. Gottesman, H.-K. Lo, How to share a quantum secret, Phys. Rev. Lett. 83, 648 (1999). arXiv:quant-ph/9901025
  • S. Ryu, T. Takayanagi, Holographic derivation of entanglement entropy from AdS/CFT, Phys. Rev. Lett. 96, 181602 (2006). arXiv:hep-th/0603001
  • F. Pastawski, B. Yoshida, D. Harlow, J. Preskill, Holographic quantum error-correcting codes: toy models for the bulk/boundary correspondence, JHEP 06 (2015) 149. arXiv:1503.06237
  • X. Dong, D. Harlow, A. C. Wall, Reconstruction of bulk operators within the entanglement wedge in gauge-gravity duality, Phys. Rev. Lett. 117, 021601 (2016). arXiv:1601.05416
  • D. Harlow, The Ryu–Takayanagi formula from quantum error correction, Commun. Math. Phys. 354, 865 (2017). arXiv:1607.03901
10 thms1 active userReviewed
🏆Completed
Algebraic TopologyInformation TheoryQuantum Information·Captain: Rui Chao

Higher-Dimensional Quantum Hypergraph-Product Codes with Finite RatesResearch Paper

Motivation

Quantum low-density parity-check codes encode quantum information using sparse parity constraints. A standard way to construct them is to translate binary chain complexes into Calderbank--Shor--Steane codes and to combine complexes by tensor product. Homology identifies the logical operators of the resulting code, while the smallest Hamming weight of a nontrivial homology class controls one of its distances. Determining how this distance behaves under a tensor product is therefore a basic structural question, not merely a parameter calculation.

Weilei Zeng and Leonid P. Pryadko studied products in which one factor is an arbitrary finite binary chain complex and the other is the one-complex induced by a binary matrix. Their paper was published as “Higher-Dimensional Quantum Hypergraph-Product Codes with Finite Rates,” Physical Review Letters 122, 230501 (2019). Its main distance result is Eq. (13) in the arXiv version: for this particular tensor factor, the usual product upper bound is always exact. The result extends the familiar two-complex setting of quantum hypergraph-product codes to the local structure occurring in complexes of any dimension.

Setting

A based binary chain complex consists of finite-dimensional vector spaces AiA_iAi​ over F2\mathbb F_2F2​, each equipped with a specified coordinate basis, and linear boundary maps

⋯⟶Ai+1→∂i+1Ai→∂iAi−1⟶⋯\cdots\longrightarrow A_{i+1}\xrightarrow{\partial_{i+1}}A_i \xrightarrow{\partial_i}A_{i-1}\longrightarrow\cdots⋯⟶Ai+1​∂i+1​​Ai​∂i​​Ai−1​⟶⋯

such that ∂i∂i+1=0\partial_i\partial_{i+1}=0∂i​∂i+1​=0. Its degree-iii homology is Hi(A)=ker⁡∂i/im⁡∂i+1H_i(\mathcal A)=\ker\partial_i/\operatorname{im}\partial_{i+1}Hi​(A)=ker∂i​/im∂i+1​. The homological distance is measured in the chosen basis:

di(A)=min⁡{wt⁡(x):x∈ker⁡∂i∖im⁡∂i+1}.d_i(\mathcal A)= \min\{\operatorname{wt}(x):x\in\ker\partial_i\setminus \operatorname{im}\partial_{i+1}\}.di​(A)=min{wt(x):x∈ker∂i​∖im∂i+1​}.

Following the paper, the minimum of an empty set is ∞\infty∞. Thus di(A)=∞d_i(\mathcal A)=\inftydi​(A)=∞ when Hi(A)H_i(\mathcal A)Hi​(A) is trivial.

The endpoint convention is also the one stated explicitly after Eq. (1). For an mmm-complex, ∂0:A0→{0}\partial_0:A_0\to\{0\}∂0​:A0​→{0} is the zero 0×n00\times n_00×n0​ matrix and ∂m+1:{0}→Am\partial_{m+1}:\{0\}\to A_m∂m+1​:{0}→Am​ is the zero nm×0n_m\times0nm​×0 matrix. Consequently

d0(A)=min⁡{wt⁡(x):x∈A0∖im⁡∂1}d_0(\mathcal A)=\min\{\operatorname{wt}(x): x\in A_0\setminus\operatorname{im}\partial_1\}d0​(A)=min{wt(x):x∈A0​∖im∂1​}

and

dm(A)=min⁡{wt⁡(x):0≠x∈ker⁡∂m}.d_m(\mathcal A)=\min\{\operatorname{wt}(x): 0\ne x\in\ker\partial_m\}.dm​(A)=min{wt(x):0=x∈ker∂m​}.

For an r×cr\times cr×c binary matrix PPP, the one-complex K(P)\mathcal K(P)K(P) has F2c\mathbb F_2^cF2c​ in degree one, F2r\mathbb F_2^rF2r​ in degree zero, and boundary PPP. Its two distances are

d1(K(P))=min⁡{wt⁡(x):Px=0, x≠0}d_1(\mathcal K(P))= \min\{\operatorname{wt}(x):Px=0,\ x\ne0\}d1​(K(P))=min{wt(x):Px=0, x=0}

and

d0(K(P))=min⁡{wt⁡(y):y∉im⁡P}.d_0(\mathcal K(P))= \min\{\operatorname{wt}(y):y\notin\operatorname{im}P\}.d0​(K(P))=min{wt(y):y∈/imP}.

In particular, d0=1d_0=1d0​=1 unless PPP has full row rank, in which case d0=∞d_0=\inftyd0​=∞. The degree-jjj chain group of A×K(P)\mathcal A\times\mathcal K(P)A×K(P) is

(Aj⊗F2r)⊕(Aj−1⊗F2c),(A_j\otimes\mathbb F_2^r)\oplus (A_{j-1}\otimes\mathbb F_2^c),(Aj​⊗F2r​)⊕(Aj−1​⊗F2c​),

with the standard tensor-product boundary. Over F2\mathbb F_2F2​ the usual sign in that boundary has no effect.

Formalization targets

Tensor-product upper bound for arbitrary complexes

The first milestone is Eq. (11) for two arbitrary finite-length based binary chain complexes:

dj(A×B)≤min⁡idi(A)dj−i(B).d_j(\mathcal A\times\mathcal B)\le \min_i d_i(\mathcal A)d_{j-i}(\mathcal B).dj​(A×B)≤imin​di​(A)dj−i​(B).

Rank-sensitive lower bound

Let u=rank⁡Pu=\operatorname{rank}Pu=rankP and δ=d1(K(P))\delta=d_1(\mathcal K(P))δ=d1​(K(P)). The second milestone is Theorem 1, including both of its cases:

u<r⟹dj(A×K(P))≥min⁡ ⁣(dj(A),dj−1(A)δ),u<r\Longrightarrow d_j(\mathcal A\times\mathcal K(P))\ge \min\!\left(d_j(\mathcal A),d_{j-1}(\mathcal A)\delta\right),u<r⟹dj​(A×K(P))≥min(dj​(A),dj−1​(A)δ),

and

u=r⟹dj(A×K(P))≥dj−1(A)δ.u=r\Longrightarrow d_j(\mathcal A\times\mathcal K(P))\ge d_{j-1}(\mathcal A)\delta.u=r⟹dj​(A×K(P))≥dj−1​(A)δ.

Exact distance with a one-complex

The goal is Eq. (13):

dj(A×K(P))=min⁡ ⁣(dj−1(A)d1(K(P)),dj(A)d0(K(P))).d_j(\mathcal A\times\mathcal K(P))= \min\!\left( d_{j-1}(\mathcal A)d_1(\mathcal K(P)), d_j(\mathcal A)d_0(\mathcal K(P)) \right).dj​(A×K(P))=min(dj−1​(A)d1​(K(P)),dj​(A)d0​(K(P))).

No full-rank hypothesis is imposed on PPP.

Significance

The equality determines the product distance exactly from four component distances. General tensor-product arguments immediately provide the upper bound, but an exact formula requires ruling out lower-weight homology classes that mix the two direct-sum blocks. Once established, the formula can be applied repeatedly to tensor products of one-complexes, which is the step used in the paper to obtain higher-dimensional quantum hypergraph-product code families and to compute their distances.

For formalization, the mission contributes reusable definitions of finite based binary chain data, homological distance valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, the one-complex of a binary matrix, and the relevant tensor-product boundary maps. Mathlib contains Hamming weight and general homological-algebra infrastructure, while QECLean contains a closely related based length-three homological-code interface. Neither the selected Mathlib environment nor the inspected QECLean development currently supplies this rank-sensitive exact distance theorem.

Difficulty

The central issue is that Hamming weight depends on the chosen bases and is not preserved by arbitrary homological isomorphisms. A Künneth isomorphism describes the product homology and readily produces low-weight representatives, which is enough for the upper bound, but it does not by itself exclude a still lighter representative obtained by cancellation between the two tensor blocks. The lower bound must also remain valid at the endpoints of the complex and in singular cases where one or more homology groups vanish and the relevant distance is ∞\infty∞.

The theorem cannot be reduced to a dimension calculation. It must reason about supports and Hamming weights of based representatives while respecting the quotient by boundaries, and it must cover both rank⁡P<r\operatorname{rank}P<rrankP<r and rank⁡P=r\operatorname{rank}P=rrankP=r.

Formalization scope

The Lean development works over ZMod 2. A finite basis in degree iii is represented by Fin (dimension i), and a chain group is the function space from that coordinate type to ZMod 2. BasedBinaryChainComplex stores the dimension and boundary in every nonnegative degree, the chain condition, and a finite length above which all dimensions are zero. Thus the first milestone quantifies over genuinely arbitrary finite lengths for both A\mathcal AA and B\mathcal BB, rather than over a local window or a one-complex specialization. If the stored length is mmm, the zero-dimensional source in degree m+1m+1m+1 makes ∂m+1:{0}→Am\partial_{m+1}:\{0\}\to A_m∂m+1​:{0}→Am​ the unique zero map, just as the zero-dimensional target below degree zero makes ∂0:A0→{0}\partial_0:A_0\to\{0\}∂0​:A0​→{0} the unique zero map. Hence both singular endpoint cases in Eqs. (1) and (4) are represented directly.

Distances use WithTop ℕ. Their definitions are actual minima of Hamming weights of nontrivial representatives, with ⊤ produced by the empty-set case; infinite distance is not an extra hypothesis or a separately hard-coded branch. Coordinate types may be empty, which covers missing endpoint blocks. The binary matrix PPP is represented as a linear map between two finite based function spaces. Its row and column coordinate types need not be nonempty, and no injectivity or surjectivity assumption is added.

The degree-jjj product group is indexed by the disjoint union of all coordinate products Ai×Bj−iA_i\times B_{j-i}Ai​×Bj−i​ for 0≤i≤j0\le i\le j0≤i≤j. Consequently its Hamming norm is the sum of the weights of all tensor-degree blocks. The product boundary is the standard signed tensor boundary; its sign disappears over F2\mathbb F_2F2​. A formal proof verifies that every pair of consecutive product boundaries composes to zero; the cancellation of the two mixed terms uses characteristic two. Thus the product distance is taken from an actual chain complex, rather than from unrelated adjacent linear maps. A basis-free tensor product or an abstract homology group alone is insufficient for the target, because either would discard the weight data on which the statement depends. The mission does not formalize the asymptotic code-family construction later in the paper, the transposed cohomological distance, or the CSS-code parameter translation. Those are natural downstream missions; they should reuse rather than alter the present based-chain definitions.

Selected references

  • Weilei Zeng and Leonid P. Pryadko, “Higher-Dimensional Quantum Hypergraph-Product Codes with Finite Rates,” Physical Review Letters 122, 230501 (2019). arXiv:1810.01519.
  • Benjamin Audoux and Alain Couvreur, “On Tensor Products of CSS Codes,” arXiv:1512.07081 (2015), especially Proposition 1.13 and Corollary 2.14 as cited by Zeng--Pryadko.
  • Jean-Pierre Tillich and Gilles Zémor, “Quantum LDPC Codes With Positive Rate and Minimum Distance Proportional to the Square Root of the Blocklength,” IEEE Transactions on Information Theory 60 (2014), 1193--1202.
4 thms1 active userReviewed

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