Quantum circuit mapping based on discrete particle swarm optimization and deep reinforcement learning

Current quantum devices are constrained by a limited number of physical qubits and their sparse connectivity. When executing logical quantum circuits on these devices, it is necessary to map them into equivalent circuits adhering to these constraints. The initial allocation of logical qubits to physical ones and the strategic addition of SWAP gates to meet connectivity requirements are critical decisions impacting the performance of mapped circuits. To tackle these challenges, this paper presents a novel quantum circuit mapping method that integrates discrete particle swarm optimization and deep reinforcement learning. Initially, a qubit allocation algorithm using discrete particle swarm optimization with a sorting selection strategy quickly maps logical to physical qubits. Then, an enhanced double deep-Q-network based quantum gate scheduling algorithm with an action space search strategy obtains a SWAP addition scheme that results in shallower depth and fewer additional quantum gates. Comparisons on benchmark datasets (B131 and B114) and the IBM Q20 quantum device show that our method outperforms others regarding algorithm runtime, mapped circuit depth, and the number of added SWAP gates. It also demonstrates scalability on large-scale circuits and IBM Q127. Compared to heuristic methods (subgraph isomorphism and filtered depth-limited search based quantum circuit mapping algorithms), it reduces the average number of added SWAP gates by 29.1% and the average runtime by 41.95%. Compared to a recent reinforcement learning method using Monte Carlo Tree Search for mapping, it decreases the average added depth by 26.05% and the average number of added SWAP gates by 25.58%. Moreover, compared to commercial compilers tket and qiskit, the proposed method results in 14.73% and 16.55% fewer SWAP gates, respectively.

Authors

Institutions

Publication Details

Journal
Swarm and Evolutionary Computation
Published
2025-04-03
DOI
https://doi.org/10.1016/j.swevo.2025.101923
Citations
2
Primary Topic
Quantum Computing Algorithms and Architecture
Type
article
Field-Weighted Citation Impact
4.96

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Quantum circuit mapping based on discrete particle swarm optimization and deep reinforcement learning

Yang-Zhi Li, Guosheng Xu, Shiwei He, Maoduo Li et al.
2 citations
Swarm and Evolutionary Computation
Quantum Computing Algorithms and Architecture
4.96
article

Quantum circuit mapping based on discrete particle swarm optimization and deep reinforcement learning

Yang-Zhi Li, Guosheng Xu, Shiwei He, Maoduo Li, Kai Chen, Wen Liu
article en
2 citations

Abstract

Current quantum devices are constrained by a limited number of physical qubits and their sparse connectivity. When executing logical quantum circuits on these devices, it is necessary to map them into equivalent circuits adhering to these constraints. The initial allocation of logical qubits to physical ones and the strategic addition of SWAP gates to meet connectivity requirements are critical decisions impacting the performance of mapped circuits. To tackle these challenges, this paper presents a novel quantum circuit mapping method that integrates discrete particle swarm optimization and deep reinforcement learning. Initially, a qubit allocation algorithm using discrete particle swarm optimization with a sorting selection strategy quickly maps logical to physical qubits. Then, an enhanced double deep-Q-network based quantum gate scheduling algorithm with an action space search strategy obtains a SWAP addition scheme that results in shallower depth and fewer additional quantum gates. Comparisons on benchmark datasets (B131 and B114) and the IBM Q20 quantum device show that our method outperforms others regarding algorithm runtime, mapped circuit depth, and the number of added SWAP gates. It also demonstrates scalability on large-scale circuits and IBM Q127. Compared to heuristic methods (subgraph isomorphism and filtered depth-limited search based quantum circuit mapping algorithms), it reduces the average number of added SWAP gates by 29.1% and the average runtime by 41.95%. Compared to a recent reinforcement learning method using Monte Carlo Tree Search for mapping, it decreases the average added depth by 26.05% and the average number of added SWAP gates by 25.58%. Moreover, compared to commercial compilers tket and qiskit, the proposed method results in 14.73% and 16.55% fewer SWAP gates, respectively.

Swarm and Evolutionary ComputationVol. 95
Beijing University of Posts and Telecommunications (CN), Intelligent Health (United Kingdom) (GB), Communication University of China (CN)
Ministry of Education of the People's Republic of China, National Key Research and Development Program of China, Fundamental Research Funds for the Central Universities
Openalex Percentile: Top 6%
Quantum Computing Algorithms and Architecture
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.