Papers
Topics
Authors
Recent
Search
2000 character limit reached

C2 Codes: Quantum, Classical & Geometric Insights

Updated 16 November 2025
  • C2 codes are families of codes defined in quantum, classical, and geometric contexts, each with unique algebraic, combinatorial, or geometric structures.
  • In the quantum setting, C2 codes use hypergraph product constructions from cyclic codes to achieve low logical error rates and constant-depth syndrome extraction, enhancing fault tolerance.
  • In classical and geometric frameworks, quasi-cyclic codes of index 2 and complex spherical 2-codes provide precise duality conditions and optimal distance bounds, enabling efficient error correction and design of tight two-distance sets.

C2 codes refer to several distinct, highly structured families of codes that arise in classical and quantum information theory as well as combinatorial geometry. These include: (1) quantum hypergraph product codes constructed from the product of a cyclic code with itself; (2) quasi-cyclic codes of index 2 in classical coding theory; and (3) complex spherical two-distance sets—often called complex 2-codes—in geometric coding theory. Each context confers a precise algebraic, combinatorial, or geometric structure and offers unique optimality or performance properties relative to their domain.

1. Quantum Hypergraph Product Codes from Cyclic Codes: The “C2” Construction

C2 codes in the context of quantum error correction are quantum low-density parity-check (LDPC) codes formed as a hypergraph product (HGP) of a binary cyclic code with itself. Given a classical cyclic code CC of length nn and dimension kk with minimum distance dCd_C, its parity-check matrix HH is circulant, with each row being a cyclic shift of a generator vector of weight ww. The hypergraph product quantum code is constructed via Calderbank-Shor-Steane (CSS) checks as: HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}]. This yields code parameters:

  • Blocklength: N=n2+(n−k)2N = n^2 + (n-k)^2
  • Number of logical qubits: K=k2K = k^2
  • Minimum distance: d=dCd = d_C (when nn0, as is often achievable in cyclic families).

Notably, both nn1- and nn2-type stabilizer generators are regular of weight nn3, enforcing uniform low-weight checks. C2 codes systematically outperform prior HGPs (optimized with progressive edge growth, simulated annealing, RL, etc.): for example, the code nn4 (from nn5 cyclic) achieves per-round logical error rate nn6 at nn7 with nn8 overhead, while nn9 attains kk0 with overhead kk1, significantly lower than surface or bivariate bicycle codes.

C2 codes are particularly suited for trapped ion (QCCD) architectures, supporting a planar cyclic layout that enables regular, constant-depth syndrome extraction: syndrome rounds proceed via cyclically shifting ancillae and enacting CNOT/CZ gates with aligned data, requiring depth kk2 per round, independent of kk3.

2. Classification and Structure of Quasi-Cyclic Codes of Index 2 (“QC Index 2” Codes)

In classical coding theory, a quasi-cyclic code of index 2 and length kk4 over kk5 is defined as a code invariant under shift by kk6, or equivalently as an kk7-submodule of kk8 where kk9. Every such code dCd_C0 has a unique characterization: dCd_C1 where dCd_C2 divide dCd_C3, and dCd_C4, with dCd_C5 dividing dCd_C6. The dimension is dCd_C7. When dCd_C8, a one-generator criterion holds: dCd_C9.

Duals with respect to the standard (Euclidean), symplectic, and Hermitian inner products are fully described. For instance, the Euclidean dual admits generators: HH0 where HH1. Self-orthogonality and dual-containing properties have explicit algebraic conditions, and analogous statements hold under symplectic and Hermitian forms.

Minimum distance is bounded below by

HH2

where HH3, HH4, HH5, HH6. This lower bound can be tight, as in explicit constructions over HH7 for small HH8 (e.g., the unique HH9 code with ww0, ww1, ww2) (Abdukhalikov et al., 1 Apr 2025).

3. Complex Spherical 2-Codes (“C₂-codes”): Geometric Two-Distance Sets

In combinatorial geometry, a complex spherical 2-code is a finite subset ww3 of the unit sphere in ww4 such that the angle set ww5 has cardinality ww6, with the two values being nonreal (conjugate) complex numbers. The existence and tightness of such sets are governed by the structure of associated tournaments and certain matrix conditions:

  • If ww7 is odd, the absolute bound is ww8, tightness if and only if the tournament on ww9 (given by “angle HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].0”) is doubly regular of order HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].1.
  • If HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].2 is even, HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].3, with equality if and only if HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].4 is a skew Hadamard matrix of order HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].5.

Explicit tight examples exist via skew-symmetric D-optimal designs (e.g., for HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].6, Paley’s HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].7 skew Hadamard matrix yields a tight 2-code in HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].8).

The embedding dimension of the associated tournament into HX=[H⊗In∣In−k⊗HT],      HZ=[In⊗H∣HT⊗In−k].H_X = [H \otimes I_n \mid I_{n-k} \otimes H^{T}], \;\;\; H_Z = [I_n \otimes H \mid H^{T} \otimes I_{n-k}].9 is determined by the spectrum of its Seidel matrix N=n2+(n−k)2N = n^2 + (n-k)^20. Representation dimension minimization relies on eigenvalue multiplicities and the so-called main angle (overlap with the all-ones vector), establishing exact embedding parameters via analytic formulas based on spectral interlacing and rank-one perturbation theory (Nozaki et al., 2015).

4. Tables of Representative Parameters and Performance

For quantum C2 codes, codes identified via exhaustive search (for N=n2+(n−k)2N = n^2 + (n-k)^21, N=n2+(n−k)2N = n^2 + (n-k)^22) have the following representative parameters:

Code [[N,K,d]] Classical C [n,k,N=n2+(n−k)2N = n^2 + (n-k)^23] Weight N=n2+(n−k)2N = n^2 + (n-k)^24 Overhead N=n2+(n−k)2N = n^2 + (n-k)^25
[[450, 32, 8]] [15, 7, 8] 3 N=n2+(n−k)2N = n^2 + (n-k)^2614.1
[[882, 98, 8]] [21, 7, 8] 4 9.0
[[882, 50, 10]] [21, 5, 10] 3 17.6

Corresponding logical error rates (per qubit per round, depolarizing noise N=n2+(n−k)2N = n^2 + (n-k)^27):

Code Logical Error Rate Overhead Distance N=n2+(n−k)2N = n^2 + (n-k)^28
[[450, 32, 8]] N=n2+(n−k)2N = n^2 + (n-k)^29 14.1 8
[[882, 50, 10]] K=k2K = k^20 17.6 10
Surface [[113,1,8]] K=k2K = k^21 113 8

These C2 codes exhibit logical error rates up to three orders of magnitude better than previous LDPC and surface codes at significantly reduced physical overhead.

5. Trade-offs, Advantages, and Limitations

Key trade-offs for quantum C2 codes include:

  • Pros: Constant-depth and fully parallel syndrome extraction; regular low-weight stabilizers; constant encoding rate in the asymptotic limit (K=k2K = k^22); minimum distance grows linearly with that of the constituent cyclic code.
  • Cons: Block length K=k2K = k^23 scales quadratically with K=k2K = k^24, producing large code "patches" for high minimum distance; implementation of cyclic shifts may conflict with hardware connectivity, especially for large K=k2K = k^25 or generator weight K=k2K = k^26.

For quasi-cyclic codes of index 2, algebraic characterizations ensure tractable generator and dual structure, but the block size and generator constraints may limit certain rate-distance combinations. Tightness in complex spherical 2-codes is fully characterized and only realized for highly restricted combinatorial structures (doubly regular tournaments, skew Hadamard matrices), imposing severe constraints on dimensions and cardinalities.

6. Future Directions and Open Problems

Potential directions for advancing quantum C2 codes include exploring codes with increased generator weight K=k2K = k^27 to raise K=k2K = k^28, combining cyclic symmetry with graph-expansion methods such as progressive edge growth, and optimizing circuit schedules for simultaneous logical operations and ancilla shifts. Design of fault-tolerant logical gates (using lattice surgery or code-switching) and hardware-specific optimizations (for overlap between cyclic shifts and quantum gates) remain open for achieving further performance gains.

In classical quasi-cyclic codes of index 2, extension to higher index or composite-length settings, and exploitation of symplectic or Hermitian duality structures for cryptographic or post-quantum applications, remain active research streams.

The classification of tight and maximal complex spherical 2-codes is complete up to isomorphism; however, the construction of new families connected to previously unclassified combinatorial designs or the realization of such sets in physical quantum state deployments present plausible future investigations.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to C2 Codes.