On incorrectness logic for Quantum programs
Peng Yan, Hanru Jiang, Nengkun Yu
摘要
Bug-catching is important for developing quantum programs. Motivated by the incorrectness logic for classical programs, we propose an incorrectness logic towards a logical foundation for static bug-catching in quantum programming. The validity of formulas in this logic is dual to that of quantum Hoare logics. We justify the formulation of validity by an intuitive explanation from a reachability point of view and a comparison against several alternative formulations. Compared with existing works focusing on dynamic analysis, our logic provides sound and complete arguments. We further demonstrate the usefulness of the logic by reasoning several examples, including Grover's search, quantum teleportation, and a repeat-until-success program. We also automate the reasoning procedure by a prototyped static analyzer built on top of the logic rules.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Projection-based runtime assertions for testing and debugging Quantum programs 引用了 Quantum Circuits for Dynamic Runtime Assertions in Quantum Computation
- Calculational Design of Hyperlogics by Abstract Interpretation 引用了 Incorrectness logic
- Calculational Design of Hyperlogics by Abstract Interpretation 引用了 Calculational Design of [In]Correctness Transformational Program Logics by Abstract Interpretation
- Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic 引用了 Incorrectness logic
- Calculational Design of [In]Correctness Transformational Program Logics by Abstract Interpretation 引用了 Local Reasoning About the Presence of Bugs: Incorrectness Separation Logic
- QbC: Quantum Correctness by Construction 引用了 Incorrectness logic
引用它的顶会 Paper7
- An Automata-Based Framework for Verification and Bug Hunting in Quantum CircuitsYu-Fang Chen, Kai-Min Chung, Ondrej Lengál, Jyun-Ao Lin 等PLDI 2023 · 41 次引用
- Calculational Design of [In]Correctness Transformational Program Logics by Abstract InterpretationPatrick CousotPOPL 2024 · 11 次引用
- Calculational Design of Hyperlogics by Abstract InterpretationPatrick Cousot, Jeffery WangPOPL 2025 · 3 次引用
- QbC: Quantum Correctness by ConstructionAnurudh Peduri, Ina Schaefer, Michael WalterOOPSLA 2025 · 3 次引用
- AccelerQ: Accelerating Quantum Eigensolvers with Machine Learning on Quantum SimulatorsAvner Bensoussan, Elena Chachkarova, Karine Even-Mendoza, Sophie Fortz 等OOPSLA 2025 · 1 次引用
它引用的 Paper8
- Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 次引用
- Projection-based runtime assertions for testing and debugging Quantum programsGushu Li, Li Zhou, Nengkun Yu, Yufei Ding 等OOPSLA 2020 · 120 次引用
- Quantum Circuits for Dynamic Runtime Assertions in Quantum ComputationJi Liu, Gregory T. Byrd, Huiyang ZhouASPLOS 2020 · 82 次引用
- Local Reasoning About the Presence of Bugs: Incorrectness Separation LogicAzalea Raad, Josh Berdine, Hoang-Hai Dang, Derek Dreyer 等CAV 2020 · 70 次引用
- Quantum abstract interpretationNengkun Yu, Jens PalsbergPLDI 2021 · 69 次引用
相关 Paper
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
- Verification of Nondeterministic Quantum ProgramsYuan Feng, Yingte XuASPLOS 2023 · 7 次引用
- Revealing Sources of (Memory) Errors via Backward AnalysisFlavio Ascari, Roberto Bruni, Roberta Gori, Francesco LogozzoOOPSLA 2025 · 4 次引用
- Relational proofs for quantum programsGilles Barthe, Justin Hsu, Mingsheng Ying, Nengkun Yu 等POPL 2020 · 29 次引用
- A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logicXuan-Bach Le, Shang-Wei Lin, Jun Sun, David SanánPOPL 2022 · 16 次引用
