arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.03429cs.LGquant-ph
收藏

使用强化学习和图神经网络通过ZX图优化量子线路

Optimizing Quantum Circuits via ZX Diagrams using Reinforcement Learning and Graph Neural Networks

Alexander Mattick, Maniraman Periyasamy, Christian Ufrecht, Abhishek Y. Dubey, Christopher Mutschler, Axel Plinge, Daniel D. Scherer

AI总结:

提出基于ZX calculus、图神经网络和强化学习的量子线路优化框架,通过训练直接作用于ZX图的强化学习策略结合树搜索,有效减少CNOT门数量,展现竞争力与泛化能力。

摘要:

量子计算目前受到噪声的严重影响,特别是由双量子比特门应用引入的噪声。因此,在含噪中等规模量子硬件上,减少双量子比特门的数量至关重要。为了迈向更可靠的量子计算,我们引入了一个基于ZX calculus、图神经网络和强化学习的量子线路优化框架。通过结合强化学习和树搜索,我们的方法解决了选择ZX calculus重写规则最优序列的挑战。我们的方法不依赖现有的启发式规则来最小化线路,而是训练了一种直接在ZX图上运行的新型强化学习策略,从而允许我们搜索所有可能的线路转换空间,以找到显著减少CNOT门数量的线路。这样我们就能超越硬编码规则,发现任意的优化规则。我们展示了该方法在最先进的线路优化器上的竞争力,以及在大规模多样化随机线路集上的泛化能力。

英文摘要:

Quantum computing is currently strongly limited by the impact of noise, in particular introduced by the application of two-qubit gates. For this reason, reducing the number of two-qubit gates is of paramount importance on noisy intermediate-scale quantum hardware. To advance towards more reliable quantum computing, we introduce a framework based on ZX calculus, graph-neural networks and reinforcement learning for quantum circuit optimization. By combining reinforcement learning and tree search, our method addresses the challenge of selecting optimal sequences of ZX calculus rewrite rules. Instead of relying on existing heuristic rules for minimizing circuits, our method trains a novel reinforcement learning policy that directly operates on ZX-graphs, therefore allowing us to search through the space of all possible circuit transformations to find a circuit significantly minimizing the number of CNOT gates. This way we can scale beyond hard-coded rules towards discovering arbitrary optimization rules. We demonstrate our method's competetiveness with state-of-the-art circuit optimizers and generalization capabilities on large sets of diverse random circuits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