NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Determining the upper bound of code distance of quantum stabilizer codes through Monte Carlo method based on fully decoupled belief propagation

Zhipeng Liang, Zicheng Wang, Zhengzhong Yi, Yulin Wu, Chen Qiu, Xuan WangarXiv 2024 · DOI

TL;DR

This paper introduces a novel Monte Carlo-based algorithm to efficiently estimate the upper bound of code distance for quantum stabilizer codes (QSCs). By leveraging a powerful decoding algorithm called Fully Decoupled Belief Propagation (FDBP-OSD), the method provides accurate estimations for various QSCs, including complex XYZ product codes, offering a practical tool for designing better quantum error correction schemes.

What Problem Does This Paper Address?

Quantum computers hold immense promise, but their fragility to environmental noise is a major hurdle. Quantum error correction codes (QECCs) are essential for building fault-tolerant quantum computers, and a key parameter for these codes is their code distance. The code distance dictates how many errors a code can reliably correct. Unfortunately, precisely calculating this distance is an NP-complete problem, meaning it becomes computationally intractable for larger codes. While exact computation is often infeasible, knowing an upper bound on the code distance can still be highly valuable for code design and analysis. Existing methods for determining this upper bound are either computationally expensive or lack generality. This paper aims to bridge this gap by proposing an efficient and accurate method for estimating the upper bound of code distance for a wide range of QSCs.

Methods

The core of this paper is a Monte Carlo-based algorithm for determining the upper bound of code distance. The general idea of Monte Carlo methods is to use random sampling to approximate solutions to complex problems. In this context, the algorithm works by:

  1. Simulating Quantum Error Correction: The process involves repeatedly generating random Pauli errors (X, Y, Z) on a quantum code.
  2. Error Syndrome Calculation: For each generated error, the corresponding error syndrome is computed.
  3. Decoding: A specialized decoding algorithm, Fully Decoupled Belief Propagation with Ordered Statistics Decoding (FDBP-OSD), is used to estimate the original error from the syndrome. FDBP-OSD is highlighted for its high generality (working for both CSS and non-CSS codes) and performance, making it suitable for this task.
  4. Logical Operator Check: The algorithm checks if the difference between the original error and the decoded error corresponds to a logical operator. If it does, it signifies a decoding failure.
  5. Upper Bound Estimation: The algorithm tracks the minimum weight of these detected logical operators across many trials and different physical error rates. This minimum weight serves as the estimated upper bound of the code distance.

The paper emphasizes the use of FDBP-OSD due to its ability to handle correlations introduced by Pauli Y errors, which is a significant advantage over traditional belief propagation methods, especially for non-CSS codes and Y-biased noise.

Datasets

The paper does not introduce new datasets. Instead, it evaluates its algorithm on established quantum stabilizer codes:

  • Planar surface code
  • XZZX surface code
  • Toric codes
  • Z-type Tanner-graph-recursive-expansion (Z-TGRE) codes
  • Chamon codes (a specific type of XYZ product code)

The code distances for the first three are known, serving as benchmarks to validate the algorithm's accuracy. The Z-TGRE codes and Chamon codes are explored for their code distance properties, with theoretical analyses provided for comparison.

Key Insights and Ideas

  • Monte Carlo + FDBP-OSD = Efficient Upper Bound Estimation: The paper demonstrates that combining the probabilistic nature of Monte Carlo methods with the robust decoding capabilities of FDBP-OSD provides an effective way to estimate the upper bound of code distance, overcoming the NP-completeness of exact computation.
  • FDBP-OSD's Broad Applicability: The success of the algorithm across various code types, including non-CSS codes, underscores the importance and generality of the FDBP-OSD decoder.
  • XYZ Product Codes' Promising Distance: The results for Chamon codes strongly suggest that XYZ product codes, a class of non-CSS codes, can achieve a code distance scaling as $O(N^{2/3})$, supporting existing conjectures and indicating their potential for high-performance quantum error correction.
  • Practical Tool for Code Design: The proposed algorithm offers a valuable tool for researchers and engineers when designing new QSCs, especially when direct computation of code distance is prohibitive.

Key Results

  • High Precision for Known Codes: The algorithm accurately determined the upper bound of code distance for planar surface codes, XZZX surface codes, and toric codes, consistent with their known code distances.
  • Z-TGRE Code Validation: The minimum weight of logical X operators for Z-TGRE codes, as determined by the algorithm, matched theoretical predictions.
  • Chamon Code Distance Insights:
    • For Chamon codes with equal repetition lengths ($n_1 = n_2 = n_3 = L$), the upper bound of code distance was found to be $2L$.
  • For Chamon codes with lengths $n_1 = L-1, n_2 = L, n_3 = L+1$, the upper bound was $L(L-1)$.
  • These results imply that XYZ product codes can likely achieve a code distance of $O(N^{2/3})$.

Limitations and Future Work

  • Upper Bound, Not Exact Distance: The method provides an upper bound, not the exact code distance. While valuable, it doesn't replace the need for exact computation when feasible.
  • Dependence on Decoder Performance: The accuracy of the upper bound estimation is inherently tied to the performance of the FDBP-OSD decoder. While FDBP-OSD is shown to be highly effective, its limitations in extreme noise regimes might affect the estimation.
  • Future Work: The paper suggests that this method can be a useful tool for designing new QSCs and exploring the code distance properties of other complex code families. Further investigation into the $O(N^{2/3})$ scaling for XYZ product codes and its implications for fault-tolerant quantum computing is also a natural next step.

Summary updated

BibTeX
@misc{liang2024determining,
  author = {Zhipeng Liang and Zicheng Wang and Zhengzhong Yi and Yulin Wu and Chen Qiu and Xuan Wang},
  title = {{Determining the upper bound of code distance of quantum stabilizer codes through Monte Carlo method based on fully decoupled belief propagation}},
  year = {2024},
  eprint = {2402.06481},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.06481},
}
Figure