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

Cambridge University Press eBooks

Quantum error correction with the surface code

Alexander M. Dalzell, Sam McArdle, Mario Berta, Przemyslaw Bienias, Chi-Fang Chen, András Gilyén, Connor T. Hann, Michael J. Kastoryano, Emil T. Khabiboulline, Aleksander Kubica, Grant Salton, Samson Wang, Fernando G. S. L. Brandão

Published Apr 24, 2025• 0 citations
Publisher

Abstract

This chapter provides an overview of how to perform quantum error correction using the surface code, which is the most well-studied quantum error correcting code for practical quantum computation. We provide formulas for the code distance—which determines the resource overhead when using the surface code—as a function of the desired logical error rate and underlying physical error rate. We discuss several decoders for the surface code and the possibility of experiencing the backlog problem if the decoder is too slow.

DOI
10.1017/9781009639651.030

Related papers

Quantum error correction below the surface code threshold

Google Quantum AI and Collaborators, Rajeev Acharya, Dmitry A. Abanin +97 more

Quantum error correction [1, 2, 3, 4] provides a path to reach practical quantum computing by combining multiple physical qubits into a logical qubit, where the logical error rate is suppressed exponentially as more qubits are added. However, this exponential suppression only occurs if the physical error rate is below a critical threshold. Here, we present two below-threshold surface code memories on our newest generation of superconducting processors, Willow: a distance-7 code, and a distance-5 code integrated with a real-time decoder. The logical error rate of our larger quantum memory is suppressed by a factor of $$\varLambda \mathrm{=2.14}\pm 0.02$$ when increasing the code distance by two, culminating in a 101-qubit distance-7 code with 0.143% ± 0.003% error per cycle of error correction. This logical memory is also beyond break-even, exceeding its best physical qubit’s lifetime by a factor of $$2.4\pm 0.3$$ . Our system maintains below-threshold performance when decoding in real time, achieving an average decoder latency of 63 μs at distance-5 up to a million cycles, with a cycle time of 1.1 μs. We also run repetition codes up to distance-29 and find that logical performance is limited by rare correlated error events occurring approximately once every hour, or $$3$$ $$\times $$ $${10}^{9}$$ cycles. Our results present device performance that, if scaled, could realize the operational requirements of large scale fault-tolerant quantum algorithms.

arXiv:2408.13687•Nature•Dec 9, 2024•1,314 citations

The Energy Budget of Quantum Error Correction: Power and Energy per Logical Qubit for a Surface-Code Architecture

William Alexander Aldred

Model calculation (SIMULATED, NOT MEASURED) of the energy budget of quantum error correction for a rotated surface-code architecture. At a physical error rate of 0.001 per operation, reaching a logical error probability of 1e-12 per syndrome cycle requires code distance 27 and 1457 physical qubits per logical qubit. Combining the cryogenic load, evaluated with the refrigerator coefficient-of-performance penalty at 4 K and at 15 mK, with room-temperature control and decoding power gives 3.94 W per physical qubit, 5741 W per logical qubit, and 0.155 J per logical operation at a 1 microsecond syndrome cycle time. This is an overhead of about 7.7e9 relative to a practical classical operation at 20 pJ. Room-temperature control and decoding dominate the budget. All numbers are produced by the deposited computation script.

•Nov 10, 2026•0 citations

Closed form logical error rate approximations for surface codes

Shaked Regev, Daniel Dilley, Ryan Bennink

We propose a novel method to calculate logical error rates in surface codes, assuming independent and identically distributed physical errors. These results fit well known scaling laws for studied physical error rates and code distances, but break down in some other regimes. Increasing the code distance still reduces logical error rates, but returns diminish quickly beyond a certain point. We show how to use our method to analyze hypothetical quantum computers with various configurations and select designs with lower error rates. Currently, this requires expensive classical simulations of quantum decoders for various distances and physical error rates or inaccurate extrapolation from minimal experimental data. Instead, we use the symmetry of the problem to count the configurations that result in a logical error with our novel software. Given a physical error rate, we can deduce the probability of a logical error to provably good accuracy quickly. We include an analysis of measurement errors to allow for a more complete comparison of different surface code implementations. We extend this counting method to a particular locally-correlated error model and another globally-correlated error model.

quant-pharXiv:2605.03054•May 6, 2026•1 citation

Decoding Quantum Error Correction Codes With Local Variation

Michael Hanks, William J. Munro, Kae Nemoto

