Lune

PLDI2024Top-tier venue

Symbolic Execution for Quantum Error Correction Programs

Wang Fang, Mingsheng Ying

Abstract

We define QSE, a symbolic execution framework for quantum programs by integrating symbolic variables into quantum states and the outcomes of quantum measurements. The soundness of QSE is established through a theorem that ensures the correctness of symbolic execution within operational semantics. We further introduce symbolic stabilizer states, which symbolize the phases of stabilizer generators, for the efficient analysis of quantum error correction (QEC) programs. Within the QSE framework, we can use symbolic expressions to characterize the possible discrete Pauli errors in QEC, providing a significant improvement over existing methods that rely on sampling with simulators. We implement QSE with the support of symbolic stabilizer states in a prototype tool named QuantumSE.jl. Our experiments on representative QEC codes, including quantum repetition codes, Kitaev's toric codes, and quantum Tanner codes, demonstrate the efficiency of QuantumSE.jl for debugging QEC programs with over 1000 qubits. In addition, by substituting concrete values in symbolic expressions of measurement results, QuantumSE.jl is also equipped with a sampling feature for stabilizer circuits. Despite a longer initialization time than the state-of-the-art stabilizer simulator, Google's Stim, QuantumSE.jl offers a quicker sampling rate in the experiments.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Verifying Fault-Tolerance of Quantum Error Correction Codes cites Projection-based runtime assertions for testing and debugging Quantum programs
  • Verifying Fault-Tolerance of Quantum Error Correction Codes cites Quantum Tanner codes
  • Projection-based runtime assertions for testing and debugging Quantum programs cites A verified optimizer for Quantum circuits
  • Efficient Formal Verification of Quantum Error Correcting Programs cites Quantum Tanner codes
  • Efficient Formal Verification of Quantum Error Correcting Programs cites A verified optimizer for Quantum circuits
  • Quantum Tanner codes cites Asymptotically good Quantum and locally testable classical LDPC codes
  • Parameterized Verification of Quantum Circuits cites Verifying Fault-Tolerance of Quantum Error Correction Codes
  • Parameterized Verification of Quantum Circuits cites Efficient Formal Verification of Quantum Error Correcting Programs
  • Good Quantum LDPC Codes with Linear Time Decoders cites Asymptotically good Quantum and locally testable classical LDPC codes
  • Good Quantum LDPC Codes with Linear Time Decoders cites Quantum Tanner codes
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Efficient Formal Verification of Quantum Error Correcting ProgramsQifan Huang, Li Zhou, Wang Fang, Mengyu Zhao et al.PLDI 2025 · 15 citations
  2. Verifying Fault-Tolerance of Quantum Error Correction CodesKean Chen, Yuhao Liu, Wang Fang, Jennifer Paykin et al.CAV 2025 · 6 citations
  3. Quantum Concolic TestingShangzhou Xia, Jianjun Zhao, Fuyuan Zhang, Xiaoyu GuoISSTA 2025 · 4 citations
  4. Parameterized Verification of Quantum CircuitsParosh Aziz Abdulla, Yu-Fang Chen, Michal Hecko, Lukás Holík et al.POPL 2026 · 3 citations
  5. RapunSL: Untangling Quantum Computing with Separation, Linear Combination and MixingYusuke Matsushita, Kengo Hirata, Ryo Wakizaka, Emanuele D'OsualdoPOPL 2026 · 1 citation

Builds on19

  1. Asymptotically good Quantum and locally testable classical LDPC codesPavel Panteleev, Gleb KalachevSTOC 2022 · 214 citations
  2. Quantum Tanner codesAnthony Leverrier, Gilles ZémorFOCS 2022 · 121 citations
  3. Projection-based runtime assertions for testing and debugging Quantum programsGushu Li, Li Zhou, Nengkun Yu, Yufei Ding et al.OOPSLA 2020 · 120 citations
  4. A verified optimizer for Quantum circuitsKesha Hietala, Robert Rand, Shih-Han Hung, Xiaodi Wu et al.POPL 2021 · 111 citations
  5. Good Quantum LDPC Codes with Linear Time DecodersIrit Dinur, Min-Hsiu Hsieh, Ting-Chun Lin, Thomas VidickSTOC 2023 · 83 citations

Related papers

  1. SymPhase: Phase Symbolization for Fast Simulation of Stabilizer CircuitsWang Fang, Mingsheng YingDAC 2024 · 1 citation
  2. Hybrid Path-Sums for Hybrid Quantum ProgramsChristophe Chareton, Jad Issa, Mathieu Nguyen, Nicolas Blanco et al.PLDI 2026
  3. symQV: Automated Symbolic Verification of Quantum ProgramsFabian Bauer-Marquart, Stefan Leue, Christian SchillingFM 2023 · 37 citations
  4. QSeqSim: A Symbolic Simulator for Qiskit While Loops Using Sequential Quantum Circuits (Long Tool Paper)Zihao Li, Ji Guan, Mingsheng YingFM 2026
  5. Verifying Quantum Circuits with Level-Synchronized Tree AutomataParosh Aziz Abdulla, Yo-Ga Chen, Yu-Fang Chen, Lukás Holík et al.POPL 2025 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines