Clifford-Deformed Elongated Compass Codes
- Clifford-deformed elongated compass codes are 2D stabilizer codes crafted via anisotropic gauge fixing and selective local Clifford deformations to optimize error detection under Z-biased noise.
- The construction leverages weight transformations and tailored gauge choices to preserve crucial short X-type stabilizers while reorganizing higher-weight checks into decoder-friendly patterns.
- Circuit-level studies and correlated decoding reveal enhanced thresholds and lower logical error rates, demonstrating practical benefits across varying noise biases.
Clifford-deformed elongated compass codes are a family of two-dimensional stabilizer codes obtained by combining anisotropic gauge fixing of the quantum compass model with local single-qubit Clifford transformations. In the construction studied most directly, one starts from elongated compass codes tailored to -biased noise and then applies Hadamards on selected qubits so that the higher-weight stabilizers acquire XZZX- or ZXXZ-type patterns while the weight-2 stabilizers that are crucial for detecting many errors are preserved. The resulting XZZX- and ZXXZ-deformed elongated compass codes are designed for dephasing-biased noise, exhibit thresholds that increase with bias, and display lower logical error rates; circuit-level studies further show that correlated minimum-weight perfect matching enhances thresholds for all noise biases relative to standard MWPM (Campos et al., 2024, Meinking et al., 26 May 2026).
1. Gauge-theoretic origin and elongated compass structure
Clifford-deformed elongated compass codes inherit their base geometry from the two-dimensional quantum compass model on an square lattice with qubits on vertices. The underlying Hamiltonian is
and the associated gauge group is generated by vertical -type and horizontal -type weight-2 operators. In the broader compass-code framework, this subsystem structure interpolates between Bacon–Shor and surface-code-like limits through gauge fixing; the surface code and the Bacon–Shor code represent two extremes of possible codes depending on how many gauge qubits are fixed (Campos et al., 2024, Li et al., 2018).
The elongated compass-code subfamily is parameterized by an integer elongation 0. Its defining feature is an asymmetric gauge-fixing pattern that increases the number of short 1-type checks while aggregating 2-type gauges into longer checks. In the earlier compass-code literature this asymmetry was introduced precisely to trade locality for asymmetry and gauge degrees of freedom for stabilizer syndrome information under biased Pauli noise (Li et al., 2018). In the specific elongated construction used for Clifford deformation, 3 reproduces the standard rotated surface code, while larger 4 produces a progressively more anisotropic code in which information about 5 errors is fine-grained and information about 6 errors is coarse-grained (Campos et al., 2024).
This gauge-theoretic origin matters because the later Clifford deformation does not discard the elongated compass-code rationale. The deformation is applied after the bias-tailored gauge fixing has already selected a stabilizer pattern that is intended to obtain more information on high-rate errors (Campos et al., 2024).
2. Explicit construction and local Clifford deformation
The elongated compass code 7 is built on plaquettes labeled by coordinates 8. The gauge-fixing rule is organized around the congruence
9
On those plaquettes, vertical 0-type gauges are fixed into weight-4 stabilizers
1
Between successive such plaquettes, horizontal 2 gauges are combined into elongated 3 stabilizers of weight 4, schematically of the form
5
All remaining vertical weight-2 6 gauges around those 7 rectangles are then fixed to ensure commutativity, yielding an ordinary CSS stabilizer code (Campos et al., 2024).
The Clifford-deformed variants are obtained by applying local Hadamards to selected corners of each weight-4 8 plaquette. Two deformations are singled out. In the XZZX9 deformation, Hadamards are applied to the top-right and bottom-left qubits of each weight-4 0 stabilizer. Thus
1
In the ZXXZ2 deformation, Hadamards are applied instead to the top-left and bottom-right qubits, giving
3
These transformations preserve the support of each stabilizer and preserve total stabilizer weight, but typically break CSS structure by producing mixed-type checks (Campos et al., 2024).
In the general framework of Clifford-deformed surface codes, such a deformation is written as
4
with transformed stabilizer group
5
A local Clifford circuit of this kind leaves the code parameters 6 unchanged, while changing the Pauli type and orientation of stabilizers and logical operators (Dua et al., 2022). In the elongated compass setting, that invariance is exploited selectively: the deformation preserves the weight-2 7 stabilizers that are crucial for detecting many 8 errors, but deforms the higher-weight 9 stabilizers into XZZX- or ZXXZ-type patterns introducing strong geometric symmetries in the syndrome graph (Campos et al., 2024).
3. Noise model, effective inhomogeneity, and decoder geometry
The physical noise model is an independent single-qubit Pauli channel
0
with total rate 1, bias
2
and the simplifying assumption 3. The depolarizing point is 4, and the regime of interest is 5-biased noise with 6 (Campos et al., 2024).
A useful feature of local Clifford deformation is that the deformed code can be decoded on the undeformed CSS code with an effective inhomogeneous Pauli channel. If the local Clifford on qubit 7 is 8, then the effective probabilities on the original code are
9
Thus Clifford deformation is equivalent to changing the noise to be spatially inhomogeneous but still Pauli and independent (Campos et al., 2024).
Decoding is performed with minimum-weight perfect matching. In the deformed non-CSS code, syndromes are mapped back to the original CSS code under the Clifford action, and MWPM weights are assigned using the inhomogeneous error probabilities above. The deformations are then interpreted through the geometry of the matching graph. For the XZZX surface code, the low-weight graph is a set of parallel lines and the high-weight graph is a set of parallel lines oriented orthogonally. For XZZX0 on elongated codes, the low-weight graph partitions the lattice into regions bounded by diagonal XZZX plaquettes, and within each region one sees chains of diamonds that behave similarly to repetition codes for 1 errors. For ZXXZ2, the low-weight graph forms disjoint strings, essentially decoupled repetition codes, while the high-weight graph is also partitioned rather than fully dense (Campos et al., 2024).
The underlying design principle is explicit: the Clifford deformations enhance decoder performance by introducing symmetries, while the stabilizers of compass codes can be selected to obtain more information on high-rate errors (Campos et al., 2024).
4. Thresholds, bias dependence, and comparison with XZZX
At no bias, CSS, XZZX3, and ZXXZ4 are equivalent from the decoder’s perspective. Representative thresholds at 5 are 6 for 7, 8 for 9, 0 for 1, and 2 for 3 (Campos et al., 2024).
For CSS elongated compass codes without Clifford deformation, each elongation has an optimal bias 4 at which the threshold is maximal. The values reported are
5
with corresponding CSS thresholds 6 for 7, 8 for 9, 0 for 1, and 2 for 3 (Campos et al., 2024).
The Clifford-deformed families behave differently. Thresholds for both XZZX4 and ZXXZ5 increase monotonically with bias for all 6. Representative values are summarized below.
| Family | Selected 7 | Threshold |
|---|---|---|
| 8 XZZX surface code | 9 | 0 |
| 1 XZZX2 | 3 | 4 |
| 5 ZXXZ6 | 7 | 8 |
These numbers exhibit the main comparative phenomenon. For 9, XZZX0 and ZXXZ1 coincide with the standard XZZX surface code. For 2, they define distinct elongated families. ZXXZ3 grows much more rapidly with bias than XZZX4, and for 5 its thresholds near 6–7 are about 8 (Campos et al., 2024).
Logical-error-rate data follow the same pattern. At fixed 9 below threshold, logical error rates decrease exponentially with distance. For 00, distance 01, the normalized logical error rate 02 shows that at low bias the CSS compass code performs best, but for 03 both XZZX04 and ZXXZ05 outperform CSS, and ZXXZ06 has the lowest logical error rates. The 2024 study states explicitly that one of the Clifford deformations explored yields QEC codes with better thresholds and logical error rates than those of the XZZX surface code at moderate biases (Campos et al., 2024).
A common misconception is to treat XZZX-like deformation as uniformly optimal once bias is present. The reported data do not support that conclusion. In the elongated compass setting, deformation type and elongation both matter: XZZX07 and ZXXZ08 have distinct syndrome-graph geometries and distinct threshold trajectories (Campos et al., 2024).
5. Circuit-level behavior and correlated decoding
A subsequent circuit-level study considers Clifford-deformed elongated compass codes under a hybrid biased-depolarizing model. In this model, CZ gates are followed by a biased two-qubit Pauli channel in which the pure-dephasing errors 09 occur with probability
10
while the remaining two-qubit errors occur with probability 11. By contrast, CNOT and 12 are treated as bias-breaking gates and are followed by depolarizing noise; idling qubits undergo the asymmetric single-qubit Pauli channel, and measurements fail with probability 13 (Meinking et al., 26 May 2026).
The decoding comparison is between standard MWPM and correlated MWPM. At code capacity, the CSS correlated decoder exploits the conditional probabilities
14
and updates second-pass matching weights to
15
At circuit level, PyMatching’s correlated mode performs an analogous two-pass procedure on a detector error model, using conditional probabilities reconstructed from hyperedge decompositions such as
16
These formulas encode not only 17 correlations but also the structured space-time correlations introduced by the syndrome-extraction circuits (Meinking et al., 26 May 2026).
The principal circuit-level finding is unambiguous: correlated decoding enhances thresholds for all noise biases relative to standard MWPM under circuit-level noise. The same work further concludes that correlated decoding leads to a higher relative gain in thresholds compared to standard MWPM when applied to codes with asymmetric stabilizers under biased noise (Meinking et al., 26 May 2026). For CSS elongated compass codes, the maximum relative gain reported is about 18 for the 19 code at 20. For the ZXXZ21 family, the relative gain increases systematically with 22 for all 23, which directly ties decoder advantage to stabilizer asymmetry (Meinking et al., 26 May 2026).
This circuit-level analysis also tempers code-capacity conclusions. Standard MWPM thresholds for CSS elongated compass codes continue to increase with 24, but for ZXXZ25 with 26 the advantage seen at code capacity is largely suppressed by the non bias-preserving 27 and CNOT gates required in the syndrome circuits. Correlated decoding partially compensates for this effect, but does not remove the hardware-level dependence on gate set and extraction schedule (Meinking et al., 26 May 2026).
6. Broader theoretical context and open directions
Clifford-deformed elongated compass codes sit at the intersection of two larger research programs. The first is the study of local Clifford deformations as a general design knob for bias-tailored stabilizer codes. In the surface-code setting, applying site-dependent single-qubit Cliffords produces Clifford-deformed surface codes whose 28 parameters are unchanged but whose stabilizer Pauli content, effective distance under biased noise, and threshold behavior can differ dramatically. Random and translation-invariant Clifford-deformed surface-code families exhibit phase-diagram structure under 29-biased noise, including regions with 30 threshold at infinite bias (Dua et al., 2022).
The second program is the gauge-fixing view of compass codes. Two-dimensional compass codes were introduced as a broad class of local codes obtained from Bacon–Shor by gauge fixing, with explicit elongated constructions that improve thresholds against asymmetric noise. In that framework, the elongation parameter 31 controls an effective asymmetrization of Kitaev’s toric code in the bulk with extended 32-body plaquette operators, and the code family remains local while trading stabilizer weight against directional syndrome information (Li et al., 2018).
More recent zero-rate LDPC theory provides a broader explanation for why Clifford-deformed codes can approach 33 threshold under pure dephasing. If the number of biased logical operators grows slowly enough or if there exists a basis of logical operators whose overlap satisfies suitable scaling conditions, then the code-capacity threshold of the Clifford-deformed variant under i.i.d. pure dephasing noise approaches 34. This framework explicitly explains previously known examples such as XY surface code, XZZX surface code, color code, and some 3D Clifford-deformed codes, and it suggests that elongated compass-code constructions belong to a larger class of bias-tailored deformations of zero-rate LDPC codes (Das et al., 14 May 2026).
A related but distinct line studies explicit local Clifford layers on geometric CSS codes. Recent work on “Quantum Logic Codes” gives a depth-1 transversal logical 35 on rotated surface codes and a depth-1 intra-block logical 36 on the 2D toric code, framing these as Clifford deformations of planar and toric geometries. This suggests a broader program in which geometric codes, including compass-like layouts, are engineered to support more logical Clifford structure through local Clifford patterns and symmetry constraints (Holmes, 11 Jun 2026).
Several open issues remain. Circuit-level performance depends strongly on whether the hardware natively preserves dephasing bias during syndrome extraction. The 2026 circuit-level study identifies non bias-preserving 37 and CNOT gates as a central limitation for Clifford-deformed elongated compass codes (Meinking et al., 26 May 2026). A plausible implication is that fully bias-preserving extraction schedules, or hardware platforms with native CZ-like interactions, may be decisive for realizing the full advantage indicated by code-capacity thresholds. Another active direction is decoder design: the current evidence indicates that code design and correlation-aware decoding must be co-optimized, rather than treated as separate layers of the architecture (Meinking et al., 26 May 2026).
In that sense, Clifford-deformed elongated compass codes are best understood not as a single code, but as a bias-tailored design paradigm: start from a compass-code gauge fixing that favors the dominant error channel, apply local Clifford deformations that reorganize the syndrome graph into decoder-friendly structures, and then match the resulting asymmetry with a decoder that can exploit the induced correlations (Campos et al., 2024, Meinking et al., 26 May 2026).