Deep Reinforcement Learning for Mapping Quantum Circuits to 2D Nearest-Neighbor Architectures

被引:0
作者
Li, Yangzhi [1 ]
Liu, Wen [1 ,2 ,3 ]
Li, Maoduo [1 ]
机构
[1] Commun Univ China, Sch Comp & Cyber Sci, Beijing 100024, Peoples R China
[2] Commun Univ China, State Key Lab Media Convergence & Commun, Beijing 100024, Peoples R China
[3] Commun Univ China, Key Lab Convergent Media & Intelligent Technol, Minist Educ, Beijing 100034, Peoples R China
关键词
2D nearest-neighbor architecture; clifford plus T library; deep reinforcement learning; quantum circuit mapping; quantum computing; SWAP gate;
D O I
10.1002/qute.202300289
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
Recently, quantum computing is considered as a promising future computing paradigm. However, when implementing quantum circuits on a quantum device, it is necessary to ensure that quantum circuits satisfy nearest-neighbor architecture constraints. When performing nearest-neighbor architecture mapping for quantum circuits, it is inevitable to introduce SWAP gates, which will increase the overhead and reduce the fidelity. Therefore, it is crucial to complete the mapping with the minimum SWAP. In this paper, a 2D nearest-neighbor architecture mapping method for quantum circuits is proposed based on deep reinforcement learning. In the initial mapping, an isomorphic graph initial mapping search algorithm is designed to quickly find the isomorphic graph between quantum circuit and architecture constraint graph. For quantum circuits without isomorphic graph mapping, the reordering algorithm of qubit impact factors is designed to obtain the initial placement position of qubits. In the SWAP gate addition, a qubit local reordering algorithm based on dueling deep-Q-network is designed to reduce SWAP gates. Experiments on the benchmark set B131 and IBM Q20 Tokyo verify that the proposed method can add fewer SWAP gates. Compared with the state-of-the-art method, the average running time is accelerated by 63.1%, and the average SWAP gates added are reduced by 24.7%. Quantum circuit mapping refers to the task of modifying quantum circuits so that they meet the connectivity constraints of the target quantum computer. A mapping method based on deep reinforcement learning is proposed to automatically minimize the number of SWAP gate additions. Compared with current state-of-the-art methods, the average number of SWAP gates added is reduced by 24.7%.image
引用
收藏
页数:19
相关论文
共 43 条
  • [1] Deep neural networks for quantum circuit mapping
    Acampora, Giovanni
    Schiattarella, Roberto
    [J]. NEURAL COMPUTING & APPLICATIONS, 2021, 33 (20) : 13723 - 13743
  • [2] Harmony-search algorithm for 2D nearest neighbor quantum circuits realization
    Alfailakawi, Mohammad Gh.
    Ahmad, Imtiaz
    Hamdan, Suha
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2016, 61 : 16 - 27
  • [3] [Anonymous], ARXIV
  • [4] Quantum circuit compilation by genetic algorithm for quantum approximate optimization algorithm applied to MaxCut problem
    Arufe, Lis
    Gonzalez, Miguel A.
    Oddi, Angelo
    Rasconi, Riccardo
    Varela, Ramiro
    [J]. SWARM AND EVOLUTIONARY COMPUTATION, 2022, 69
  • [5] Interaction graph-based characterization of quantum benchmarks for improving quantum circuit mapping techniques
    Bandic, Medina
    Almudever, Carmen G.
    Feld, Sebastian
    [J]. QUANTUM MACHINE INTELLIGENCE, 2023, 5 (02)
  • [6] Locality-aware Qubit Routing for the Grid Architecture
    Banerjee, Avah
    Liang, Xin
    Tohid, R.
    [J]. 2022 IEEE 36TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW 2022), 2022, : 607 - 613
  • [7] ELEMENTARY GATES FOR QUANTUM COMPUTATION
    BARENCO, A
    BENNETT, CH
    CLEVE, R
    DIVINCENZO, DP
    MARGOLUS, N
    SHOR, P
    SLEATOR, T
    SMOLIN, JA
    WEINFURTER, H
    [J]. PHYSICAL REVIEW A, 1995, 52 (05): : 3457 - 3467
  • [8] Efficient Implementation of Nearest Neighbor Quantum Circuits Using Clustering with Genetic Algorithm
    Bhattacharjee, Anirban
    Bandyopadhyay, Chandan
    Mukherjee, Angshu
    Wille, Robert
    Drechsler, Rolf
    Rahaman, Hafizur
    [J]. 2020 IEEE 50TH INTERNATIONAL SYMPOSIUM ON MULTIPLE-VALUED LOGIC (ISMVL 2020), 2020, : 40 - 45
  • [9] Improved Look-ahead Approaches for Nearest Neighbor Synthesis of 1D Quantum Circuits
    Bhattacharjee, Anirban
    Bandyopadhyay, Chandan
    Wille, Robert
    Drechsler, Rolf
    Rahaman, Hafizur
    [J]. 2019 32ND INTERNATIONAL CONFERENCE ON VLSI DESIGN AND 2019 18TH INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS (VLSID), 2019, : 203 - 208
  • [10] A template-based technique for efficient Clifford plus T-based quantum circuit implementation
    Biswal, Laxmidhar
    Das, Rakesh
    Bandyopadhyay, Chandan
    Chattopadhyay, Anupam
    Rahaman, Hafizur
    [J]. MICROELECTRONICS JOURNAL, 2018, 81 : 58 - 68