Optimizing quantum circuit placement via machine learning
Hongxiang Fan, Ce Guo, Wayne Luk
Abstract
Quantum circuit placement (QCP) is the process of mapping the synthesized logical quantum programs on physical quantum machines, which introduces additional SWAP gates and affects the performance of quantum circuits. Nevertheless, determining the minimal number of SWAP gates has been demonstrated to be an N P-complete problem. Various heuristic approaches have been proposed to address QCP, but they suffer from suboptimality due to the lack of exploration. Although exact approaches can achieve higher optimality, they are not scalable for large quantum circuits due to the massive design space and expensive runtime. By formulating QCP as a bilevel optimization problem, this paper proposes a novel machine learning (ML)-based framework to tackle this challenge. To address the lower-level combinatorial optimization problem, we adopt a policy-based deep reinforcement learning (DRL) algorithm with knowledge transfer to enable the generalization ability of our framework. An evolutionary algorithm is then deployed to solve the upper-level discrete search problem, which optimizes the initial mapping with a lower SWAP cost. The proposed ML-based approach provides a new paradigm to overcome the drawbacks in both traditional heuristic and exact approaches while enabling the exploration of optimality-runtime trade-off. Compared with the leading heuristic approaches, our ML-based method significantly reduces the SWAP cost by up to 100%. In comparison with the leading exact search, our proposed algorithm achieves the same level of optimality while reducing the runtime cost by up to 40 times.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 85baa11f-bbc4-440a-b2ae-996e98cd25fcCited by top-tier papers6
- Atomique: A Quantum Compiler for Reconfigurable Neutral Atom ArraysHanrui Wang, Pengyu Liu, Daniel Bochen Tan, Yilian Liu et al.ISCA 2024 · 26 citations
- Q-Pilot: Field Programmable Qubit Array Compilation with Flying AncillasHanrui Wang, Daniel Bochen Tan, Pengyu Liu, Yilian Liu et al.DAC 2024 · 15 citations
- Quantum Data Management in the NISQ EraRihan Hai, Shih-Han Hung, Tim Coopmans, Tim Littau et al.VLDB 2025 · 10 citations
- Unleashing the Potential of AQFP Logic Placement via Entanglement Entropy and ProjectionYinuo Bai, Enxin Yi, Wei W. Xing, Bei Yu et al.DAC 2024 · 2 citations
- Hardware-Aware Neural Dropout Search for Reliable Uncertainty Prediction on FPGAZehuan Zhang, Hongxiang Fan, Hao Mark Chen, Lukasz Dudziak et al.DAC 2024 · 1 citation
Builds on3
- Reinforcement learning for optimization of variational quantum circuit architecturesMateusz Ostaszewski, Lea M. Trenkwalder, Wojciech Masarczyk, Eleanor Scerri et al.NeurIPS 2021 · 204 citations
- QuantumNAS: Noise-Adaptive Search for Robust Quantum CircuitsHanrui Wang, Yongshan Ding, Jiaqi Gu, Yujun Lin et al.HPCA 2022 · 199 citations
- Optimized Quantum Compilation for Near-Term Algorithms with OpenPulsePranav Gokhale, Ali Javadi-Abhari, Nathan Earnest, Yunong Shi et al.MICRO 2020 · 87 citations
Related papers
- Learning to Optimize Variational Quantum Circuits to Solve Combinatorial ProblemsSami Khairy, Ruslan Shaydulin, Lukasz Cincio, Yuri Alexeev et al.AAAI 2020 · 155 citations
- Quarl: A Learning-Based Quantum Circuit OptimizerZikun Li, Jinjun Peng, Yixuan Mei, Sina Lin et al.OOPSLA 2024 · 21 citations
- Joint Optimization of Circuit Transformation and Qubit Mapping for Distributed Quantum ComputingXiangzhi Zhang, Xu Xu, Yu Liu, Yingling Mao et al.INFOCOM 2026 · 2 citations
- AI-Powered Algorithm-Centric Quantum Processor Topology DesignTian Li, Xiao-Yue Xu, Chen Ding, Tian-Ci Tian et al.AAAI 2025
- Qubit Mapping and Routing via MaxSATAbtin Molavi, Amanda Xu, Martin Diges, Lauren Pick et al.MICRO 2022 · 49 citations
