High-distance codes with transversal Clifford and T-gates

Shubham P. Jain, Victor V. Albert

Abstract

Fault-tolerant quantum computing requires universal gate sets, yet implementing the non-Clifford T-gate remains a significant resource bottleneck. This paper presents three new families of quantum stabilizer codes—doubly even CSS, weak triply even, and triorthogonal codes—that achieve record-breaking qubit efficiency for distances up to $d=31$. By utilizing classical quadratic-residue (QR) codes and a recursive "doubling" construction, these codes enable transversal T-gates, potentially offering a more compact alternative to the high overhead of magic state distillation.

Introduction

To build a useful quantum computer, we need Quantum Error Correction (QEC). A major hurdle in QEC is implementing a "universal" set of gates fault-tolerantly. While Clifford gates (like CNOT or Hadamard) are relatively easy to implement on many codes, they are insufficient for universal computation. We require a "hard" gate, typically the T-gate.

The standard method for implementing a T-gate is through Magic State Distillation (MSD), but this process is notoriously resource-intensive, often consuming the vast majority of a quantum computer's qubits. An alternative is to design codes where the T-gate is transversal—meaning the logical gate is applied by simply applying physical T-gates to each individual qubit. However, finding codes that are both transversal for T-gates and have a high distance (the ability to correct many errors) without requiring thousands of qubits has been an ongoing challenge.

Methodology: Code Families and the Doubling Construction

The authors construct three distinct families of codes encoding a single logical qubit ($k=1$):

  1. Doubly Even CSS Codes: These admit transversal implementations of the entire Clifford group.
  2. Weak Triply Even Codes: Derived from the first family, these admit a purely transversal logical T-gate.
  3. Triorthogonal Codes: These offer even lower qubit overhead but require a few additional "easy" Clifford gates (like S or CZ) to complete the logical T-gate.
Relationships between various code families supporting transversal gates.

The core technique involves leveraging classical Quadratic-Residue (QR) codes and self-dual codes. The authors use a "doubling procedure"—a recursive mapping that takes a code with certain properties and "doubles" its structure to produce a new code with higher distance and the specific divisibility properties required for transversal T-gates.

Key Insights

  • QR Codes as Optimal Seeds: The authors found that classical QR codes (like the famous Golay code) are exceptionally well-suited for quantum conversion. They identified that these codes provide the shortest known qubit lengths for transversal Clifford gates at distances up to 31.
  • The Power of Doubling: The doubling map is a versatile tool. By applying it to doubly even codes, the authors "boosted" the code's properties to satisfy the "triply even" requirement needed for T-gates, while maintaining a relatively low qubit count.
  • Triorthogonal vs. Triply Even Trade-off: The paper highlights a crucial design choice: if you are willing to perform a few extra Clifford corrections after your transversal T-gate, triorthogonal codes are significantly more compact than "purely" transversal triply even codes.
  • Square Root Scaling: While these codes are not "Low-Density Parity-Check" (LDPC), the weights of their stabilizer generators scale as $O(\sqrt{n})$. This is a favorable middle ground between local codes (constant weight) and generic global codes.

Results and Efficiency Gains

The authors produced a list of the most qubit-efficient codes to date for distances up to $d=31$ that support transversal T-gates. For a distance of 31, their triorthogonal construction requires significantly fewer qubits than previous state-of-the-art methods like doubled color codes. Notable benchmarks include a [[95, 1, 7]] triply even code and a [[49, 1, 5]] code.

Comparison of code parameters for self-dual, self-dual CSS, and triorthogonal code families.

Comparative analysis demonstrates that these QR-based and triorthogonal families consistently outperform established families like standard (SD) and doubled color (DC) codes in terms of physical qubit count ($n$) versus distance ($d$).

Limitations and Future Work

Because the stabilizer weights grow with the code length ($O(\sqrt{n})$), these codes may be harder to implement on hardware with limited connectivity compared to qLDPC codes. Additionally, the current work focuses on encoding one logical qubit ($k=1$). Characterizing these codes for $k > 1$ (multiple logical qubits) while maintaining high rates is an important open question. Finally, there are still gaps in the available distances; the authors suggest that looking for degenerate versions of these codes might fill these gaps.

Summary updated

BibTeX
@article{jain2025high,
  author = {Shubham P. Jain and Victor V. Albert},
  title = {{High-distance codes with transversal Clifford and T-gates}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2025},
  doi = {10.1109/jsait.2025.3570832},
}
Figure