
Robust bit Mapping Algorithm via Double-Source Optimal
Routing on Large antum Circuits
CHIN-YI CHENG, Department of Electrical Engineering, National Taiwan University, Taiwan (R.O.C.)
CHIEN-YI YANG, Department of Computer Science and Engineering, University of California San Diego,
USA
YI-HSIANG KUO, Graduate Institute of Electronics Engineering, National Taiwan University, Taiwan (R.O.C.)
REN-CHU WANG, College of Computing, The Georgia Institute of Technology, USA
HAO-CHUNG CHENG
∗†‡
,Department of Electrical Engineering and Graduate Institute of Communica-
tion Engineering, National Taiwan University, Taiwan (R.O.C.)
CHUNG-YANG (RIC) HUANG
§
,Graduate Institute of Electronics Engineering, National Taiwan
University, Taiwan (R.O.C.)
Qubit Mapping is a critical aspect of implementing quantum circuits on real hardware devices. Currently, the
existing algorithms for qubit mapping encounter diculties when dealing with larger circuit sizes involving
hundreds of qubits. In this paper, we introduce an innovative qubit mapping algorithm, Duostra, tailored to
address the challenge of implementing large-scale quantum circuits on real hardware devices with limited
connectivity. Duostra operates by eciently determining optimal paths for double-qubit gates and inserting
SWAP gates accordingly to implement the double-qubit operations on real devices. Together with two heuristic
scheduling algorithms, the Limitedly-Exhausitive (LE) Search and the Shortest-Path (SP) Estimation, it yields
results of good quality within a reasonable runtime, thereby striving toward achieving quantum advantage.
Experimental results showcase our algorithm’s superiority, especially for large circuits beyond the NISQ era.
For example, on large circuits with more than 50 qubits, we can reduce the mapping cost on an average 21.75%
over the virtual best results among QMAP, t
|𝑘𝑒𝑡⟩
, Qiskit and SABRE. Besides, for mid-size circuits such as
the SABRE-large benchmark, we improve the mapping costs by 4.5%, 5.2%, 16.3%, 20.7%, and 25.7%, when
compared to QMAP, TOQM, t|𝑘𝑒𝑡 ⟩, Qiskit, and SABRE, respectively.
CCS Concepts: •Computer systems organization
→
Quantum computing;•Hardware
→
Physical
synthesis.
Additional Key Words and Phrases: Quantum Compilation, Qubit Mapping, Scalability, Local Optimal Solution
∗Also with Center for Quantum Science and Engineering, National Taiwan University.
†Also with Physics Division and Mathematics Division, National Center for Theoretical Sciences.
‡Also with Hon Hai (Foxconn) Quantum Computing Center.
§Also with Department of Electrical Engineering, National Taiwan University.
Authors’ addresses: Chin-Yi Cheng, Department of Electrical Engineering, National Taiwan University, Taiwan (R.O.C.),
r10921132@ntu.edu.tw; Chien-Yi Yang, Department of Computer Science and Engineering, University of California San
Diego, USA, chy036@ucsd.edu; Yi-Hsiang Kuo, Graduate Institute of Electronics Engineering, National Taiwan University,
Taiwan (R.O.C.), r12943104@ntu.edu.tw; Ren-Chu Wang, College of Computing, The Georgia Institute of Technology,
USA, rentruewang@gatech.edu; Hao-Chung Cheng, Department of Electrical Engineering and Graduate Institute of
Communication Engineering, National Taiwan University, Taiwan (R.O.C.), haochung.ch@gmail.com; Chung-Yang (Ric)
Huang, Graduate Institute of Electronics Engineering, National Taiwan University, Taiwan (R.O.C.), cyhuang@ntu.edu.tw.
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee
provided that copies are not made or distributed for prot or commercial advantage and that copies bear this notice and
the full citation on the rst page. Copyrights for components of this work owned by others than ACM must be honored.
Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires
prior specic permission and/or a fee. Request permissions from permissions@acm.org.
©2024 Association for Computing Machinery.
ACM 2643-6817/2024/8-ART
https://doi.org/10.1145/3680291
ACM Trans. Quantum Comput., Vol. , No. , Article . Publication date: August 2024.
arXiv:2210.01306v5 [quant-ph] 3 Aug 2024