arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.04508quant-phcs.ETcs.LG
收藏

基于强化学习的量子计算编译器优化

Compiler Optimization for Quantum Computing Using Reinforcement Learning

Technical University of Munich(慕尼黑工业大学);Johannes Kepler University Linz(约翰内斯·开普勒大学林茨分校);Software Competence Center Hagenberg GmbH (SCCH)(哈根伯格软件能力中心有限公司)

Nils Quetschlich, Lukas Burgholzer, Robert Wille

AI总结:

本研究针对量子编译缺乏统一最优流程等问题,提出融合不同编译器技术的强化学习量子编译框架,实验显示其在73%的场景下保真度优于Qiskit和TKET,已作为MQT的一部分开源。

摘要:

任何量子计算应用一旦被编码为量子电路,必须先经过编译才能在量子计算机上执行。与经典编译类似,量子编译是一个包含多个编译步骤和大量可选优化遍的序贯过程。尽管存在相似性,量子计算编译器的开发仍处于初期阶段——在最优优化遍序列、兼容性、适配性和灵活性方面缺乏统一共识。在本研究中,我们借鉴数十年经典编译器优化的经验,提出了一个用于开发优化量子电路编译流程的强化学习框架。通过明确的约束条件和统一接口,该框架支持将来自不同编译器和优化工具的技术整合到单个编译流程中。实验评估表明,所提出的框架搭配了选自IBM的Qiskit和Quantinuum的TKET的编译遍,在预期保真度方面,73%的情况下显著优于这两个独立编译器。该框架已作为慕尼黑量子工具包(MQT)的一部分在GitHub(https://github.com/cda-tum/MQTPredictor)上开源。

英文摘要:

Any quantum computing application, once encoded as a quantum circuit, must be compiled before being executable on a quantum computer. Similar to classical compilation, quantum compilation is a sequential process with many compilation steps and numerous possible optimization passes. Despite the similarities, the development of compilers for quantum computing is still in its infancy -- lacking mutual consolidation on the best sequence of passes, compatibility, adaptability, and flexibility. In this work, we take advantage of decades of classical compiler optimization and propose a reinforcement learning framework for developing optimized quantum circuit compilation flows. Through distinct constraints and a unifying interface, the framework supports the combination of techniques from different compilers and optimization tools in a single compilation flow. Experimental evaluations show that the proposed framework -- set up with a selection of compilation passes from IBM's Qiskit and Quantinuum's TKET -- significantly outperforms both individual compilers in 73% of cases regarding the expected fidelity. The framework is available on GitHub (https://github.com/cda-tum/MQTPredictor) as part of the Munich Quantum Toolkit (MQT).

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

↑