Figure

Description

The Bacon-Shor code is a family of subsystem CSS quantum error-correcting codes defined on an grid of physical qubits, with parameters . In the symmetric square case this reduces to . Its defining practical feature is that syndrome extraction is built from weight-2 gauge measurements rather than direct high-weight stabilizer measurements.

A convenient convention is to use X-type gauge operators on vertical nearest-neighbor pairs and Z-type gauge operators on horizontal nearest-neighbor pairs. The high-weight stabilizers are products of those weight-2 gauge operators across adjacent rows or adjacent columns. Because the gauge subsystem does not store logical information, multiple gauge configurations correspond to the same encoded logical state.

Operationally, Bacon-Shor is attractive when high-weight parity checks are difficult but repeated low-weight checks are natural, or when the physical noise is strongly biased so rectangular Bacon-Shor blocks can preferentially protect the dominant error channel.

Hamiltonian and Gauge Structure

Let qubits be indexed by row and column . A standard gauge-generator choice is

for and where defined. The commuting stabilizers are products of these gauge generators:

A representative commuting code Hamiltonian is therefore

whose code space is the simultaneous eigenspace of all stabilizers. Logical operators can be chosen as a full X string along any row and a full Z string along any column,

with the choice of row or column equivalent up to multiplication by gauge operators. At the operator level one can also write a compass-model-like gauge Hamiltonian , but that noncommuting weight-2 model is distinct from the commuting stabilizer Hamiltonian defining the code space.

Motivation

  • Low-weight check extraction: Only weight-2 nearest-neighbor gauge measurements are required, avoiding direct measurement of high-weight stabilizers.
  • Bias-friendly geometry: Rectangular variants can protect X and Z errors asymmetrically, matching hardware with strongly biased noise.
  • Subsystem flexibility: Gauge degrees of freedom simplify measurement design and make the code a useful bridge between Shor-style constructions and modern subsystem/floquet ideas.
  • Historical importance: Bacon-Shor remains one of the cleanest pedagogical examples of subsystem fault tolerance and gauge-based QEC.

Experimental Status

Fault-tolerant trapped-ion demonstration, Egan et al. (2021):

  • Implemented a Bacon-Shor logical qubit on a 13-ion trapped-ion processor.
  • Demonstrated fault-tolerant preparation, measurement, rotation, and stabilizer measurement using weight-2 gauge checks.
  • Reported an average state-preparation-and-measurement error of and an average logical Clifford-gate error of after error correction.
  • Demonstrated magic-state preparation above the distillation threshold, but did not yet realize a long-lived repeatedly stabilized logical memory.

Recent Bacon-Shor-family developments (2024-2025):

  • Alam and Rieffel showed that a period-4 measurement schedule can turn Bacon-Shor into a Floquet code hosting additional dynamical logical qubits while keeping low-weight checks.
  • Sun et al. experimentally realized a 3×3 Floquet-Bacon-Shor code on a superconducting processor, including repeated error detection, logical gates on the dynamical qubit, and an error-detected logical Bell state with fidelity.

Key Metrics

MetricValueNotesFidelity reference
Code parametersSquare case is Bacon 2006
Gauge measurement weight2Vertical XX and horizontal ZZ nearest-neighbor checksBacon 2006
Stabilizer weight for X, for ZInferred from products of gauge outcomes rather than measured directlyBacon 2006
Demonstrated FT SPAM errorAverage state-preparation and measurement error after error correction in the 13-ion demoEgan et al. 2021
Demonstrated FT logical Clifford errorAverage logical Clifford-gate error after error correction in the same demoEgan et al. 2021
Floquet-Bacon-Shor Bell-state fidelityError-detected Bell state between static and dynamical logical qubits on a 3×3 superconducting latticeSun et al. 2025

Note: For QEC code entries, metric rows should stay source-backed and should distinguish static Bacon-Shor results from Floquet-Bacon-Shor extensions.

Scaling Considerations

  • Hardware simplicity: The main win is the low-weight gauge-check schedule, not a best-in-class unbiased-noise threshold.
  • Asymmetric protection: Rectangular blocks naturally trade X-versus-Z protection, making Bacon-Shor especially relevant when one error channel dominates.
  • Fault-tolerance caveat: Because stabilizer values are reconstructed from products of noisy gauge measurements, measurement faults need careful circuit design and decoding.
  • Threshold landscape: The basic 2D Bacon-Shor family is not the leading choice under generic depolarizing noise, but concatenated, biased-noise, and Floquet variants recover useful operating regimes.

References

Original proposal

Fault-tolerance theory

Experimental demonstrations

Linked Papers

Evergreen context

  • threshold-theorem — the big-picture reason Bacon-Shor matters is not that it beats the surface code everywhere, but that it reshuffles the hardware tradeoff around what kinds of checks you can execute reliably.
  • noise-bias-and-asymmetric-error-channels — Bacon-Shor becomes much more compelling when the physical noise is strongly asymmetric and rectangular layouts can lean into that bias.
  • decoherence-free-subspace — useful contrast for the word “subsystem”: Bacon-Shor is an active subsystem code, not passive symmetry protection.
  • surface-code-logical-qubit — higher threshold under generic depolarizing noise, but a more demanding stabilizer-measurement stack
  • color-code-logical-qubit — alternative logical-code family with different transversal-gate tradeoffs
  • floquet-codes — dynamical-code viewpoint that extends Bacon-Shor with additional logical qubits
  • trapped-ion-qubit — platform of the first fault-tolerant Bacon-Shor demonstration
  • kerr-cat-qubit — a biased-noise hardware modality where asymmetric Bacon-Shor ideas are especially natural