Relational Verification for Cost-Aware Quantum Program Optimization
Ziming Zhao, Tingting Li, Zhaoxuan Li, Jianwei Yin
Abstract
Optimizing quantum programs is key to mitigating noise, reducing error-correction overhead, and improving performance on both near-term and fault-tolerant devices. Existing heuristic and learning-based optimizers, however, lack formal guarantees and risk semantic errors in the presence of entanglement and measurement. We present RelOpt, a semanticspreserving optimizer that enforces relational correctness between original and optimized programs. RelOpt is built on a lightweight intermediate language (QCore) with a relational operational semantics supporting partial-trace equivalence, measurement-distribution preservation, and approximate correctness. Optimization is guided by a multi-objective cost model that considers gate count, circuit depth, and errorcorrection cost. Only rewrite rules that are formally verified against user-specified contracts are applied. The engine combines symbolic simulation, SMT reasoning, and cost analysis to achieve safe and effective optimizations. On standard benchmarks such as QFT, Grover, and QAOA, RelOpt consistently outperforms Qiskit, t|ket⟩, and learning-based optimizers across multiple cost metrics while maintaining formal guarantees. By integrating formal verification with costaware compilation, RelOpt establishes a foundation for trustworthy and hardware-adaptive quantum toolchains.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f239fb74-51d0-4465-ad8a-4e67be294b4cBuilds on6
- symQV: Automated Symbolic Verification of Quantum ProgramsFabian Bauer-Marquart, Stefan Leue, Christian SchillingFM 2023 · 37 citations
- Relational proofs for quantum programsGilles Barthe, Justin Hsu, Mingsheng Ying, Nengkun Yu et al.POPL 2020 · 29 citations
- Software-Hardware Co-Optimization for Computational Chemistry on Superconducting Quantum ProcessorsGushu Li, Yunong Shi, Ali Javadi-AbhariISCA 2021 · 27 citations
- Synthetiq: Fast and Versatile Quantum Circuit SynthesisAnouk Paradis, Jasper Dekoninck, Benjamin Bichsel, Martin T. VechevOOPSLA 2024 · 17 citations
- A Quantum Interpretation of Bunched Logic & Quantum Separation LogicLi Zhou, Gilles Barthe, Justin Hsu, Mingsheng Ying et al.LICS 2021 · 17 citations
Related papers
- Synthesizing Quantum-Circuit OptimizersAmanda Xu, Abtin Molavi, Lauren Pick, Swamit Tannu et al.PLDI 2023 · 41 citations
- Synthesis of Compact and Expressive Quantum-Circuit OptimizationsWei Qiang, Ronghui GuOOPSLA 2026
- Quartz: superoptimization of Quantum circuitsMingkuan Xu, Zikun Li, Oded Padon, Sina Lin et al.PLDI 2022 · 57 citations
- Verifying Fault-Tolerance of Quantum Error Correction CodesKean Chen, Yuhao Liu, Wang Fang, Jennifer Paykin et al.CAV 2025 · 6 citations
- Approximate Relational Reasoning for Quantum ProgramsPeng Yan, Hanru Jiang, Nengkun YuCAV 2024 · 4 citations
