Symbolic Execution for Quantum Error Correction Programs

被引:0
|
作者
Fang, Wang [1 ,2 ]
Ying, Mingsheng [1 ,3 ]
机构
[1] Chinese Acad Sci, Inst Software, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Beijing, Peoples R China
[3] Tsinghua Univ, Beijing, Peoples R China
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2024年 / 8卷 / PLDI期
基金
国家重点研发计划;
关键词
symbolic execution; stabilizer formalism; COMPUTATION; VERIFICATION;
D O I
10.1145/3656419
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页数:26
相关论文
共 50 条
  • [21] SPOT: Testing Stream Processing Programs with Symbolic Execution and Stream Synthesizing
    Ye, Qian
    Lu, Minyan
    APPLIED SCIENCES-BASEL, 2021, 11 (17):
  • [22] Strategies for scalable symbolic execution-driven test generation for programs
    Krishnamoorthy, Saparya
    Hsiao, Michael S.
    Lingappan, Loganathan
    SCIENCE CHINA-INFORMATION SCIENCES, 2011, 54 (09) : 1797 - 1812
  • [23] Relational symbolic execution of SQL code for unit testing of database programs
    Marcozzi, Michael
    Vanhoof, Wim
    Hainaut, Jean-Luc
    SCIENCE OF COMPUTER PROGRAMMING, 2015, 105 : 44 - 72
  • [24] Symbolic Execution of Floating-point Programs: How far are we?
    Zhang, Guofeng
    Chen, Zhenbang
    Shuai, Ziqi
    2022 29TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC, 2022, : 179 - 188
  • [25] Strategies for scalable symbolic execution-driven test generation for programs
    KRISHNAMOORTHY Saparya
    HSIAO Michael S.
    LINGAPPAN Loganathan
    Science China(Information Sciences), 2011, 54 (09) : 1797 - 1812
  • [26] Runtime Exception Detection in Java']Java Programs Using Symbolic Execution
    Kadar, Istvan
    Hegedus, Peter
    Ferene, Rudolf
    ACTA CYBERNETICA, 2014, 21 (03): : 331 - 352
  • [27] Symbolic execution of floating-point programs: How far are we?
    Yang, Xu
    Zhang, Guofeng
    Shuai, Ziqi
    Chen, Zhenbang
    Wang, Ji
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 220
  • [28] Generating Inductive Predicates for Symbolic Execution of Pointer-Manipulating Programs
    Jansen, Christina
    Goebe, Florian
    Noll, Thomas
    GRAPH TRANSFORMATION, 2014, 8571 : 65 - 80
  • [29] Enhancing Symbolic Execution with Veritesting
    Avgerinos, Thanassis
    Rebert, Alexandre
    Cha, Sang Kil
    Brumley, David
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, : 1083 - 1094
  • [30] symQV: Automated Symbolic Verification of Quantum Programs
    Bauer-Marquart, Fabian
    Leue, Stefan
    Schilling, Christian
    FORMAL METHODS, FM 2023, 2023, 14000 : 181 - 198