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

arXiv:1809.01193 · Physical Review X

2D Compass Codes

Muyuan Li, Daniel Miller, Michael Newman, Yukai Wu, Kenneth R. Brown

Published May 29, 2019• 58 citations
arXivHTMLPDF

Abstract

The compass model on a square lattice provides a natural template for building subsystem stabilizer codes.The surface code and the Bacon-Shor code represent two extremes of possible codes depending on how many gauge qubits are fixed.We explore threshold behavior in this broad class of local codes by trading locality for asymmetry and gauge degrees of freedom for stabilizer syndrome information.We analyze these codes with asymmetric and spatially inhomogeneous Pauli noise in the code capacity and phenomenological models.In these idealized settings, we observe considerably higher thresholds against asymmetric noise.At the circuit level, these codes inherit the bare-ancilla fault tolerance of the Bacon-Shor code.

DOI
10.1103/physrevx.9.021041

Related papers

Fault-tolerant compass codes

Shilin Huang, Kenneth R. Brown

We study a class of gauge fixings of the Bacon-Shor code at the circuit level, which includes a subfamily of generalized surface codes. We show that for these codes, fault tolerance can be achieved by direct measurements of the stabilizers. By simulating our fault-tolerant scheme under biased noise, we show the possibility of optimizing the performance of the surface code by stretching the bulk stabilizer geometry. To decode the syndrome efficiently and accurately, we generalize the union-find decoder to biased noise models. Our decoder obtains a $0.83%$ threshold value for the surface code in quadratic time complexity.

arXiv:1911.11317•Physical Review A•Apr 9, 2020•16 citations

Direct measurement of Bacon-Shor code stabilizers

Muyuan Li, Daniel Miller, Kenneth R. Brown

A Bacon-Shor code is a subsystem quantum error-correcting code on an $L\ifmmode\times\else\texttimes\fi{}L$ lattice where the $2(L\ensuremath{-}1)$ weight-$2L$ stabilizers are usually inferred from the measurements of $2L(L\ensuremath{-}1)$ weight-2 gauge operators. Here, we show that the stabilizers can be measured directly and fault tolerantly with bare ancillary qubits by constructing circuits that follow the pattern of gauge operators. We then examine the implications of this method for small quantum error-correcting codes by comparing distance-3 versions of the rotated surface code and the Bacon-Shor code with the standard depolarizing model and in the context of a trapped-ion quantum computer. We find that for a simple circuit of prepare, error correct, and measure, the Bacon-Shor code outperforms the surface code by requiring fewer qubits, taking less time, and having a lower error rate.

arXiv:1804.01127•Physical Review A•Nov 6, 2018•27 citations

Subsystem codes with spatially local generators

Sergey B. Bravyi

We study subsystem codes whose gauge group has local generators in two-dimensional (2D) geometry. It is shown that there exists a family of such codes defined on lattices of size $L\ifmmode\times\else\texttimes\fi{}L$ with the number of logical qubits $k$ and the minimum distance $d$ both proportional to $L$. The gauge group of these codes involves only two-qubit generators of type $\mathit{XX}$ and $\mathit{ZZ}$ coupling nearest-neighbor qubits (and some auxiliary one-qubit generators). Our proof is not constructive as it relies on a certain version of the Gilbert-Varshamov bound for classical codes. Along the way, we introduce and study properties of generalized Bacon-Shor codes that might be of independent interest. Secondly, we prove that any 2D subsystem $[n,k,d]$ code with spatially local generators obeys upper bounds $\mathit{kd}=O(n)$ and ${d}^{2}=O(n)$. The analogous upper bound proved recently for 2D stabilizer codes is ${\mathit{kd}}^{2}=O(n)$. Our results thus demonstrate that subsystem codes can be more powerful than stabilizer codes under the spatial locality constraint.

arXiv:1008.1029•Physical Review A•Jan 26, 2011•54 citations

Threshold Behavior of ZX and ZY Surface Codes Under Circuit-Level Biased and Crosstalk Noise

Pritesh Thakur, Jean-François Van Huele

Studying the threshold behavior of surface codes under biased noise models is an active area of research. Previous work Tuckett et al. (2018), using an optimal tensor-network decoder, demonstrated that replacing $Z$-type stabilizers with $Y$-type stabilizers significantly improves the surface code threshold under code-capacity level dephasing noise. In this work, we construct and study a $ZY$ surface code by replacing the $X$-type stabilizers with $Y$-type stabilizers. We compare it with the standard $ZX$ surface code under circuit-level Pauli-$X$ biased noise, with and without an additional gate-based $XX$ crosstalk noise. We find that for the $ZX$ surface code, the $X$-memory threshold increases monotonically with bias while the $Z$-memory threshold decreases and saturates. For the $ZY$ surface code, the $Y$-memory threshold is nearly constant across all bias values. The $Z$-memory thresholds of the $ZX$ and $ZY$ codes are consistent within the uncertainty. Adding $XX$ crosstalk reduces the $Z$-memory threshold beyond the fitting uncertainty while leaving the $X$ memory threshold largely unaffected. The choice of CNOT ordering redistributes threshold performance between the two logical memories. Our work extends prior observations from code-capacity level noise to circuit-level noise. It also indicates the need for decoders capable of jointly reasoning over correlated syndrome information so that tailored stabilizer structures could be fully utilized for quantum error correction.

quant-pharXiv:2609.10876•Sep 11, 2026•0 citations

Logical coherence in 2D compass codes

Bálint Pató, J. Wilson Staples, Kenneth R. Brown

2D compass codes are a family of quantum error-correcting codes that contain the Bacon-Shor codes, the $X$-Shor and $Z$-Shor codes, and the rotated surface codes. Previous numerical results suggest that the surface code has a constant accuracy and coherence threshold under uniform coherent rotation. However, having analytical proof supporting a constant threshold is still an open problem. It is analytically proven that the toric code can exponentially suppress logical coherence in the code distance $L$. However, the current analytical lower bound on the threshold for the rotation angle $θ$ is $|\sin(θ)| < 1/L$, which linearly vanishes in $L$ instead of being constant. We show that this lower bound is achievable by the $Z$-Shor code which does not have a threshold under stochastic noise. Compass codes provide a promising direction to improve on the previous bounds. We analytically determine thresholds for two new compass code families that provide upper and lower bounds to the rotated surface code's numerically established infidelity threshold. Furthermore, using a Majorana mode-based simulator, we use random families of compass codes to smoothly interpolate between the $Z$-Shor codes and the $X$-Shor codes.

arXiv:2405.09287•May 15, 2024•1 citation

Towards Demonstrating Fault Tolerance in Small Circuits Using Bacon-Shor Codes

Ariel Shlosberg, Anthony Polloreno, Graeme Smith

Quantum error correction is necessary to perform large-scale quantum computations in the presence of noise and decoherence. As a result, several aspects of quantum error correction have already been explored. These have been primarily studies of quantum memory[1, 2], an important first step towards quantum computation, where the objective is to increase the lifetime of the encoded quantum information. Additionally, several works have explored the implementation of logical gates[3-5]. In this work we study a next step - fault-tolerantly implementing quantum circuits. We choose the $[[4, 1, 2]]$ Bacon-Shor subsystem code, which has a particularly simple error-detection circuit. Through both numerics and site-counting arguments, we compute pseudo-thresholds for the Pauli error rate $p$ in a depolarizing noise model, below which the encoded circuits outperform the unencoded circuits. These pseudo-threshold values are shown to be as high as $p=3\%$ for short circuits, and $p=0.6\%$ for circuits of moderate depth. Additionally, we see that multiple rounds of stabilizer measurements give an improvement over performing a single round at the end. This provides a concrete suggestion for a small-scale fault-tolerant demonstration of a quantum algorithm that could be accessible with existing hardware.

arXiv:2108.02079•Aug 4, 2021•0 citations
The compass model on a square lattice provides a natural template for building subsystem stabilizer codes.The surface code and the Bacon-Shor code represent two extremes of possible codes depending on how many gauge qubits are fixed.We explore threshold behavior in this broad class of local codes by trading locality for asymmetry and gauge degrees of freedom for stabilizer syndrome information.We analyze these codes with asymmetric and spatially inhomogeneous Pauli noise in the code capacity and phenomenological models.In these idealized settings, we observe considerably higher thresholds against asymmetric noise.At the circuit level, these codes inherit the bare-ancilla fault tolerance of the Bacon-Shor code.
We study a class of gauge fixings of the Bacon-Shor code at the circuit level, which includes a subfamily of generalized surface codes. We show that for these codes, fault tolerance can be achieved by direct measurements of the stabilizers. By simulating our fault-tolerant scheme under biased noise, we show the possibility of optimizing the performance of the surface code by stretching the bulk stabilizer geometry. To decode the syndrome efficiently and accurately, we generalize the union-find decoder to biased noise models. Our decoder obtains a 0.830.83%0.83 threshold value for the surface code in quadratic time complexity.
A Bacon-Shor code is a subsystem quantum error-correcting code on an $L\ifmmode\times\else\texttimes\fi{}L$ lattice where the $2(L\ensuremath{-}1)$ weight-2L2L2L stabilizers are usually inferred from the measurements of $2L(L\ensuremath{-}1)$ weight-2 gauge operators. Here, we show that the stabilizers can be measured directly and fault tolerantly with bare ancillary qubits by constructing circuits that follow the pattern of gauge operators. We then examine the implications of this method for small quantum error-correcting codes by comparing distance-3 versions of the rotated surface code and the Bacon-Shor code with the standard depolarizing model and in the context of a trapped-ion quantum computer. We find that for a simple circuit of prepare, error correct, and measure, the Bacon-Shor code outperforms the surface code by requiring fewer qubits, taking less time, and having a lower error rate.
We study subsystem codes whose gauge group has local generators in two-dimensional (2D) geometry. It is shown that there exists a family of such codes defined on lattices of size $L\ifmmode\times\else\texttimes\fi{}L$ with the number of logical qubits kkk and the minimum distance ddd both proportional to LLL. The gauge group of these codes involves only two-qubit generators of type XX\mathit{XX}XX and ZZ\mathit{ZZ}ZZ coupling nearest-neighbor qubits (and some auxiliary one-qubit generators). Our proof is not constructive as it relies on a certain version of the Gilbert-Varshamov bound for classical codes. Along the way, we introduce and study properties of generalized Bacon-Shor codes that might be of independent interest. Secondly, we prove that any 2D subsystem [n,k,d][n,k,d][n,k,d] code with spatially local generators obeys upper bounds kd=O(n)\mathit{kd}=O(n)kd=O(n) and d2=O(n){d}^{2}=O(n)d2=O(n). The analogous upper bound proved recently for 2D stabilizer codes is kd2=O(n){\mathit{kd}}^{2}=O(n)kd2=O(n). Our results thus demonstrate that subsystem codes can be more powerful than stabilizer codes under the spatial locality constraint.
Studying the threshold behavior of surface codes under biased noise models is an active area of research. Previous work Tuckett et al. (2018), using an optimal tensor-network decoder, demonstrated that replacing ZZZ-type stabilizers with YYY-type stabilizers significantly improves the surface code threshold under code-capacity level dephasing noise. In this work, we construct and study a ZYZYZY surface code by replacing the XXX-type stabilizers with YYY-type stabilizers. We compare it with the standard ZXZXZX surface code under circuit-level Pauli-XXX biased noise, with and without an additional gate-based XXXXXX crosstalk noise. We find that for the ZXZXZX surface code, the XXX-memory threshold increases monotonically with bias while the ZZZ-memory threshold decreases and saturates. For the ZYZYZY surface code, the YYY-memory threshold is nearly constant across all bias values. The ZZZ-memory thresholds of the ZXZXZX and ZYZYZY codes are consistent within the uncertainty. Adding XXXXXX crosstalk reduces the ZZZ-memory threshold beyond the fitting uncertainty while leaving the XXX memory threshold largely unaffected. The choice of CNOT ordering redistributes threshold performance between the two logical memories. Our work extends prior observations from code-capacity level noise to circuit-level noise. It also indicates the need for decoders capable of jointly reasoning over correlated syndrome information so that tailored stabilizer structures could be fully utilized for quantum error correction.
2D compass codes are a family of quantum error-correcting codes that contain the Bacon-Shor codes, the XXX-Shor and ZZZ-Shor codes, and the rotated surface codes. Previous numerical results suggest that the surface code has a constant accuracy and coherence threshold under uniform coherent rotation. However, having analytical proof supporting a constant threshold is still an open problem. It is analytically proven that the toric code can exponentially suppress logical coherence in the code distance LLL. However, the current analytical lower bound on the threshold for the rotation angle θθθ is ∣sin⁡(θ)∣<1/L|\sin(θ)| < 1/L∣sin(θ)∣<1/L, which linearly vanishes in LLL instead of being constant. We show that this lower bound is achievable by the ZZZ-Shor code which does not have a threshold under stochastic noise. Compass codes provide a promising direction to improve on the previous bounds. We analytically determine thresholds for two new compass code families that provide upper and lower bounds to the rotated surface code's numerically established infidelity threshold. Furthermore, using a Majorana mode-based simulator, we use random families of compass codes to smoothly interpolate between the ZZZ-Shor codes and the XXX-Shor codes.
Quantum error correction is necessary to perform large-scale quantum computations in the presence of noise and decoherence. As a result, several aspects of quantum error correction have already been explored. These have been primarily studies of quantum memory[1, 2], an important first step towards quantum computation, where the objective is to increase the lifetime of the encoded quantum information. Additionally, several works have explored the implementation of logical gates[3-5]. In this work we study a next step - fault-tolerantly implementing quantum circuits. We choose the [[4,1,2]][[4, 1, 2]][[4,1,2]] Bacon-Shor subsystem code, which has a particularly simple error-detection circuit. Through both numerics and site-counting arguments, we compute pseudo-thresholds for the Pauli error rate ppp in a depolarizing noise model, below which the encoded circuits outperform the unencoded circuits. These pseudo-threshold values are shown to be as high as p=3%p=3\%p=3% for short circuits, and p=0.6%p=0.6\%p=0.6% for circuits of moderate depth. Additionally, we see that multiple rounds of stabilizer measurements give an improvement over performing a single round at the end. This provides a concrete suggestion for a small-scale fault-tolerant demonstration of a quantum algorithm that could be accessible with existing hardware.