Lune

AAAI2026Top-tier venue

Relational Verification for Cost-Aware Quantum Program Optimization

Ziming Zhao, Tingting Li, Zhaoxuan Li, Jianwei Yin

2026Year

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext f239fb74-51d0-4465-ad8a-4e67be294b4c

Builds on6

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines