Constructing quantum codes from any classical code and their embedding in ground space of local Hamiltonians

Ramis Movassagh, Yingkai Ouyang · DOI

Abstract

Implementing robust quantum error correction (QEC) is imperative for harnessing the promise of quantum technologies. We introduce a framework that takes any classical code and explicitly constructs the corresponding QEC code. Our framework generalizes CSS codes and extends beyond the stabilizer formalism. A concrete advantage is that the desirable properties of a classical code are automatically incorporated into the resulting quantum code. We demonstrate this by constructing codes that outperform previous benchmarks and by embedding them into the ground space of local 1D Hamiltonians, achieving linear distance and sidestepping the Bravyi-Terhal no-go theorem.

Introduction

Quantum computers are notoriously fragile. Unlike classical bits, which only suffer from bit-flips ($0 \to 1$), quantum bits (qubits) are susceptible to both bit-flips and phase-flips. Standard Quantum Error Correction (QEC) often relies on the stabilizer formalism or CSS codes, which require specific, linear, self-orthogonal classical codes as their foundation. This requirement significantly limits the "toolbox" available to quantum engineers, as many powerful classical codes cannot be easily translated into the quantum domain.

Furthermore, a significant physical challenge exists: we want quantum codes to reside in the ground space (the lowest energy state) of simple, local Hamiltonians. This makes them naturally stable against environmental noise. However, a famous result known as the Bravyi-Terhal no-go theorem suggests that in one dimension (1D), you cannot have "good" stabilizer codes where the error-correcting distance grows linearly with the number of qubits. This paper introduces a framework that breaks these boundaries by moving beyond the stabilizer paradigm.

The proposed framework generalizes existing QEC paradigms, including CSS, Stabilizer, and Codeword Stabilized codes.

The "A-Matrix" Framework

The core of this work is an algorithmic method to transform any classical code $C$ into logical quantum states $|0_L\rangle$ and $|1_L\rangle$. Instead of relying on the group-theoretic structures of stabilizers, the researchers map the Knill-Laflamme (KL) criteria—the fundamental conditions for quantum error correction—onto a linear algebra problem.

By defining a specific "A-matrix" based on the classical codewords and solving for its nullspace, the framework identifies the exact amplitudes needed to balance protection against bit-flip and phase-flip errors. This approach identifies "non-stabilizer" codes that can outperform the best known stabilizer constructions in certain regimes. For instance, the method is particularly effective at creating "constant excitation" codes, which are vital for physical systems where total energy or particle number must remain fixed.

Embedding in Local Hamiltonians and Sidestepping No-Go Theorems

The researchers introduce a new 2-local quantum spin-chain Hamiltonian where interactions occur only between neighboring particles. They analytically solve for its ground space and demonstrate that it is spanned by product states corresponding to classical strings with "forbidden substrings."

A key insight of this work is that we shouldn't just "force" a code onto a system. Instead, we can look at the constraints nature provides—like the ground space of a spin chain—and use this framework to find the best classical code that "fits" those constraints. By utilizing non-stabilizer codes within this framework, they prove that 1D systems can host codes with linear distance ($d = \Theta(N)$). This is a significant theoretical leap, as it demonstrates that "good" codes can exist in 1D local systems if the code is defined as a strict subspace of the ground space rather than the entire space.

Key Results and Performance

The framework's utility is validated through several key findings:

  • Universal Mapping: The Steane code is recovered as the unique solution when the input is a $[7,4,3]$ Hamming code, showing the framework's consistency with established theory.
  • Linear Distance in 1D: For spin-$s$ chains ($s > 1$), the authors prove the existence of quantum codes with distance $d = \Theta(N)$, overcoming previous logarithmic limits.
  • Efficiency: The recursive algorithm used to find these codes is shown to succeed with high probability for random classical codes, suggesting that "good" quantum codes are abundant within this framework.
  • Superior Scaling: As shown in the comparison below, the new framework provides exact QEC with linear distance scaling, whereas previous methods were limited to logarithmic scaling or approximate correction.
Comparison of properties between previous work (Brandao et al.) and the current framework, highlighting improvements in distance and code space.

Conclusion and Future Work

This work provides a universal bridge between classical and quantum coding theory, offering a path to more robust quantum memories. While it successfully constructs high-performance codes, several challenges remain for practical implementation. Future research is needed to develop systematic and efficient decoding schemes to correct errors in real-time. Additionally, evaluating the fault-tolerant properties of these non-stabilizer codes and characterizing the "spectral gap" (the energy required to excite the system out of the ground space) for the proposed Hamiltonians are critical next steps.

Summary updated

BibTeX
@article{movassagh2024constructing,
  author = {Ramis Movassagh and Yingkai Ouyang},
  title = {{Constructing quantum codes from any classical code and their embedding in ground space of local Hamiltonians}},
  journal = {Quantum},
  year = {2024},
  doi = {10.22331/q-2024-11-27-1541},
}
Figure