Efficient Formal Verification of Quantum Error Correcting Programs. Huang, Q., Zhou, L., Fang, W., Zhao, M., & Ying, M. Proceedings of the ACM on Programming Languages, 9(PLDI):190, Association for Computing Machinery, New York, NY, USA, June, 2025. doi abstract bibtex Quantum error correction (QEC) is fundamental for suppressing noise in quantum hardware and enabling fault-tolerant quantum computation. In this paper, we propose an efficient verification framework for QEC programs. We define an assertion logic and a program logic specifically crafted for QEC programs and establish a sound proof system. We then develop an efficient method for handling verification conditions (VCs) of QEC programs: for Pauli errors, the VCs are reduced to classical assertions that can be solved by SMT solvers, and for non-Pauli errors, we provide a heuristic algorithm. We formalize the proposed program logic in Coq proof assistant, making it a verified QEC verifier. Additionally, we implement an automated QEC verifier, Veri-QEC, for verifying various fault-tolerant scenarios. We demonstrate the efficiency and broad functionality of the framework by performing different verification tasks across various scenarios. Finally, we present a benchmark of 14 verified stabilizer codes.
@article{Huang2025,
author = {Huang, Qifan and Zhou, Li and Fang, Wang and Zhao, Mengyu and Ying, Mingsheng},
title = {Efficient Formal Verification of Quantum Error Correcting Programs},
year = {2025},
publisher = acm,
address = {New York, NY, USA},
volume = {9},
number = {PLDI},
doi = {10.1145/3729293},
abstract = {Quantum error correction (QEC) is fundamental for suppressing noise in quantum hardware and enabling fault-tolerant quantum computation. In this paper, we propose an efficient verification framework for QEC programs. We define an assertion logic and a program logic specifically crafted for QEC programs and establish a sound proof system. We then develop an efficient method for handling verification conditions (VCs) of QEC programs: for Pauli errors, the VCs are reduced to classical assertions that can be solved by SMT solvers, and for non-Pauli errors, we provide a heuristic algorithm. We formalize the proposed program logic in Coq proof assistant, making it a verified QEC verifier. Additionally, we implement an automated QEC verifier, Veri-QEC, for verifying various fault-tolerant scenarios. We demonstrate the efficiency and broad functionality of the framework by performing different verification tasks across various scenarios. Finally, we present a benchmark of 14 verified stabilizer codes.},
journal = pacmpl,
month = jun,
eid = {190},
pages = {190},
numpages = {26},
keywords = {Formal verification, Hoare logic, Quantum error correction, Quantum programming language},
webnote = {PLDI '25},
bibsource = qplbib
}
Downloads: 0
{"_id":"LrMKfya2j5k8JRnd8","bibbaseid":"huang-zhou-fang-zhao-ying-efficientformalverificationofquantumerrorcorrectingprograms-2025","author_short":["Huang, Q.","Zhou, L.","Fang, W.","Zhao, M.","Ying, M."],"bibdata":{"bibtype":"article","type":"article","author":[{"propositions":[],"lastnames":["Huang"],"firstnames":["Qifan"],"suffixes":[]},{"propositions":[],"lastnames":["Zhou"],"firstnames":["Li"],"suffixes":[]},{"propositions":[],"lastnames":["Fang"],"firstnames":["Wang"],"suffixes":[]},{"propositions":[],"lastnames":["Zhao"],"firstnames":["Mengyu"],"suffixes":[]},{"propositions":[],"lastnames":["Ying"],"firstnames":["Mingsheng"],"suffixes":[]}],"title":"Efficient Formal Verification of Quantum Error Correcting Programs","year":"2025","publisher":"Association for Computing Machinery","address":"New York, NY, USA","volume":"9","number":"PLDI","doi":"10.1145/3729293","abstract":"Quantum error correction (QEC) is fundamental for suppressing noise in quantum hardware and enabling fault-tolerant quantum computation. In this paper, we propose an efficient verification framework for QEC programs. We define an assertion logic and a program logic specifically crafted for QEC programs and establish a sound proof system. We then develop an efficient method for handling verification conditions (VCs) of QEC programs: for Pauli errors, the VCs are reduced to classical assertions that can be solved by SMT solvers, and for non-Pauli errors, we provide a heuristic algorithm. We formalize the proposed program logic in Coq proof assistant, making it a verified QEC verifier. Additionally, we implement an automated QEC verifier, Veri-QEC, for verifying various fault-tolerant scenarios. We demonstrate the efficiency and broad functionality of the framework by performing different verification tasks across various scenarios. Finally, we present a benchmark of 14 verified stabilizer codes.","journal":"Proceedings of the ACM on Programming Languages","month":"June","eid":"190","pages":"190","numpages":"26","keywords":"Formal verification, Hoare logic, Quantum error correction, Quantum programming language","webnote":"PLDI '25","bibsource":"Quantum Programming Languages & Verification Bibliography, https://git.io/qpl-bib","bibtex":"@article{Huang2025,\n author = {Huang, Qifan and Zhou, Li and Fang, Wang and Zhao, Mengyu and Ying, Mingsheng},\n title = {Efficient Formal Verification of Quantum Error Correcting Programs},\n year = {2025},\n publisher = acm,\n address = {New York, NY, USA},\n volume = {9},\n number = {PLDI},\n doi = {10.1145/3729293},\n abstract = {Quantum error correction (QEC) is fundamental for suppressing noise in quantum hardware and enabling fault-tolerant quantum computation. In this paper, we propose an efficient verification framework for QEC programs. We define an assertion logic and a program logic specifically crafted for QEC programs and establish a sound proof system. We then develop an efficient method for handling verification conditions (VCs) of QEC programs: for Pauli errors, the VCs are reduced to classical assertions that can be solved by SMT solvers, and for non-Pauli errors, we provide a heuristic algorithm. We formalize the proposed program logic in Coq proof assistant, making it a verified QEC verifier. Additionally, we implement an automated QEC verifier, Veri-QEC, for verifying various fault-tolerant scenarios. We demonstrate the efficiency and broad functionality of the framework by performing different verification tasks across various scenarios. Finally, we present a benchmark of 14 verified stabilizer codes.},\n journal = pacmpl,\n month = jun,\n eid = {190},\n pages = {190},\n numpages = {26},\n keywords = {Formal verification, Hoare logic, Quantum error correction, Quantum programming language},\n webnote = {PLDI '25},\n bibsource = qplbib\n}\n\n","author_short":["Huang, Q.","Zhou, L.","Fang, W.","Zhao, M.","Ying, M."],"key":"Huang2025","id":"Huang2025","bibbaseid":"huang-zhou-fang-zhao-ying-efficientformalverificationofquantumerrorcorrectingprograms-2025","role":"author","urls":{},"keyword":["Formal verification","Hoare logic","Quantum error correction","Quantum programming language"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://raw.githubusercontent.com/QuantumPL/bib/main/bbt.bib","dataSources":["JG9W34HAXfSxsC6ML"],"keywords":["formal verification","hoare logic","quantum error correction","quantum programming language"],"search_terms":["efficient","formal","verification","quantum","error","correcting","programs","huang","zhou","fang","zhao","ying"],"title":"Efficient Formal Verification of Quantum Error Correcting Programs","year":2025}