一句话:提出 QSymb,自动合成紧凑且具形式保证的量子电路重写规则,显著减少两比特门数量。
量子设备噪声大,缩小电路规模对可靠执行至关重要,但现有规则优化器规则集庞大且漏掉长距离变换。QSymb 形式化符号重写规则,以符号门表示无限多子电路,定义 L;S=S;R 的规范符号规则并证明其构成紧凑生成核心;给定门集后合成小型不可派生具体规则集与表达力强的规范符号规则集,并用 rule anchoring 派生优化规则,规则具可靠性、不可派生性与有界完备性保证。在 IBM-Eagle 与 Nam 门集上,两比特门平均缩减 27.44% 与 29.95%,在多数标准基准上严格优于 Qiskit、Guoq、Quartz、TKET 与 Queso。
Today’s quantum devices are noisy, so reducing circuit size is critical for reliable execution. Existing rule-based optimizers often rely on large rule sets that are difficult to manage and still miss long-distance transformations. We present QSymb, a framework for synthesizing compact and expressive quantum-circuit rewrite rules with formal guarantees. We formalize symbolic rewrite rules in which a symbolic gate represents infinitely many subcircuits. We then define canonical symbolic rules of the form L ; S = S ; R and prove that they constitute a compact generative core from which general symbolic rules can be derived. On top of this formal foundation, given a gate set, QSymb synthesizes (1) a small, non-derivable concrete rule set that is complete up to chosen size and qubit bounds, and (2) a small but expressive canonical symbolic rule set that captures transformations beyond finite or monomial-only patterns. We further present rule anchoring to derive optimization-effective rules from canonical symbolic rules. Together, these results provide both expressiveness and guarantees: soundness of synthesized rules via validation, non-derivability, and bounded completeness. On the IBM-Eagle gate set, QSymb strictly outperforms state-of-the-art rewrite-based optimizers (Qiskit, Guoq, Quartz, TKET, and Queso) in two-qubit-gate reduction on 90%, 67%, 82%, 85%, and 83% of standard quantum algorithm benchmarks, respectively; on Nam gate set, the corresponding rates are 88%, 74%, 81%, 86%, and 82.9%. It achieves final average two-qubit-gate reductions of 27.44% and 29.95%, respectively.
@article{paperbot12097,
title = {Synthesis of Compact and Expressive Quantum-Circuit Optimizations},
author = {Wei Qiang and Ronghui Gu},
journal = {Proceedings of the ACM on Programming Languages},
volume = {10},
number = {OOPSLA2},
year = {2026},
doi = {10.1145/3839450}
}