ZSZ Codes: Non-Abelian Quantum LDPC CSS
- ZSZ codes are a non-abelian quantum LDPC CSS family that generalizes bivariate bicycle codes by replacing the abelian translation group with a semidirect product.
- They leverage Cayley graph geometries to enable exponential small-set growth while maintaining constant check weights for efficient passive local decoding.
- Designed for neutral-atom arrays, they incorporate optimized routing protocols and controlled qubit interactions to achieve competitive error thresholds.
ZSZ codes are a family of quantum LDPC CSS codes obtained by a minimal, yet structurally consequential, non-abelian generalization of bivariate bicycle (BB) codes. They replace the abelian translation group underlying BB codes with a semidirect product , introducing a controlled non-commutativity between horizontal and vertical translations. In the formulation introduced in “Towards self-correcting quantum codes for neutral atom arrays,” this twist changes local propagation rules on the code’s Cayley graphs, enhances small-set growth, preserves constant-weight LDPC structure, and empirically improves performance under passive local decoding while retaining competitive thresholds under conventional circuit-level decoding (Guo et al., 29 Jul 2025).
1. Group-theoretic definition and CSS construction
The defining algebraic object is the semidirect product
where are positive integers satisfying . A BB code is recovered as the special case , so that and commute and . The ZSZ family takes , yielding a non-abelian generalization of two-block group algebra CSS codes (Guo et al., 29 Jul 2025).
Writing group elements in canonical form 0, the group law is
1
with indices modulo 2 and 3. The corresponding push-through relations are
4
These relations encode the twist: moving 5 through 6 multiplies its exponent by a power of 7.
ZSZ codes are constructed as 2BGA CSS codes over 8. One chooses sparse group-ring elements 9, typically with three terms each, and forms their left- and right-regular binary representations
0
The parity-check matrices are
1
2
In group-ring language this is 3, where 4 denotes the anti-involution induced by group inversion. Operationally, the choice 5, 6 ensures 7 by associativity of group multiplication, which implies CSS commutativity.
The paper also gives an explicit illustrative instance with 8, 9, and 0. In that example, 1, 2, and the check neighborhoods become twisted block-circulants rather than simple translates because 3 (Guo et al., 29 Jul 2025).
2. Geometry, locality, and LDPC parameters
The canonical labeling 4 suggests an 5 rectangular embedding. Because the construction is two-block, the code places
6
data qubits on the horizontal and vertical links of a toroidal grid: horizontal links correspond to 7, and vertical links to 8. There are 9 0-type checks and 1 2-type checks. For 3-term choices of 3 and 4, every check has weight 5, and every data qubit participates in 6 checks, namely 7 8-type and 9 0-type checks. Hook errors in single-ancilla extraction have weight at most 1 due to circuit depth 2 (Guo et al., 29 Jul 2025).
The number of logical qubits is
3
Small examples found by computer search include the following instances.
| Code | Parameters | 4 |
|---|---|---|
| ZSZ80 | 5 | 6 |
| ZSZ180 | 7 | 8 |
| ZSZ360-1 | 9 | 0 |
| ZSZ756 | 1 | 2 |
The listed minimum distances were estimated with QDistRnd (GAP), using probabilistic searches for low-weight logical operators (Guo et al., 29 Jul 2025).
The central geometric distinction from BB codes lies in local growth on the underlying left/right Cayley graphs. In BB codes with 3, the number of distinct vertices reachable by short words grows polynomially, 4. In suitable ZSZ instances, the corresponding growth is exponential,
5
For example, with 6, constructing 7 via binary decomposition requires 8 steps, yielding 9. For suitable parameters such as 0 and generators that do not commute pairwise, the qubit adjacency graph has diameter 1, whereas abelian 2BGA codes with check weight 2 have diameter 3. At the same time, ZSZ Cayley graphs have constant girth, at most 4 by constructive cycles, and are not global expanders (Guo et al., 29 Jul 2025).
3. Decoding behavior and threshold phenomena
Under circuit-level depolarizing noise, the paper uses a single-parameter local depolarizing model simulated with Stim: a single-qubit gate, including idle, fails with depolarizing probability 5; a two-qubit gate fails with probability 6; ancilla measurement and reset fail with probability 7. Syndrome extraction alternates 8-type then 9-type rounds, while the final data-qubit 0 measurement is noiseless for readout and a final 1-syndrome is inferred (Guo et al., 29 Jul 2025).
For global decoding over 2 rounds, the decoder stacks 3 copies of the 4-syndrome Tanner graph, inserts repetition-code detectors across time, and applies min-sum belief propagation for up to 5 iterations followed by combination-sweep OSD of order 6. Across several codes, the block logical error rate curves cross at 7. Below threshold, BLER decays exponentially in system size. Under the same noise model, the quoted threshold for unrotated surface codes decoded by MWPM is approximately 8, so the ZSZ family is presented as competitive given its nonlocal connectivity. The study also notes that ancilla hook errors of weight at most 9 explain some non-monotonic BLER ordering with distance (Guo et al., 29 Jul 2025).
For single-logical error rates, high-rate ZSZ codes are reported as comparable to BB codes and surface codes of similar effective distance. Two explicit comparisons are highlighted: the LER slope of ZSZ360-1 matches that of a distance-19 surface code, and ZSZ288-1 matches BB288 and a distance-15 surface code.
The most distinctive numerical result concerns local “self-correcting” decoding. The decoder is a greedy single-shot local sweep: for 0-errors, an 1 is applied to a data qubit if doing so reduces the local 2-syndrome weight, with ties broken randomly. Qubits are partitioned into 3 non-overlapping color classes of the qubit adjacency graph, with 4 by Brooks’s theorem and 5–6 in practice. This sweep is repeated every cycle, and at the end the final 7-syndrome is decoded using BP+LSD with 8 min-sum iterations and order-5 combination-sweep LSD (Guo et al., 29 Jul 2025).
Under this passive scheme, ZSZ codes show a sustainable threshold
9
defined as the critical value below which the BLER per cycle stabilizes and decreases with increasing code size over long times. Finite-size scaling shows stabilization for at least 00 cycles. Under the same local decoder and noise model, the corresponding estimate for the four-dimensional toric code is approximately 01. BB codes show no evidence of a sustainable threshold under the same passive decoder (Guo et al., 29 Jul 2025).
The greedy update also admits a Glauber-dynamics interpretation. At inverse temperature 02,
03
where 04 is the change in syndrome weight. A uniform failure probability 05 can be upper-bounded through
06
with 07 for one Pauli sector in these codes. This links the observed sustainable threshold to effective temperatures and to linear confinement on small sets (Guo et al., 29 Jul 2025).
4. Neutral-atom realization in movable tweezer arrays
ZSZ codes are designed with neutral-atom implementation in mind. The 08 rectangular embedding places horizontal and vertical data qubits on links and uses 09 ancillas, one per check. A single-ancilla syndrome extraction round initializes ancillas, applies Hadamard gates on ancilla and data for 10-syndrome extraction, schedules CZ gates by routing, and then applies Hadamards again; the 11-syndrome round is analogous but omits Hadamards on data. Entangling gates are Rydberg-mediated, and single-qubit gates are implemented by optical pulses (Guo et al., 29 Jul 2025).
Routing exploits AOD grid transfers. For left-action routing associated with 12, a factor 13 is implemented by global vertical cyclic shifts together with a horizontal grid-type permutation of columns, described as riffle-shuffle style, in 14 AOD moves using auxiliary SLM traps; a factor 15 is a horizontal cyclic shift in 16 grid transfers. For right-action routing associated with 17, 18 requires distinct horizontal cyclic shifts per row, realized by picking up the whole grid and dropping each row with its shift to scratch columns in 19 moves, while 20 is a global vertical cyclic shift in 21 (Guo et al., 29 Jul 2025).
A full 22-syndrome round therefore takes 23 moves for horizontal coupling and 24 for vertical coupling; the 25-syndrome round is analogous with transposes and interchanged roles. For logarithmic-diameter instances with 26, the overall routing per round is 27. With selective transfers, defined by deepening chosen SLM traps to leave atoms behind, arbitrary two-dimensional permutations become 28, and ZSZ extraction becomes 29 irrespective of 30 (Guo et al., 29 Jul 2025).
The resource profile includes 31 scratch columns and 32 scratch rows at different stages. Scheduling is designed to avoid intersecting parallel AOD rows and columns, thereby minimizing disturbance. The simulations explicitly model Rydberg CZ errors, measurement/reset errors, and idling. In this setting, the work states that a complete round of syndrome extraction can be achieved using simple global motions of the atomic arrays (Guo et al., 29 Jul 2025).
5. Overhead, comparative performance, and unresolved questions
The family is positioned as a high-rate quantum-memory architecture. One explicit example is ZSZ360-1, 33, which matches the single-logical error slope of a distance-19 surface code while encoding 34 more logical qubits. Under passive decoding, ZSZ756 outperforms four copies of the four-dimensional toric code with 35, while using only approximately 36 of the physical qubits for the same 37. Relative to BB codes, ZSZ codes retain low overhead and long-range-connectivity advantages but exhibit a sustainable passive threshold not observed in BB codes. Their routing cost is 38–39 per round rather than 40, though the single-shot property may offset this by requiring fewer rounds per logical cycle (Guo et al., 29 Jul 2025).
The name “ZSZ” reflects the group-theoretic backbone 41: a semidirect product of two cyclic groups. The action is
42
and best-performing examples often use nontrivial 43 coprime to 44 and satisfying 45, such as 46 for 47 and 48 for 49 (Guo et al., 29 Jul 2025).
Several limitations remain explicit. ZSZ Tanner and Cayley graphs have constant girth and are not global expanders, so classical expander-code arguments do not directly apply. Formal proofs of linear confinement and of a macroscopic free-energy barrier remain open. The numerical sustainable threshold does not constitute a proof of true self-correction, which would require a lifetime growing with 50 under local thermal noise. Decoder robustness under accurate circuit-level local decoding is not yet established; the paper states that incorporating such noise will require state-vector simulations and that performance may improve through reinforcement learning or sweep rules. Performance is also sensitive to scheduling, to the specific choice of 51, and to hardware constraints including AOD speed, cross-talk, and erasure detection. Exploiting erasure information mid-circuit or with delayed erasures is expected to increase thresholds significantly. Finally, single-shot state preparation and lattice surgery for ZSZ codes are not yet established, and logical Pauli measurements and adapters likely incur 52 temporal overhead absent single-shot surgery (Guo et al., 29 Jul 2025).
6. Terminology and disambiguation across research areas
The term “ZSZ codes” is not unique across disciplines. In the 2025 quantum-error-correction literature, it denotes the non-abelian 53-based LDPC CSS family described above (Guo et al., 29 Jul 2025). In communications and sequence design, closely related terminology often refers instead to zero-sidelobe-zone or zero-correlation-zone constructions, including symmetrical Z-complementary code sets (SZCCSs) and cross Z-complementary sequence sets (CZCSSs), where the defining property is summed aperiodic-correlation cancellation in front-end and tail-end lag intervals rather than a quantum stabilizer construction (Zhou et al., 2020, Kumar et al., 2023, Kumar et al., 2022).
Other coding-theoretic usages are also unrelated to the quantum family. Mixed-alphabet algebraic code papers study 54-additive cyclic codes, 55-cyclic codes, and 56-skew cyclic codes, all with distinct module structures, Gray maps, and duality theories (Borges et al., 2017, Aydogdu et al., 2017, 1711.01816, Benbelkacem et al., 2019). The rendering paper “SZ Sequences: Binary-Based 57-Sequences” uses “SZ” for two block-matrix alphabets denoted 58 and 59, and notes that “ZSZ codes” appears informally in discussion but refers there to a low-discrepancy-sequence construction rather than a code in the quantum- or communications-theoretic sense (Ahmed et al., 26 May 2025).
Accordingly, in current arXiv usage, “ZSZ codes” most prominently names the neutral-atom-oriented quantum LDPC family introduced in 2025, but the same letter sequence also appears in several unrelated literatures with different formal meanings, different performance metrics, and different ambient algebraic structures.