Clifford-Deformed Compass Codes
- Clifford-deformed compass codes are quantum error-correcting codes that combine gauge fixing and single-qubit Clifford operations to tailor stabilizer geometry for biased dephasing noise.
- They use patterned Hadamard gates to convert weight-4 X-stabilizers into mixed-basis checks such as XZZX and ZXXZ, thereby improving decoder symmetry and threshold values.
- Numerical studies reveal these codes outperform traditional CSS and XZZX surface codes at moderate bias by achieving higher thresholds and lower logical error rates.
Clifford-deformed compass codes are quantum error-correcting codes obtained by combining two design freedoms in the square-lattice compass-code family: gauge fixing of the 2D quantum compass subsystem code, and local single-qubit Clifford conjugations of the resulting stabilizers. In the formulation studied by Campos and Brown, the central use case is biased noise dominated by dephasing, where elongated compass codes can be tailored further by applying patterned Hadamards so that the deformed stabilizers acquire mixed support while retaining the same locality and support size. The resulting codes exhibit improved decoder symmetries, thresholds that increase with bias, and lower logical error rates; one of the reported deformations outperforms the XZZX surface code at moderate bias (Campos et al., 2024).
1. Compass-code origin and gauge fixing
Compass codes arise from the 2D quantum compass subsystem code on an square lattice. In the convention used for the elongated-compass construction, the gauge generators are two-body operators on horizontal edges and two-body operators on vertical edges,
Different choices of which gauge operators are fixed convert this subsystem structure into different stabilizer codes, including Bacon–Shor codes, surface codes, and elongated compass codes (Campos et al., 2024).
The elongated family is specified by an elongation parameter . The construction fixes -gauges on every th diagonal of plaquettes, , producing weight-4 -stabilizers on those plaquettes. Between these diagonals, products of 0-gauges are fixed to form elongated 1-stabilizers, and the remaining horizontal 2-gauges are then fixed to complete the stabilizer group. The unfixed gauge products become logical degrees of freedom. In the square-lattice description used for circuit-level studies, one can choose
3
with code distance 4 (Meinking et al., 26 May 2026).
The significance of this gauge-fixing viewpoint is architectural rather than merely taxonomic. The family inherits a common local gauge origin, but different gauge-fixing choices redistribute syndrome information between 5- and 6-type checks. In the biased-noise setting emphasized in the literature, elongation is used to obtain more information on the higher-rate error channel, namely dephasing-dominated 7 faults (Campos et al., 2024).
2. Clifford deformation as local Pauli-axis rotation
A Clifford deformation applies single-qubit Clifford unitaries 8 independently to the data qubits. If a stabilizer is 9, then conjugation by 0 yields
1
which is again a Pauli operator with the same weight and support. In the elongated-compass constructions studied to date, the only nontrivial single-qubit Clifford required is the Hadamard 2, which swaps 3 (Campos et al., 2024).
On each fixed weight-4 4-plaquette, a patterned choice of Hadamards on opposite corners converts the undeformed 5 stabilizer into a mixed-basis plaquette. One diagonal choice produces an 6-type plaquette, while the other produces a 7-type plaquette. In the notation of the 2024 work, applying 8 on the upper-right and lower-left corners maps
9
and the complementary diagonal defines the 0 deformation (Campos et al., 2024). In the circuit-level formulation, the 1 pattern is described equivalently as applying Hadamards on the top-left and bottom-right qubits of each fixed cell so that
2
without changing support; when 3, this exactly recovers the XZZX deformation of the rotated surface code (Meinking et al., 26 May 2026).
This local-Clifford mechanism should be distinguished from code deformation in the older topological-computation sense. Earlier work on subsystem color codes used “code deformation” to mean changing which local gauge and face operators are enforced in order to move twists, braid defects, or split and merge patches (Bombin, 2010). By contrast, in Clifford-deformed compass codes the code family is altered by static local conjugation of Pauli axes before decoding is considered. The two notions are related by shared subsystem and compass-model ancestry, but they are operationally distinct.
3. Biased noise, decoding-graph structure, and threshold behavior
The noise model used in the code-capacity analysis is an asymmetric Pauli channel with independent single-qubit errors,
4
Here 5 is the dephasing bias. Depolarizing noise corresponds to 6, while trapped-ion and cat-qubit experiments are described as reporting 7–8 (Campos et al., 2024).
Thresholds are not given in closed form; they are extracted numerically by finite-size scaling of the logical error rate near threshold. The 2024 study writes
9
and determines 0 from the crossings and fits (Campos et al., 2024). The central empirical observation is that the deformed elongated compass codes exhibit thresholds that increase with bias and logical error rates that decrease relative to undeformed CSS variants.
The decoder improvement is tied to a structural property of the deformed matching graph. For the 1-deformed code, the low-weight edges associated with the more likely dephasing faults form quasi-1D strips or isolated diamonds. High-weight edges associated with less likely 2 faults connect these regions only weakly. The paper describes this as a “domain-wall” symmetry that confines dephasing defects to small regions, simplifies matching, and raises thresholds under biased noise (Campos et al., 2024).
The threshold data reflect this reorganization. For 3, the reported thresholds at 4 are 5 for the CSS code, 6 for the 7 deformation, and 8 for the 9 deformation. At larger biases the gain becomes more pronounced: at 0, the values are 1, 2, and 3; at 4, 5, 6, and 7; and at 8, 9, 0, and 1, again in the order CSS, 2, 3 (Campos et al., 2024). These figures show that the deformation is not merely a basis relabeling from the decoder’s perspective; it changes the syndrome geometry relevant to biased matching.
4. Relation to the XZZX surface code and logical-error comparisons
The 4 member of the deformed elongated family coincides with the rotated-surface-code XZZX construction. This makes the elongated deformations a direct generalization rather than a separate code family. The comparison emphasized in the original study is therefore a controlled comparison between 5 Clifford-deformed elongated compass codes and the standard XZZX surface code realized at 6 (Campos et al., 2024).
At moderate bias, the 7-deformed 8 code exceeds the XZZX surface code both in threshold and, in part of parameter space, in logical error rate. The paper reports that at 9–0, the 1-deformed 2 code achieves thresholds from approximately 3 to 4, while the XZZX surface code plateaus in the same regime at approximately 5 to 6 (Campos et al., 2024). This establishes that elongation and deformation can be complementary rather than redundant.
The logical-error comparison is presented through the ratio
7
for physical error rates 8 and 9. Above bias 0, the 1 code is reported to achieve the lowest logical error rate, and in some cases 2, corresponding to a ratio below one (Campos et al., 2024). A common misconception is that XZZX exhausts the advantage obtainable from local Clifford tailoring under biased dephasing. The elongated-compass results show that further gauge-fixing freedom can produce additional gains.
5. Circuit-level noise and correlated decoding
Subsequent work studied the same Clifford-deformed elongated compass codes under circuit-level noise rather than code-capacity noise. The circuit model uses a Hybrid Biased-Depolarizing (HBD) channel: bias-preserving 3 gates receive a two-qubit Pauli channel with
4
while 5 and single-qubit 6 gates are assigned a fully depolarizing channel of strength 7. Idling, state preparation, and measurement use a single-qubit asymmetric channel with
8
and measurement errors occur with probability 9 (Meinking et al., 26 May 2026).
Syndrome extraction is performed with a single ancilla per stabilizer. For an 0-stabilizer of weight 1, the circuit is
2
whereas 3-stabilizers use 4. In the Clifford-deformed case, some of these 5 gates become 6 gates because of the Hadamard conjugations. Simulations are carried out in Stim, and the resulting detector error models are decoded with MWPM or with PyMatching’s correlated decoder (Meinking et al., 26 May 2026).
The decoder comparison is central. Standard MWPM uses graph weights
7
where 8 is the probability attached to an edge in the matching graph. The correlated decoder performs a first matching pass, then updates edge weights using conditional probabilities inherited from shared hyperedges in the detector error model, and performs a second pass. Under circuit-level noise, correlated decoding improves thresholds for all biases studied (Meinking et al., 26 May 2026).
Representative thresholds make the effect explicit. For the CSS elongated code with 9, the threshold rises from 00 to 01 at 02, from 03 to 04 at 05, from 06 to 07 at 08, and from 09 to 10 at 11 when moving from standard MWPM to correlated decoding. For the 12-deformed code with 13, the corresponding improvements are 14, 15, 16, and 17 (Meinking et al., 26 May 2026). The same study reports that CSS thresholds continue to rise with bias, whereas the 18 thresholds saturate at high 19 because the syndrome circuits mix bias-preserving 20 operations with depolarizing 21 and 22 operations. A plausible implication is that the asymptotic code-capacity advantages of Clifford deformation depend sensitively on how faithfully the hardware and extraction circuits preserve the physical bias.
6. Broader theoretical setting and later generalizations
Later work places Clifford-deformed compass-like constructions inside a broader theory of Clifford-deformed zero-rate LDPC codes under pure dephasing. In that framework, if every nontrivial pure-23 logical has weight at least 24 and the number of pure-25 logicals grows sub-exponentially in 26, then for any 27 the decoding failure probability vanishes asymptotically. An alternative sufficient condition uses a basis of logical operators whose supports are disjoint or satisfy controlled overlap conditions. The result is a 28 infinite-bias code-capacity threshold (Das et al., 14 May 2026).
This framework is presented as explaining previously known 29 biased-noise thresholds for the XY surface code, XZZX surface code, deformed color codes, and some 3D Clifford-deformed codes. It is also extended to tile codes, which are described there as zero-rate LDPC “tile (compass) codes.” Random and translationally invariant Clifford deformations of those codes exhibit regions with estimated threshold 30 under pure 31 noise, and circuit-level performance is analyzed in terms of a residual bias
32
after a full syndrome-extraction cycle (Das et al., 14 May 2026).
For Clifford-deformed compass codes proper, these later results are best read as theoretical context rather than a direct rederivation of the elongated-compass numerics. They suggest that the high-bias performance of local-Clifford deformations is governed by the geometry of the surviving pure-33 logical sector and by the extent to which syndrome extraction preserves the intended anisotropy. In that sense, the 2024 elongated-compass constructions occupy an intermediate position between the XZZX surface code and more general Clifford-deformed LDPC families: they retain a transparent gauge-fixing origin, admit explicit circuit constructions and decoder analyses, and exemplify how local Pauli-axis rotations can be co-designed with subsystem structure and biased-noise decoding (Campos et al., 2024).