{"title":"A Method of Mapping and Nearest-Neighbor for IBM QX Architecture","authors":"Chao Zhang, Z. Guan, Yang Qian, Shiguang Feng","doi":"10.1109/CCPQT56151.2022.00076","DOIUrl":null,"url":null,"abstract":"In order to solve the problem of mapping a quantum circuit to IBM QX architecture and satisfy connectivity constraints. This paper presents a mapping method, which is divided into two parts: Qubit initial mapping and Nearest-neighbor optimization. To solve the problem of initial mapping of qubits, according to the execution order and interaction of quantum gates in quantum circuit, a qubit mapping order method based on the weight of qubits is proposed. Then, according to the qubit interaction degree in the coupling graph, the initial qubit mapping is completed. In order to solve the nearest-neighbor problem in the mapping process, the quantum cost of non-neighbor two-qubit gate is determined by introducing the lookahead quantum cost method. Our algorithm is evaluated on IBM Q 20. Experimental results show that the proposed algorithm can effectively complete the mapping task even in large-scale benchmark tests. The proposed method is verified by experiments and compared with the existing methods, the optimized results were obtained in 74% of the test circuits.","PeriodicalId":235893,"journal":{"name":"2022 International Conference on Computing, Communication, Perception and Quantum Technology (CCPQT)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Computing, Communication, Perception and Quantum Technology (CCPQT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CCPQT56151.2022.00076","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In order to solve the problem of mapping a quantum circuit to IBM QX architecture and satisfy connectivity constraints. This paper presents a mapping method, which is divided into two parts: Qubit initial mapping and Nearest-neighbor optimization. To solve the problem of initial mapping of qubits, according to the execution order and interaction of quantum gates in quantum circuit, a qubit mapping order method based on the weight of qubits is proposed. Then, according to the qubit interaction degree in the coupling graph, the initial qubit mapping is completed. In order to solve the nearest-neighbor problem in the mapping process, the quantum cost of non-neighbor two-qubit gate is determined by introducing the lookahead quantum cost method. Our algorithm is evaluated on IBM Q 20. Experimental results show that the proposed algorithm can effectively complete the mapping task even in large-scale benchmark tests. The proposed method is verified by experiments and compared with the existing methods, the optimized results were obtained in 74% of the test circuits.