计算机科学 ›› 2026, Vol. 53 ›› Issue (4): 112-120.doi: 10.11896/jsjkx.241200213

• 人工智能与理论计算机科学交叉融合 • 上一篇    下一篇

NISQ量子线路高频-密集量子门集策略优化算法

李晖1,2, 刘述娟1, 鞠明媚1, 王杰鹏1, 姬迎松1   

  1. 1 哈尔滨商业大学计算机与信息工程学院 哈尔滨 150028
    2 黑龙江省电子商务与信息处理重点实验室 哈尔滨 150028
  • 收稿日期:2024-12-30 修回日期:2025-05-18 出版日期:2026-04-15 发布日期:2026-04-08
  • 通讯作者: 刘述娟(liushujuan0911@163.com)
  • 作者简介:(hrbcu_lh@163.com)
  • 基金资助:
    黑龙江省自然科学基金项目(LH2022F035);黑龙江省普通本科高等学校青年创新人才培养计划(UNPYSCT-2020212);哈尔滨商业大学“青年科研创新人才”培育计划(2023-KYYWF-0983)

High Frequency-Dense Quantum Gate Set Optimization Algorithm for Quantum Circuit in NISQ Era

LI Hui1,2, LIU Shujuan1, JU Mingmei1, WANG Jiepeng1, JI Yingsong1   

  1. 1 School of Computer and Information Engineering, Harbin University of Commerce, Harbin 150028, China
    2 Heilongjiang Key Laboratory of Electronic Commerce and Information Processing, Harbin 150028, China
  • Received:2024-12-30 Revised:2025-05-18 Published:2026-04-15 Online:2026-04-08
  • About author:LI Hui,born in 1985,Ph.D,professor,is a member of CCF(No.K9013M).His main research interests include quantum computing,quantum information processing,etc.
    LIU Shujuan,born in 1994,postgraduate.Her main research interest is quantum computing.
  • Supported by:
    Natural Science Foundation of Heilongjiang Province,China(LH2022F035),University Nursing Program for Young Scholars with Creative Talents of Heilongjiang Province(UNPYSCT-2020212) and Science Foundation of Harbin Commerce University(2023-KYYWF-0983).

摘要: 在噪声中等规模量子(Noisy Intermediate-Scale Quantum,NISQ)时代,考虑硬件耦合约束限制,并非所有量子门均可直接执行,通常需要利用额外引入的SWAP操作实现量子比特交换后,逻辑线路才能直接运行于物理硬件上。为了避免传统量子线路映射过程中SWAP操作带来的额外开销,对量子比特频度进行定义,提出一种高频-密集量子门集策略(High Frequency-Dense Quantum Gate Set Strategy,HF-DQGS),并将其应用于量子线路映射。基于量子比特频度,对CNOT门进行优先级划分,定义高频-密集量子门集;利用多变量成本函数对候选SWAP门的实际开销进行评估,确定待执行的SWAP操作;根据基于量子比特频度的最优SWAP门评价准则,SWAP操作后对评价函数进行比较,筛选出最优的SWAP门。实验结果表明,HF-DQGS能够显著减少附加SWAP门的数量,并在一定程度上减少CNOT门的数量。具体而言,在t|ket〉和Qiskit 编译器上的测试结果显示,额外SWAP门的数量平均分别减少了36.6%和47.8%,CNOT门的数量平均分别减少了13%和13.4%。

关键词: 量子计算, 量子线路映射, 高频-密集量子门集策略, 多变量成本函数, 最优SWAP门评价准则

Abstract: In NISQ era,considering the hardware coupling constraint limitations,not all quantum gates can be directly executed,and it is usually necessary to utilize the additional introduction of SWAP operation to realize the qubits exchange before the logical circuit can directly run on the physical hardware.In order to overcome the extra overhead of quantum gates brought about by the introduction of SWAP operation in the traditional quantum circuit mapping process,the qubit frequency is investigated,and the high frequency-dense quantum gate set strategy(HF-DQGS) is proposed and applied to the quantum circuit mapping.Based on the qubit frequency,the CNOT gate is prioritized,and the high frequency-dense quantum gate set is defined.The actual overhead of candidate SWAP gates is evaluated using a multivariate cost function to determine the SWAP operations to be performed.According to the evaluation criterion of optimal SWAP gate based on qubit frequency,the evaluation function after SWAP operation is compared to select the optimal SWAP gate.Experimental results show that HF-DQGS can significantly reduce the number of additional SWAP gates and,to some extent,the number of CNOT gates.Specifically,the test results on the t|ket〉 and Qiskit compilers show that the number of additional SWAP gates is reduced by an average of 36.6% and 47.8%,respectively,and the number of CNOT gates is reduced by an average of 13% and 13.4%,respectively.

Key words: Quantum computing, Quantum circuit mapping, High frequency-dense quantum gate set strategy(HF-DQGS), Multivariate cost function, Optimal SWAP gate evaluation criteria

中图分类号: 

  • TP391
[1]EASTTOM C.Quantum computing and cryptography[M]//Modern Cryptography:Applied Mathematics for Encryption and Information Security.Cham:Springer International Publishing,2022:397-407.
[2]AJAGEKAR A,YOU F.Quantum computing for energy sys-tems optimization:Challenges and opportunities[J].Energy,2019,179:76-89.
[3]PAUDEL H P,SYAMLAL M,CRAWFORD S E,et al.Quantum computing and simulations for energy applications:Review and perspective[J].ACS Engineering Au,2022,2(3):151-196.
[4]LUAN T,KUAN X H,GAO Y S,et al.Application exploration of quantum computing technology in financial field[J].Application Research of Computers,2024,41(7):1921-1929.
[5]HUANG H K,ZHANG X S.Qubit Mapping Algorithm ForNISQ Computers[J].Computer Engineering and Applications,2024,60(24):110-118.
[6]NIU S,SUAU A,STAFFELBACH G,et al.A hardware-aware heuristic for the qubit mapping problem in the nisq era[J].IEEE Transactions on Quantum Engineering,2020,1:1-14.
[7]ITOKO T,RAYMOND R,IMAMICHI T,et al.Optimization of quantum circuit mapping using gate transformation and commutation[J].Integration,2020,70:43-50.
[8]WILLE R,BURGHOLZER L.MQT QMAP:Efficient quantum circuit mapping[C]//Proceedings of the 2023 International Symposium on Physical Design.2023:198-204.
[9]LIU H,ZHANG B,ZHU Y,et al.QM-DLA:an efficient qubit mapping method based on dynamic look-ahead strategy[J].Scientific Reports,2024,14(1):13118.
[10]LI H,HAN Z A,LU K,et al.Comprehensive SWAP Optimization Strategy for Improving Initial Qubit Mapping[J].Computer Engineering and Applications,2024,60(14):66-73.
[11]SIRAICHI M Y,SANTOSV F,COLLANGE C,et al.Qubit allocation[C]//Proceedings of the 2018 International Symposium on Code Generation and Optimization.2018:113-125.
[12]ZHU P C,WEI L H,FENG S G,et al.Quantum Circuit Mapping for Distributed Superconducting Quantum Computing Architecture[J].Journal of Software,2025(5).
[13]LAO L,VAN WEE B,ASHRAF I,et al.Mapping of lattice surgery-based quantum circuits on surface code architectures[J].Quantum Science and Technology,2018,4(1):015005.
[14]ZULEHNER A,PALER A,WILLE R.An efficient methodology for mapping quantum circuits to the IBM QX architectures[J].IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems,2018,38(7):1226-1236.
[15]STEINBERG M A,FELD S,ALMUDEVER C G,et al.Topological-graph dependencies and scaling properties of a heuristic qubit-assignment algorithm[J].IEEE Transactions on Quantum Engineering,2022,3:1-14.
[16]SÜNKEL L,MARTYNIUK D,MATTERN D,et al.GA4QCO:genetic algorithm for quantum circuit optimization[J].arXiv:2302.01303,2023.
[17]LAO L,BROWNE D E.2qan:A quantum compiler for 2-local qubit hamiltonian simulation algorithms[C]//Proceedings of the 49th Annual International Symposium on Computer Architecture.2022:351-365.
[18]ZHOU X,LI S,FENG Y.Quantum circuit transformation based on simulated annealing and heuristic search[J].IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems,2020,39(12):4683-4694.
[19]MURALI P,BAKER J M,JAVADI-ABHARI A,et al.Noise-adaptive compiler mappings for noisy intermediate-scalequantum computers[C]//Proceedings of the Twenty-fourth International Conference on Architectural Support for Programming Languages and Operating Systems.2019:1015-1029.
[20]DENG H,ZHANG Y,LI Q.Codar:A contextual duration-aware qubit mapping for various nisq devices[C]//2020 57th ACM/IEEE Design Automation Conference(DAC).IEEE,2020:1-6.
[21]ZHANG H Y,SHANG T,LIU J W.SWAP-Based Prospective Heuristic Quantum Circuit Mapping Algorithm[J].Journal of University of Electronic Science and Technology of China,2023,52(4):489-497.
[22]SIVARAJAH S,DILKES S,COWTAN A,et al.t|ket〉:a retargetable compiler for NISQ devices[J].Quantum Science and Technology,2020,6(1):014003.
[23]NEHA K.Quantum programming:working with IBM’S qiskit tool[J].The Scientific Temper,2023,14(1):93-99.
[1] 郑毅, 贾星昊, 张骏温, 任爽.
基于混合量子经典长-短距离特征扩展网络的图像分类
Image Classification Based on Hybrid Quantum-Classical Long-Short Range Feature Extension Network
计算机科学, 2026, 53(4): 277-283. https://doi.org/10.11896/jsjkx.250600108
[2] 李奕丹, 崔建英, 熊明辉.
自然语言语义表示的范畴论建模:系统综述与组合机制分析
Category-Theoretic Semantic Representation: Systematic Review and Compositional Mechanism Analysis
计算机科学, 2026, 53(4): 337-346. https://doi.org/10.11896/jsjkx.251000136
[3] 张兴兰, 容潇军.
基于变分量子的离散对数求解算法
Variational Quantum Algorithm for Solving Discrete Logarithms
计算机科学, 2026, 53(1): 353-362. https://doi.org/10.11896/jsjkx.241100181
[4] 张静, 王宇平.
基于半直积的双平台密钥协商协议
Dual-platform Key Agreement Protocol Based on Semidirect Product
计算机科学, 2025, 52(6A): 240600036-6. https://doi.org/10.11896/jsjkx.240600036
[5] 张曜麟, 刘晓楠, 杜帅岐, 廉德萌.
基于矩阵乘积算符的混合量子压缩经典生成对抗网络
Hybrid Quantum-classical Compressed Generative Adversarial Networks Based on Matrix Product Operators
计算机科学, 2025, 52(6): 74-81. https://doi.org/10.11896/jsjkx.240500017
[6] 熊其冰, 苗启广, 杨天, 袁本政, 费洋扬.
一种基于混合量子卷积神经网络的恶意代码检测方法
Malicious Code Detection Method Based on Hybrid Quantum Convolutional Neural Network
计算机科学, 2025, 52(3): 385-390. https://doi.org/10.11896/jsjkx.240800006
[7] 阮宁, 李淳, 马昊月, 贾异, 李涛.
量子元启发式算法及其应用综述
Review of Quantum-inspired Metaheuristic Algorithms and Its Applications
计算机科学, 2025, 52(10): 190-200. https://doi.org/10.11896/jsjkx.250500127
[8] 陈超, 闫文杰, 薛桂香.
基于参数化量子线路的量子神经网络数据分类
Parameterized Quantum Circuits Based Quantum Neural Networks for Data Classification
计算机科学, 2024, 51(11A): 231200112-7. https://doi.org/10.11896/jsjkx.231200112
[9] 刘翔, 祝静, 仲国强, 顾永建, 崔丽媛.
量子原型聚类
Quantum Prototype Clustering
计算机科学, 2023, 50(8): 27-36. https://doi.org/10.11896/jsjkx.220600124
[10] Renata WONG.
早期量子算法在量子通信、量子纠错等领域的应用
Application of Early Quantum Algorithms in Quantum Communication,Error Correction and Other Fields
计算机科学, 2022, 49(6A): 645-648. https://doi.org/10.11896/jsjkx.210400214
[11] 刘晓楠, 宋慧超, 王洪, 江舵, 安家乐.
Grover算法改进与应用综述
Survey on Improvement and Application of Grover Algorithm
计算机科学, 2021, 48(10): 315-323. https://doi.org/10.11896/jsjkx.201100141
[12] 罗文俊, 雷爽.
噪声信道下的盲量子计算
Blind Quantum Computation over Noise Channels
计算机科学, 2020, 47(7): 37-41. https://doi.org/10.11896/jsjkx.190600020
[13] 周恒, 王拥军, 王宝山, 燕健.
直觉主义视角下量子逻辑的进一步解释
Deeper Explanation of Quantum Logic in Intuitionistic Perspective
计算机科学, 2020, 47(5): 1-6. https://doi.org/10.11896/jsjkx.191200056
[14] Renata WONG.
量子计算与不确定性原理
Uncertainty Principle as Related to Quantum Computation
计算机科学, 2020, 47(1): 40-50. https://doi.org/10.11896/jsjkx.190400432
[15] 戴文静, 袁家斌.
隐含子群问题的研究现状
Survey on Hidden Subgroup Problem
计算机科学, 2018, 45(6): 1-8. https://doi.org/10.11896/j.issn.1002-137X.2018.06.001
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!