Chinese Journal of Quantum Electronics ›› 2024, Vol. 41 ›› Issue (4): 626-637.doi: 10.3969/j.issn.1007-5461.2024.04.007

• Quantum Optics • Previous Articles     Next Articles

Research on quantum circuit mapping based on dynamic look‑ahead depth

CAO Kexin, CHEN Xinyu, ZHU Mingqiang, LI Xiang, CHENG Xueyun*, GUAN Zhijin   

  1. ( School of Information Science and Technology, Nantong University, Nantong 226019, China )
  • Received:2022-07-11 Revised:2022-08-17 Published:2024-07-28 Online:2024-07-28

Abstract: With the rapid development of quantum computing technology, it has entered the noisy intermediate scale quantum (NISQ) era. However, due to the limitations of current technology, a qubit can only be directly interacted with adjacent qubits. In order to implement the logical quantum circuit directly on the NISQ device, it is necessary to insert SWAP gates or use bridge gates to make the qubit nearest neighbor. In order to reduce the number of additional quantum gates inserted in quantum circuit mapping, this paper investigates the dynamic look-ahead based circuit mapping method, considering the impact of inserting SWAP gates in the expansion layer and the cost function model is optimized. Then the best lookahead depth is determined when inserting SWAP gates through the simulated annealing algorithm, in order to reduce the number of inserted SWAP gates and thereby reduce the number of CNOT gates. The experimental results show that, compared with the existing mapping method, the proposed algorithm can effectively reduce the number of CNOT gates inserted in circuit mapping, and the average optimization rate reaches to 45.59%.

Key words: quantum computing, quantum mapping, dynamic look-ahead, look-ahead depth

CLC Number: