Cyclic Hypergraph Product Code
- The paper introduces cyclic hypergraph product codes that leverage cyclic matrices to impose global symmetries, enabling an exhaustive search over structured instances.
- The paper demonstrates improved [N,K,D] tradeoffs with logical error rates up to three orders of magnitude lower than those of ML-optimized hypergraph product codes.
- The paper outlines a constant-depth syndrome extraction protocol using a two-row QCCD layout that supports scalable implementations in trapped-ion and flying-qubit hardware.
Cyclic hypergraph product codes are a symmetry-constrained family of quantum low-density parity-check CSS codes obtained by taking the hypergraph product of two cyclic codes. In the formulation introduced in "Cyclic Hypergraph Product Code" (Aydin et al., 12 Nov 2025), the cyclic restriction defines a class denoted CxC, together with two subfamilies, C2 and CxR. The construction is motivated by a contrast with prior optimization of hypergraph product codes through progressive edge growth, random search, simulated annealing, and reinforcement learning: instead of local transformations, it imposes additional global symmetries and permits exhaustive search over structured instances. The reported consequence is a family of codes with improved tradeoffs, logical error rates per logical qubit up to three orders of magnitude lower than previously optimized HGP codes, and a planar QCCD layout supporting constant-depth syndrome extraction.
1. Hypergraph-product setting
The cyclic construction is a specialization of the general hypergraph-product CSS construction. Let and be classical parity-check matrices. The associated CSS code has block length
with sparse check matrices
These have dimensions and , respectively, and satisfy by construction (Aydin et al., 12 Nov 2025).
Within the Tillich–Zémor framework quoted in the exposition, if and , then
0
and
1
This places cyclic hypergraph product codes squarely inside the standard HGP paradigm rather than outside it: the novelty lies in the symmetry of the seed matrices, not in a different commutativity mechanism or a different CSS assembly.
As context, HGP codes are presented as one of the most popular families of quantum LDPC codes, and circuit-level simulations are cited as showing that they can achieve the same logical error rate as surface codes with reduced qubit overhead. The cyclic construction is therefore best viewed as a structured refinement of an already competitive LDPC family.
2. Cyclic specialization and the C2/CxR subfamilies
The cyclic ingredient is introduced through binary cyclic matrices. A binary cyclic matrix of size 2 has the form
3
with coefficients 4. By construction,
5
In the cyclic hypergraph-product construction, one takes
6
so that
7
Because 8 and similarly for 9, the full parity-check structure is doubly block-circulant: shifting the 0 row-blocks by one and the 1 column-blocks by one leaves 2 and 3 invariant (Aydin et al., 12 Nov 2025).
Two distinguished subfamilies are isolated.
- C2 codes: these are the symmetric cyclic instances obtained by choosing
4
so the HGP is taken between a cyclic code and itself.
- CxR codes: these are repeated cyclic instances obtained by choosing
5
where 6 is identified as the 7 repetition code.
The role of symmetry is central. The work explicitly contrasts this with machine-learning-based searches that improve code performance through local transformations. A plausible implication is that the cyclic ansatz restricts the search space in a way that exposes globally organized high-performance instances that may be difficult to reach through unconstrained local optimization.
3. Parameter formulas
Let the classical cyclic code 8 have parameters 9, so that
0
If 1 has parameters 2 and rank 3, then the exposition gives the CxC parameters as
4
using the stated facts that for a cyclic parity check 5 and 6, and that 7. The logical-qubit count and minimum distance are
8
For the two subfamilies, these formulas simplify substantially (Aydin et al., 12 Nov 2025).
For C2 codes,
9
where 0 is the number of nonzero terms in the seed polynomial of 1.
For CxR codes,
2
These closed forms are important for two reasons. First, they make the effect of the cyclic seed transparent at the level of 3 and check weight 4. Second, they explain why exhaustive search is feasible in the reported study: the search is over a small-parameter, symmetry-constrained family rather than over arbitrary sparse parity-check matrices.
4. Exemplary codes and comparative tradeoffs
The exposition highlights three codes from an exhaustive search, all simulated with check weight 5. The comparison baseline "ML-HGP 6" is identified as the state-of-the-art HGP code optimized by simulated annealing and reinforcement learning in Freire et al. (Aydin et al., 12 Nov 2025).
| Code | Parameters | Comparison |
|---|---|---|
| C2 7 | 8, 9, rate 0, 1 | Same 2 as ML-HGP 3, shorter 4, more 5; at 6, 7 |
| C2 8 | 9, 0, rate 1, 2 | Up to 3 orders better 3 than ML-HGP at 4 |
| CxR 5 | 6, 7, rate 8, 9 | Outperforms ML-HGP 0 despite lower rate |
The comparison is not limited to prior HGP optimization. The abstract further states that some C2 codes achieve simultaneously a lower logical error rate and a smaller qubit overhead than state-of-the-art LDPC codes such as bivariate bicycle codes, with the qualification that this comes at the price of a larger block length. That qualification is material: the reported advantage is not a blanket dominance over all competing LDPC families on every axis.
A common misconception would be to treat the cyclic restriction as merely aesthetic or as a source of implementation convenience only. The examples instead show that the same symmetry constraint can improve both code parameters and circuit-level behavior relative to earlier optimized HGP instances.
5. Decoding, syndrome extraction, and QCCD layout
Decoding is performed with belief propagation plus ordered statistics decoding, BP+OSD, following Panteleev–Kovalev (2021). The implementation emphasis, however, is not only on decoding but on a syndrome-extraction schedule tailored to the cyclic structure.
The proposed QCCD layout uses two rows. All data qubits are placed in an upper 1 row, and all ancilla qubits in a lower 2 row. A cyclic-shift primitive 3 permutes ancilla indices so as to align each ancilla with the appropriate block of data qubits. The exposition states that trapped-ion or other "flying-qubit" hardware can realize these long-range cyclic permutations with shuttling (Aydin et al., 12 Nov 2025).
Data qubits are indexed as
4
and ancillas as
5
A syndrome round decomposes into four phases:
- Prepare all ancilla in 6.
- For each monomial 7 in 8, perform a 9 cyclic shift, then simultaneous CX gates
0
and CZ gates
1
followed by measurement/reset of the 2-ancilla in the 3-basis.
- For each monomial 4 in 5, perform a 6 cyclic shift, then simultaneous CX gates
7
and CZ gates
8
followed by measurement/reset of the 9-ancilla in 0.
- Repeat 1 rounds for fault tolerance.
Because the CX and CZ gates associated with each monomial are non-overlapping, each loop executes in a single layer. The resulting two-qubit-gate depth per syndrome round is
2
independent of 3 and 4. Including ancilla preparation and measurement, the total depth for 5 rounds is
6
The paper therefore characterizes the syndrome extraction as constant-depth at LDPC scale. The significance is not merely asymptotic: the depth bound is directly tied to seed-polynomial weights rather than to the block dimensions.
6. Circuit-level performance and comparative interpretation
The reported simulations use standard depolarizing circuit noise in which gate, measure, reset, and idle all occur at physical rate 7. The logical error rate 8 is normalized per round per logical qubit, and a heuristic fit of the form
9
is given, with coefficients 00 tabulated in Appendix Table A1 (Aydin et al., 12 Nov 2025).
At 01, the key values singled out in the exposition are: 02
03
04
These figures support the stated claim of up to three orders of magnitude suppression of logical error at comparable or lower qubit overhead.
The comparison against the surface-code heuristic
05
is reported to show that an LDPC advantage emerges already for modest 06. In addition, plots of 07 versus inverse rate 08 and versus 09 are said to confirm that the C2 family, and even the simpler CxR family, outperform both ML-optimized HGP codes and leading bivariate bicycle codes in many regimes.
The comparative picture is therefore specific rather than absolute. The cyclic construction is reported to improve on earlier HGP codes under full circuit-level noise, and in some cases to exceed leading bivariate bicycle codes in logical error rate and qubit overhead, but the abstract explicitly notes the larger block length of those C2 instances. This suggests that cyclic hypergraph product codes are best understood as a high-performing structured corner of the quantum LDPC design space, distinguished by the joint appearance of exhaustive searchability, favorable 10 tradeoffs with 11, and constant-depth syndrome extraction in a two-row QCCD architecture.