In this article, we investigate the role of local information in the decoding of the repetition and surface error correction codes for the protection of quantum states. Our key result is an improvement in resource efficiency when local information is taken into account during the decoding process: the code distance associated with a given logical error rate is reduced with a magnitude depending on the proximity of the physical error rate to the accuracy threshold of the code. We also briefly discuss an averaged approach with local information for table lookup and localized decoding schemes, an expected breakdown of these effects for large-scale systems, and the importance of this resource reduction in the near term.

arXiv:1912.09635•IEEE Transactions on Quantum Engineering•Jan 1, 2020•2 citations

Disparity Surface Code: Optimizing Error Correction in Quantum Networks

Tianjie Hu, Jindi Wu, Qun Li

Practical quantum computing requires error rates much lower than those achievable with physical qubits. Surface codes provide a reliable method to implement logical qubits using physical qubits. However, when these physical qubits are transmitted within quantum networks, their error rates can vary due to differences in the routing paths. Our experimental results indicate that the geometric arrangement of these physical qubits within a surface code significantly impacts its logical error rate. In this paper, we address this issue by proposing disparity surface codes, which are a group of geometric configurations for surface codes that adapt them for transmission within quantum networks. For a distance-$d$disparity surface code, only$d$physical qubits need to be transmitted with low error rates, and we identify multiple equivalent choices for selecting these$d$qubits. Additionally, we propose Di-MWPM, a new decoder designed to exploit physical error rate disparity for enhanced error correction. Results demonstrate that disparity surface codes maintain favorable performance in different network scenarios, even under high noise conditions. Our Di-MWPM decoder achieves improved Pauli-error thresholds.

IEEE International Conference on Quantum Computing and Engineering (QCE)•Aug 30, 2025•1 citation

Real-time decoding of quantum error correction codes using high-performance computing

Lingling Lao, Qiang Wang, Yuanqi Liu +10 more

Quantum error correction (QEC) is indispensable for building scalable fault-tolerant quantum computers. Effective QEC demands stringent real-time decoding: the decoder must process syndrome measurements and determine corrections within a time scale--typically on the order of microseconds, to avoid data backlog. Scaling to large number of logical qubits further necessitates significant computational resources. In this work, we propose an architecture, called \emph{THQLink}, for real-time decoding of quantum error correction codes using high-performance computing (HPC) resources. The network connecting the HPC and the control system of quantum processing unit (QPU) is built on TH-Express and can be adapted to different quantum technologies and their associated control stacks. We report a round-trip latency of 2.944 $μ$s on average, with an incremental overhead of 130 ns per additional hop. Using a parallel window strategy, we demonstrate real-time decoding (1 $μ$s per QEC round) of the surface code up to distance 19 using a matching-based decoder on CPUs. Our work presents a scalable framework for real-time decoding in fault-tolerant quantum computing. It can be readily applied to quantum-centric supercomputers that feature tight integration between QPU and HPC resources, thereby enabling efficient support for hybrid quantum-classical algorithms and computation-intensive workloads offloaded from the QPU.

quant-pharXiv:2608.03948•Aug 5, 2026•2 citations
This chapter provides an overview of how to perform quantum error correction using the surface code, which is the most well-studied quantum error correcting code for practical quantum computation. We provide formulas for the code distance—which determines the resource overhead when using the surface code—as a function of the desired logical error rate and underlying physical error rate. We discuss several decoders for the surface code and the possibility of experiencing the backlog problem if the decoder is too slow.
Quantum error correction [1, 2, 3, 4] provides a path to reach practical quantum computing by combining multiple physical qubits into a logical qubit, where the logical error rate is suppressed exponentially as more qubits are added. However, this exponential suppression only occurs if the physical error rate is below a critical threshold. Here, we present two below-threshold surface code memories on our newest generation of superconducting processors, Willow: a distance-7 code, and a distance-5 code integrated with a real-time decoder. The logical error rate of our larger quantum memory is suppressed by a factor of Λ=2.14±0.02\varLambda \mathrm{=2.14}\pm 0.02Λ=2.14±0.02 when increasing the code distance by two, culminating in a 101-qubit distance-7 code with 0.143% ± 0.003% error per cycle of error correction. This logical memory is also beyond break-even, exceeding its best physical qubit’s lifetime by a factor of 2.4±0.32.4\pm 0.32.4±0.3 . Our system maintains below-threshold performance when decoding in real time, achieving an average decoder latency of 63 μs at distance-5 up to a million cycles, with a cycle time of 1.1 μs. We also run repetition codes up to distance-29 and find that logical performance is limited by rare correlated error events occurring approximately once every hour, or 333 ×\times × 109{10}^{9}109 cycles. Our results present device performance that, if scaled, could realize the operational requirements of large scale fault-tolerant quantum algorithms.
Model calculation (SIMULATED, NOT MEASURED) of the energy budget of quantum error correction for a rotated surface-code architecture. At a physical error rate of 0.001 per operation, reaching a logical error probability of 1e-12 per syndrome cycle requires code distance 27 and 1457 physical qubits per logical qubit. Combining the cryogenic load, evaluated with the refrigerator coefficient-of-performance penalty at 4 K and at 15 mK, with room-temperature control and decoding power gives 3.94 W per physical qubit, 5741 W per logical qubit, and 0.155 J per logical operation at a 1 microsecond syndrome cycle time. This is an overhead of about 7.7e9 relative to a practical classical operation at 20 pJ. Room-temperature control and decoding dominate the budget. All numbers are produced by the deposited computation script.
We propose a novel method to calculate logical error rates in surface codes, assuming independent and identically distributed physical errors. These results fit well known scaling laws for studied physical error rates and code distances, but break down in some other regimes. Increasing the code distance still reduces logical error rates, but returns diminish quickly beyond a certain point. We show how to use our method to analyze hypothetical quantum computers with various configurations and select designs with lower error rates. Currently, this requires expensive classical simulations of quantum decoders for various distances and physical error rates or inaccurate extrapolation from minimal experimental data. Instead, we use the symmetry of the problem to count the configurations that result in a logical error with our novel software. Given a physical error rate, we can deduce the probability of a logical error to provably good accuracy quickly. We include an analysis of measurement errors to allow for a more complete comparison of different surface code implementations. We extend this counting method to a particular locally-correlated error model and another globally-correlated error model.
In this article, we investigate the role of local information in the decoding of the repetition and surface error correction codes for the protection of quantum states. Our key result is an improvement in resource efficiency when local information is taken into account during the decoding process: the code distance associated with a given logical error rate is reduced with a magnitude depending on the proximity of the physical error rate to the accuracy threshold of the code. We also briefly discuss an averaged approach with local information for table lookup and localized decoding schemes, an expected breakdown of these effects for large-scale systems, and the importance of this resource reduction in the near term.
Practical quantum computing requires error rates much lower than those achievable with physical qubits. Surface codes provide a reliable method to implement logical qubits using physical qubits. However, when these physical qubits are transmitted within quantum networks, their error rates can vary due to differences in the routing paths. Our experimental results indicate that the geometric arrangement of these physical qubits within a surface code significantly impacts its logical error rate. In this paper, we address this issue by proposing disparity surface codes, which are a group of geometric configurations for surface codes that adapt them for transmission within quantum networks. For a distance-ddddisparity surface code, onlydddphysical qubits need to be transmitted with low error rates, and we identify multiple equivalent choices for selecting thesedddqubits. Additionally, we propose Di-MWPM, a new decoder designed to exploit physical error rate disparity for enhanced error correction. Results demonstrate that disparity surface codes maintain favorable performance in different network scenarios, even under high noise conditions. Our Di-MWPM decoder achieves improved Pauli-error thresholds.
Quantum error correction (QEC) is indispensable for building scalable fault-tolerant quantum computers. Effective QEC demands stringent real-time decoding: the decoder must process syndrome measurements and determine corrections within a time scale--typically on the order of microseconds, to avoid data backlog. Scaling to large number of logical qubits further necessitates significant computational resources. In this work, we propose an architecture, called \emph{THQLink}, for real-time decoding of quantum error correction codes using high-performance computing (HPC) resources. The network connecting the HPC and the control system of quantum processing unit (QPU) is built on TH-Express and can be adapted to different quantum technologies and their associated control stacks. We report a round-trip latency of 2.944 μμμs on average, with an incremental overhead of 130 ns per additional hop. Using a parallel window strategy, we demonstrate real-time decoding (1 μμμs per QEC round) of the surface code up to distance 19 using a matching-based decoder on CPUs. Our work presents a scalable framework for real-time decoding in fault-tolerant quantum computing. It can be readily applied to quantum-centric supercomputers that feature tight integration between QPU and HPC resources, thereby enabling efficient support for hybrid quantum-classical algorithms and computation-intensive workloads offloaded from the QPU.