一句话:提出 QUESO,按量子设备自动合成带高概率正确性保证的量子电路优化器。
近期待量子计算机每个操作都有噪声且无纠错,量子电路优化器被用于减少噪声操作。但新物理基底或设备改动会导致优化器需大量重写。本文提出 QUESO,为给定量子设备自动合成优化器。其关键技术包括:用代数方法表示重写规则及其语义;将量子电路等价性概率验证归约为特殊形式的多项式恒等测试;提出多项式恒等过滤器(PIF)以高效合成重写规则;并用束搜索应用符号重写规则优化电路。实验表明,QUESO 约 1.2 分钟即可为 IBM 量子计算机合成具有高概率正确性保证的优化器,在多样化基准套件的 85% 电路上显著优于 Qiskit 和 TKET 等主流编译器。
Near-term quantum computers are expected to work in an environment where each operation is noisy, with no error correction. Therefore, quantum-circuit optimizers are applied to minimize the number of noisy operations. Today, physicists are constantly experimenting with novel devices and architectures. For every new physical substrate and for every modification of a quantum computer, we need to modify or rewrite major pieces of the optimizer to run successful experiments. In this paper, we present QUESO, an efficient approach for automatically synthesizing a quantum-circuit optimizer for a given quantum device. For instance, in 1.2 minutes, QUESO can synthesize an optimizer with high-probability correctness guarantees for IBM computers that significantly outperforms leading compilers, such as IBM's Qiskit and TKET, on the majority (85%) of the circuits in a diverse benchmark suite. A number of theoretical and algorithmic insights underlie QUESO: (1) An algebraic approach for representing rewrite rules and their semantics. This facilitates reasoning about complex symbolic rewrite rules that are beyond the scope of existing techniques. (2) A fast approach for probabilistically verifying equivalence of quantum circuits by reducing the problem to a special form of polynomial identity testing . (3) A novel probabilistic data structure, called a polynomial identity filter (PIF), for efficiently synthesizing rewrite rules. (4) A beam-search-based algorithm that efficiently applies the synthesized symbolic rewrite rules to optimize quantum circuits.
@article{paperbot1970,
title = {Synthesizing Quantum-Circuit Optimizers},
author = {Amanda Xu and Abtin Molavi and Lauren Pick and Swamit Tannu and Aws Albarghouthi},
journal = {Proceedings of the ACM on Programming Languages},
volume = {7},
number = {PLDI},
year = {2023},
doi = {10.1145/3591254}
}