arXiv:2607.29145quant-phcs.LG2026-07

用机器学习自动选量子电路优化策略,显著减少双量子比特门数量。

Transpiler Autotuning with Predictive Models for Quantum Circuit Optimization

论文配图:Transpiler Autotuning with Predictive Models for Quantum Circuit Optimization
图 1 · 摘自论文原文
  • 基于特征采样构建数据集,训练模型预测最优优化组合。
  • 平均减少19.1%~32.4%双量子比特门,最高达95.8%的提升。
  • 适合量子算法开发者和编译器研究人员快速优化电路性能。

量子软件工程致力于将量子编程范式融入现有软件生态。其中关键环节是通过基于门的编程实现量子算法,并对生成的量子电路进行低层优化,这一过程通常由称为转译管道(transpilation pipelines)的工具完成。当前主要挑战在于如何为特定电路选择最优优化策略,现有方法多采用统一默认配置,常导致优化机会流失。本文提出一种基于监督学习的自动调优方法,通过特征-模型采样生成代表性数据集,覆盖数千个来自MQT Bench基准套件的电路,评估不同Qiskit转译操作组合的表现。基于这些数据,我们构建了可集成至Qiskit转译管道的预测模型,自动选择能最大化减少双量子比特门的优化组合。实验表明,该模型所选组合始终优于或等于Qiskit默认优化级别,在平均层面额外降低19.1%~32.4%双量子比特门,部分电路甚至实现高达95.8%的减少,而传统Qiskit未实现任何优化的场景中仍有效果。

原文摘要 · Abstract (English)

Quantum software engineering is an emerging research field focusing on efficiently embedding the quantum programming paradigm into existing software ecosystems. A key aspect of this field is the realization of quantum algorithms using gate-based programming and the subsequent low-level optimization of the resulting quantum circuits, a process that is commonly performed by so-called transpilation pipelines. One significant challenge in these pipelines is determining which optimizations to apply to a given circuit. This decision is usually based on fixed default configurations that are uniformly applied to all circuits, frequently resulting in missed opportunities for more aggressive circuit optimization. In this work, we tackle this challenge by applying autotuning with supervised machine learning to develop an automated method for selection of transpiler passes. To train our machine-learning models, we employ feature-model based sampling to generate a representative dataset that examines how different combinations of Qiskit transpiler passes perform across thousands of circuits drawn from the state-of-the-art benchmarking suite MQT Bench. Using these data, we build a predictive model extension for the Qiskit transpilation pipeline that uses a machine learning model to automatically select combinations of transpiler passes aiming to achieve a maximum reduction in two-qubit gates. Our empirical evaluation shows that the combinations selected by our model are never outperformed by Qiskit's optimization levels, achieve on average an additional 19.1$\%$ - 32.4$\%$ reduction in two-qubit gates, and for some circuits finds reductions of up to $95.8\%$ in cases where Qiskit achieves no reduction at all.

量子计算电路优化机器学习Qiskit

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。