Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

A matching threshold of 2×10⁻³ for the rotated surface code under circuit-level noise

Tejasvi Singh Tomar

Published Oct 19, 2026• 0 citations
Publisher

Abstract

We consider the rotated surface code, decoded by minimum-weight perfect matching, with its standard eight-step syndrome-extraction circuit, under circuit-level depolarizing noise in which every gate, idle step, preparation and measurement fails independently with probability p. For the two usual log-likelihood weights, computed from the first-order or from the exact edge probabilities, we prove a threshold of at least 2×10−3, and for all log-likelihood weights computed from a probability between q(1−q) and the first-order edge probability q, a threshold of at least 1.6×10−3. For p up to these values, the logical error rate per round of a memory experiment at odd distance d is at most an explicit bound that decays exponentially in d. The proof bounds the weighted paths that a decoding failure leaves in the decoding graph by a local criterion with memory for non-backtracking walks, after excluding short stretches that are incompatible with a minimum-weight correction chosen canonically in the proof; its computations are checked in exact arithmetic, and the results are also proved in the proof assistant Lean 4, with all computations checked by its kernel. Programs, certificates, formal proofs and the outputs of all checks: doi:10.5281/zenodo.23498518. Mathematics Subject Classification (2020): 81P73; 94B35, 05C38, 68V05.

DOI
10.5281/zenodo.23472225

Related papers

Optimal Circuit-Level Decoding for Surface Codes

Bettina Heim, Krysta M. Svore, Matthew B. Hastings

Surface codes exploit topological protection to increase error resilience in quantum computing devices and can in principle be implemented in existing hardware. They are one of the most promising candidates for active error correction, not least due to a polynomial-time decoding algorithm which admits one of the highest predicted error thresholds. We consider the dependence of this threshold on underlying assumptions including different noise models, and analyze the performance of a minimum weight perfect matching (MWPM) decoding compared to a mathematically optimal maximum likelihood (ML) decoding. Our ML algorithm tracks the success probabilities for all possible corrections over time and accounts for individual gate failure probabilities and error propagation due to the syndrome measurement circuit. We present the very first evidence for the true error threshold of an optimal circuit level decoder, allowing us to draw conclusions about what kind of improvements are possible over standard MWPM.

arXiv:1609.06373•Sep 20, 2016•30 citations

Certified lower bounds on the optimal-decoding threshold of the surface code

Tejasvi Singh Tomar

Under independent bit flips, rigorous lower bounds on the threshold of the surface code from earlier work stay below 0.04, while numerical estimates place the optimal threshold near 0.109. By counting labelled failure paths with exact transfer-matrix certificates, we prove without sampling that every minimum-weight decoder has threshold at least 0.0465 on the planar and rotated codes. We then give statistical certificates that, with confidence 1 − 10⁻⁹ each, the optimal threshold of the planar code is at least 0.103 under bit flips and at least 0.02 under phenomenological noise. Each statistical certificate bounds the failure probability of an auxiliary decoder that divides the code into blocks and corrects each block using a window around it; optimal decoding does at least as well, so the bound also holds for optimal decoding. A deterministic lemma shows that the auxiliary decoder fails only if bad blocks, in which the window corrections leave a defect or a long residual path, form a sparse hierarchy that joins the two rough boundaries. This gives an explicit bound once every block is bad with probability below a limit, about 4 × 10⁻⁴ under bit flips, and a pre-registered Monte Carlo experiment bounds these probabilities. The confidence rests on a binomial model of the counts of bad blocks and on two tested properties of each decoding program. All these results are proved in the proof assistant Lean 4, the statistical ones with the binomial model and the two properties as hypotheses. The data, programs and certificates behind the paper are in the record 10.5281/zenodo.24048007, and its Lean proofs in the record 10.5281/zenodo.24048008.

•Nov 5, 2026•0 citations

Representation Sensitivity in Rotated Surface-Code Decoding under Correlated Pauli Noise

Ba Thien Nguyen

