Relational Verification for Cost-Aware Quantum Program Optimization
DOI:
https://doi.org/10.1609/aaai.v40i17.38457Abstract
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 semantics-preserving 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 error-correction 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 cost-aware compilation, RelOpt establishes a foundation for trustworthy and hardware-adaptive quantum toolchains.Downloads
Published
2026-03-14
How to Cite
Zhao, Z., Li, T., Li, Z., & Yin, J. (2026). Relational Verification for Cost-Aware Quantum Program Optimization. Proceedings of the AAAI Conference on Artificial Intelligence, 40(17), 14414–14422. https://doi.org/10.1609/aaai.v40i17.38457
Issue
Section
AAAI Technical Track on Constraint Satisfaction and Optimization