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
备注:
6 pages, 3 figures, minor changes, to be published at Design Automation Conference (DAC), 2023
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).
Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning
University of Chinese Academy of Sciences(中国科学院大学);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);Beijing University of Posts and Telecommunications(北京邮电大学);Hangzhou Institute for Advanced Study at UCAS(UCAS杭州高等研究院)
Static Neural Compiler Optimization via Deep Reinforcement Learning
Technische Universität Darmstadt Graduate School of Excellence Computational Engineering(达姆施塔特工业大学卓越计算工程研究生院);Iowa State University Department of Computer Science(爱荷华州立大学计算机科学系);Technische Universität Darmstadt Department of Computer Science(达姆施塔特工业大学计算机科学系)
Deep reinforcement learning for near-deterministic preparation of cubic- and quartic-phase gates in photonic quantum computing
Department of Physics, University of Virginia(弗吉尼亚大学物理系);Charles L. Brown Department of Electrical and Computer Engineering, University of Virginia(弗吉尼亚大学查尔斯·L·布朗电气与计算机工程系)
MLComp: A Methodology for Machine Learning-based Performance Estimation and Adaptive Selection of Pareto-Optimal Compiler Optimization Sequences
Institute of Computer Engineering, Technische Universität Wien (TUWien)(维也纳技术大学计算机工程学院);TU Wien(维也纳技术大学);ABIX GmbH(ABIX有限公司);Division of Engineering, New York University Abu Dhabi(纽约大学阿布扎比分校工程学院)
Quantum Computing and Neuromorphic Computing for Safe, Reliable, and explainable Multi-Agent Reinforcement Learning: Optimal Control in Autonomous Robotics
MLGOPerf: An ML Guided Inliner to Optimize Performance
Huawei Technologies(华为技术有限公司)
在过去的25年里,我们见证了机器学习在选择和相位排序问题中的广泛应用。然而,有限的作品已被上传到最先进的编译器,即,LLVM,将前者无缝集成到编译器的优化管道中,以便用户轻松部署。MLGO是第一个这样的项目之一,它只致力于使用强化学习来减少基于ML的Inliner的二进制代码的大小。本文介绍了MLGOPerf;第一个能够使用LLVM的ML-Inliner优化性能的端到端框架。它采用二级ML模型来生成用于训练重定向强化学习代理的奖励,该代理先前被MLGO用作主要模型。它通过预测被分析函数的内联后加速来实现这一点,并且它为主要模型提供了一个快速训练框架,否则这将是不实用的。实验结果表明,MLGOPerf是能够获得高达1.8%和2.2%,相对于LLVM的优化在O3时,训练的性能在SPEC CPU 2006和Cbench基准,分别。此外,所提出的方法为我们的基准测试提供了高达26%的自动调优代码区域的机会,这可以转化为额外的3.7%的加速值。
Multi-Agent Reinforcement Learning Based Coded Computation for Mobile Ad Hoc Computing
University of California, San Diego(加州大学圣迭戈分校);San Diego State University(圣迭戈州立大学);University of Puerto Rico at Mayagüez(波多黎各大学马亚圭斯分校);University of Texas at Arlington(德克萨斯大学阿灵顿分校);University of North Texas(北德克萨斯大学)
t$|$ket$\rangle$ : A Retargetable Compiler for NISQ Devices
我们提出了t $|$ ket $\rangle$,量子软件开发平台由剑桥量子计算有限公司生产的t $|$ ket $\rangle$的心脏是一个语言无关的优化编译器,旨在生成各种NISQ设备的代码,它有几个功能,旨在尽量减少设备错误的影响。该编译器已经过广泛的基准测试,在电路优化和量子位路由方面优于大多数竞争对手。
Quantum Compiler Design for Fault-Tolerant Quantum Computing
QudeLeap Research;The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);Shanghai Jiao Tong University(上海交通大学);Hangzhou MatriQ Computing Co., Ltd(杭州矩阵量子计算有限公司);Atomqubic Quantum Technology Co., Ltd(上海原子立方量子科技有限公司);State Key Laboratory of Quantum Optics Technologies and Devices, and Institute of Opto-Electronics, Shanxi University(山西大学光电研究所及量子光学技术与器件国家重点实验室);CAS Cold Atom Technology (Wuhan) Co., Ltd.(中科院冷原子技术(武汉)有限公司);Quantum Science Center of Guangdong-Hong Kong-Macao Greater Bay Area(粤港澳大湾区量子科学中心)
Kernpiler: Compiler Optimization for Quantum Hamiltonian Simulation with Partial Trotterization
University of Pennsylvania(宾夕法尼亚大学);ETH Zurich(苏黎世联邦理工学院);University of Pittsburgh(匹兹堡大学);Syracuse University(雪城大学);Pacific Northwest National Laboratory(太平洋西北国家实验室);University of Maryland(马里兰大学);Massachusetts Institute of Technology(麻省理工学院)