Abstract We study decoder-representation sensitivity in simulated rotated surface-code Z-memory circuits with local spatially correlated XX pair events. At distance 3, ordinary minimum-weight perfect matching (MWPM) produced 4,610 versus 1,260 logical failures at p_corr = 10^-4 and 5,437 versus 2,239 at p_corr = 2 × 10^-4 on the same 500,000-shot samples using original-order versus canonical-sorted detector error models (DEMs). Across 50 additional seeded permutations per condition, failure counts varied widely. Canonical sorting tied for the minimum in this finite tested set; it is not claimed to be universally optimal. The ordering experiment reorders complete error instructions in a flattened DEM, preserving their probabilities and absolute detector and logical targets. PyMatching documents retaining the first-added logical-label set when parallel graph edges are merged; we therefore interpret the findings as a workflow-specific reproducibility result, not a newly discovered general software defect. At distances 5 and 7, correlation-aware MWPM had lower observed failure rates in all eight tested conditions, with six paired contrasts remaining significant after Bonferroni correction. An exact maximum-a-posteriori calculation gave a 0.2367% Bayes risk for the flattened-DEM distribution at p_corr = 10^-4; this is optimal for that modeled distribution only. This bounded classical simulation study proposes no new decoder, estimates no threshold, and provides no hardware evidence. Some historical source-to-result provenance remains incomplete, as disclosed in the manuscript. Code and evidence: https://github.com/tgiwn/QEC-surface-code-correlated-noise/tree/106d32e815c5f6009941afc36d3f65be7ecf35a3 Status: This is a preprint and has not undergone peer review.

•Oct 23, 2026•0 citations

Multi-path Summation for Decoding 2D Topological Codes

Ben Criger, Imran Ashraf

Fault tolerance is a prerequisite for scalable quantum computing. Architectures based on 2D topological codes are effective for near-term implementations of fault tolerance. To obtain high performance with these architectures, we require a decoder which can adapt to the wide variety of error models present in experiments. The typical approach to the problem of decoding the surface code is to reduce it to minimum-weight perfect matching in a way that provides a suboptimal threshold error rate, and is specialized to correct a specific error model. Recently, optimal threshold error rates for a variety of error models have been obtained by methods which do not use minimum-weight perfect matching, showing that such thresholds can be achieved in polynomial time. It is an open question whether these results can also be achieved by minimum-weight perfect matching. In this work, we use belief propagation and a novel algorithm for producing edge weights to increase the utility of minimum-weight perfect matching for decoding surface codes. This allows us to correct depolarizing errors using the rotated surface code, obtaining a threshold of 17.76 ± 0.02 % . This is larger than the threshold achieved by previous matching-based decoders ( 14.88 ± 0.02 % ), though still below the known upper bound of ∼ 18.9 % .

arXiv:1709.02154•Quantum•Oct 19, 2018•72 citations

Scaling Laws and Quasi-Thresholds in Surface Code Error Correction — E8 Intelligence Research

Andrew Stewart Caldin

FINDING: Surface code logical error rate scales exponentially with code distance, with a quasi-threshold defining the crossover where error correction becomes beneficial; stabilizer formalism provides the algebraic framework. MATH: For a surface code with distance \(d\), logical error rate \(p_L \approx C (p/p_{th})^{(d+1)/2}\), where \(p\) is physical error rate and \(p_{th}\) is the threshold (~1% for standard surface codes under circuit-level noise). Quasi-threshold \(p_q(d)\) satisfies \(p_L(p_q) = p_q\), giving \(p_q \approx p_{th} (1 - \text{const}/d)\). Stabilizer formalism: code space is joint \(+1\) eigenspace of \(n-k\) independent Pauli operators \(S_i\), with \(S_i^2 = I\), \([S_i,S_j]=0\). Logical operators \(L\) satisfy \([L,S_i]=0\), \(L \notin \langle S_i \rangle\). Decoding via minimum-weight perfect matching (MWPM) on the syndrome graph — a planar lattice with \(O(d^2)\) vertices. CONNECTION: The surface code is a topological code on a square lattice — a \(Z_2\) g Author: Andrew Stewart Caldin, Independent Researcher, UK. Part of the E8 Intelligence Research series. Platform: e8intelligence.com

•Sep 24, 2026•0 citations

Layer codes as quantum memories: syndrome extraction, thresholds and idle robustness

Zhu Sun, Zhenyu Cai

Layer codes are three-dimensional local CSS codes of check weight at most six, obtained by quasi-concatenating a CSS input code with unrotated surface code patches. What is established about them describes the code, not the circuit that measures it. In this work, we evaluate them as active memories under circuit-level noise. Doing so first requires a syndrome extraction circuit, and the junction stabilizers that couple the patches rule out borrowing a surface code patch's CNOT schedule. We present a decoder-free scheduler that constrains hook propagation first and compresses depth afterwards, generate circuits for eighteen layer codes across four input codes, and compare them with surface codes of the same distance, simulated and decoded in the same way. The circuits lose no distance to hook errors on [[4,2,2]]-input codes wherever a circuit-distance proof is affordable, and reach a lower logical error rate than those of a general-purpose scheduler for CSS codes at roughly half its CNOT depth per round. Our primary family built from a [[4,2,2]] input code reaches a circuit-level threshold of $5.06(7)\times10^{-3}$. The layer code outperforms the surface code in terms of idle robustness: at the same distance it tolerates an interval between syndrome extraction rounds 1.7-3.0 times longer than the rotated surface code. This comes at the cost of 1.7-5.0 times more operations per unit time and approximately five times more physical qubits, both per logical qubit. Finally, we model the cost of the beyond-2D cross-plane CNOTs that the construction demands, and find that their speed matters far more than their fidelity.

quant-pharXiv:2609.39522•Oct 1, 2026•1 citation
We consider the rotated surface code, decoded by minimum-weight perfect matching, with its standard eight-step syndrome-extraction circuit, under circuit-level depolarizing noise in which every gate, idle step, preparation and measurement fails independently with probability p. For the two usual log-likelihood weights, computed from the first-order or from the exact edge probabilities, we prove a threshold of at least 2×10−3, and for all log-likelihood weights computed from a probability between q(1−q) and the first-order edge probability q, a threshold of at least 1.6×10−3. For p up to these values, the logical error rate per round of a memory experiment at odd distance d is at most an explicit bound that decays exponentially in d. The proof bounds the weighted paths that a decoding failure leaves in the decoding graph by a local criterion with memory for non-backtracking walks, after excluding short stretches that are incompatible with a minimum-weight correction chosen canonically in the proof; its computations are checked in exact arithmetic, and the results are also proved in the proof assistant Lean 4, with all computations checked by its kernel. Programs, certificates, formal proofs and the outputs of all checks: doi:10.5281/zenodo.23498518. Mathematics Subject Classification (2020): 81P73; 94B35, 05C38, 68V05.
Surface codes exploit topological protection to increase error resilience in quantum computing devices and can in principle be implemented in existing hardware. They are one of the most promising candidates for active error correction, not least due to a polynomial-time decoding algorithm which admits one of the highest predicted error thresholds. We consider the dependence of this threshold on underlying assumptions including different noise models, and analyze the performance of a minimum weight perfect matching (MWPM) decoding compared to a mathematically optimal maximum likelihood (ML) decoding. Our ML algorithm tracks the success probabilities for all possible corrections over time and accounts for individual gate failure probabilities and error propagation due to the syndrome measurement circuit. We present the very first evidence for the true error threshold of an optimal circuit level decoder, allowing us to draw conclusions about what kind of improvements are possible over standard MWPM.
Under independent bit flips, rigorous lower bounds on the threshold of the surface code from earlier work stay below 0.04, while numerical estimates place the optimal threshold near 0.109. By counting labelled failure paths with exact transfer-matrix certificates, we prove without sampling that every minimum-weight decoder has threshold at least 0.0465 on the planar and rotated codes. We then give statistical certificates that, with confidence 1 − 10⁻⁹ each, the optimal threshold of the planar code is at least 0.103 under bit flips and at least 0.02 under phenomenological noise. Each statistical certificate bounds the failure probability of an auxiliary decoder that divides the code into blocks and corrects each block using a window around it; optimal decoding does at least as well, so the bound also holds for optimal decoding. A deterministic lemma shows that the auxiliary decoder fails only if bad blocks, in which the window corrections leave a defect or a long residual path, form a sparse hierarchy that joins the two rough boundaries. This gives an explicit bound once every block is bad with probability below a limit, about 4 × 10⁻⁴ under bit flips, and a pre-registered Monte Carlo experiment bounds these probabilities. The confidence rests on a binomial model of the counts of bad blocks and on two tested properties of each decoding program. All these results are proved in the proof assistant Lean 4, the statistical ones with the binomial model and the two properties as hypotheses. The data, programs and certificates behind the paper are in the record 10.5281/zenodo.24048007, and its Lean proofs in the record 10.5281/zenodo.24048008.
Abstract We study decoder-representation sensitivity in simulated rotated surface-code Z-memory circuits with local spatially correlated XX pair events. At distance 3, ordinary minimum-weight perfect matching (MWPM) produced 4,610 versus 1,260 logical failures at p_corr = 10^-4 and 5,437 versus 2,239 at p_corr = 2 × 10^-4 on the same 500,000-shot samples using original-order versus canonical-sorted detector error models (DEMs). Across 50 additional seeded permutations per condition, failure counts varied widely. Canonical sorting tied for the minimum in this finite tested set; it is not claimed to be universally optimal. The ordering experiment reorders complete error instructions in a flattened DEM, preserving their probabilities and absolute detector and logical targets. PyMatching documents retaining the first-added logical-label set when parallel graph edges are merged; we therefore interpret the findings as a workflow-specific reproducibility result, not a newly discovered general software defect. At distances 5 and 7, correlation-aware MWPM had lower observed failure rates in all eight tested conditions, with six paired contrasts remaining significant after Bonferroni correction. An exact maximum-a-posteriori calculation gave a 0.2367% Bayes risk for the flattened-DEM distribution at p_corr = 10^-4; this is optimal for that modeled distribution only. This bounded classical simulation study proposes no new decoder, estimates no threshold, and provides no hardware evidence. Some historical source-to-result provenance remains incomplete, as disclosed in the manuscript. Code and evidence: https://github.com/tgiwn/QEC-surface-code-correlated-noise/tree/106d32e815c5f6009941afc36d3f65be7ecf35a3 Status: This is a preprint and has not undergone peer review.
Fault tolerance is a prerequisite for scalable quantum computing. Architectures based on 2D topological codes are effective for near-term implementations of fault tolerance. To obtain high performance with these architectures, we require a decoder which can adapt to the wide variety of error models present in experiments. The typical approach to the problem of decoding the surface code is to reduce it to minimum-weight perfect matching in a way that provides a suboptimal threshold error rate, and is specialized to correct a specific error model. Recently, optimal threshold error rates for a variety of error models have been obtained by methods which do not use minimum-weight perfect matching, showing that such thresholds can be achieved in polynomial time. It is an open question whether these results can also be achieved by minimum-weight perfect matching. In this work, we use belief propagation and a novel algorithm for producing edge weights to increase the utility of minimum-weight perfect matching for decoding surface codes. This allows us to correct depolarizing errors using the rotated surface code, obtaining a threshold of 17.76 ± 0.02 % . This is larger than the threshold achieved by previous matching-based decoders ( 14.88 ± 0.02 % ), though still below the known upper bound of ∼ 18.9 % .
FINDING: Surface code logical error rate scales exponentially with code distance, with a quasi-threshold defining the crossover where error correction becomes beneficial; stabilizer formalism provides the algebraic framework. MATH: For a surface code with distance ddd, logical error rate pL≈C(p/pth)(d+1)/2p_L \approx C (p/p_{th})^{(d+1)/2}pL​≈C(p/pth​)(d+1)/2, where ppp is physical error rate and pthp_{th}pth​ is the threshold (~1% for standard surface codes under circuit-level noise). Quasi-threshold pq(d)p_q(d)pq​(d) satisfies pL(pq)=pqp_L(p_q) = p_qpL​(pq​)=pq​, giving pq≈pth(1−const/d)p_q \approx p_{th} (1 - \text{const}/d)pq​≈pth​(1−const/d). Stabilizer formalism: code space is joint +1+1+1 eigenspace of n−kn-kn−k independent Pauli operators SiS_iSi​, with Si2=IS_i^2 = ISi2​=I, [Si,Sj]=0[S_i,S_j]=0[Si​,Sj​]=0. Logical operators LLL satisfy [L,Si]=0[L,S_i]=0[L,Si​]=0, L∉⟨Si⟩L \notin \langle S_i \rangleL∈/⟨Si​⟩. Decoding via minimum-weight perfect matching (MWPM) on the syndrome graph — a planar lattice with O(d2)O(d^2)O(d2) vertices. CONNECTION: The surface code is a topological code on a square lattice — a Z2Z_2Z2​ g Author: Andrew Stewart Caldin, Independent Researcher, UK. Part of the E8 Intelligence Research series. Platform: e8intelligence.com
Layer codes are three-dimensional local CSS codes of check weight at most six, obtained by quasi-concatenating a CSS input code with unrotated surface code patches. What is established about them describes the code, not the circuit that measures it. In this work, we evaluate them as active memories under circuit-level noise. Doing so first requires a syndrome extraction circuit, and the junction stabilizers that couple the patches rule out borrowing a surface code patch's CNOT schedule. We present a decoder-free scheduler that constrains hook propagation first and compresses depth afterwards, generate circuits for eighteen layer codes across four input codes, and compare them with surface codes of the same distance, simulated and decoded in the same way. The circuits lose no distance to hook errors on [[4,2,2]]-input codes wherever a circuit-distance proof is affordable, and reach a lower logical error rate than those of a general-purpose scheduler for CSS codes at roughly half its CNOT depth per round. Our primary family built from a [[4,2,2]] input code reaches a circuit-level threshold of 5.06(7)×10−35.06(7)\times10^{-3}5.06(7)×10−3. The layer code outperforms the surface code in terms of idle robustness: at the same distance it tolerates an interval between syndrome extraction rounds 1.7-3.0 times longer than the rotated surface code. This comes at the cost of 1.7-5.0 times more operations per unit time and approximately five times more physical qubits, both per logical qubit. Finally, we model the cost of the beyond-2D cross-plane CNOTs that the construction demands, and find that their speed matters far more than their fidelity.