Chinese Journal of Quantum Electronics ›› 2023, Vol. 40 ›› Issue (4): 570-581.doi: 10.3969/j.issn.1007-5461.2023.04.016

• Quantum Optics • Previous Articles     Next Articles

A quantum circuit layout and optimization method in two⁃dimensional architecture

ZHANG Chao , GUAN Zhijin *, FENG Shiguang , NIU Yiren , ZHU Mingqiang   

  1. ( School of Information Science and Technology, Nantong University, Nantong 226019, China )
  • Received:2021-04-12 Revised:2021-05-28 Published:2023-07-28 Online:2023-07-28

Abstract: In order to solve the problem of mapping quantum circuits to two-dimensional architecture and realizing qubit nearest neighbor, a quantum circuit layout and optimization method in two-dimensional architecture is proposed. Firstly, according to the execution order and interaction of quantum gates in quantum circuit, a depth-first search qubit mapping order based on the weight of qubits is proposed, then the initial qubit mapping is realized by taking into account the relationship between the put qubits in the mapping order, the qubits to be put in and the unput qubits. Secondly, the selection of the same lookahead quantum cost in the nearest neighbor process is optimized, then according to the optimized cost results, SWAP gates are inserted to realize the nearest neighbor of all double quantum gates. Finally, the proposed method is verified by experiments and compared with the existing methods, and it is shown that the average optimization rate of the propsed method reaches 18% on the small and medium-sized Benchmark and 17% on the medium and large-scale Benchmark.

Key words: quantum physics, quantum circuits, quantum mapping, nearest neighbor, two-dimensional architecture

CLC Number: