计算机科学 ›› 2026, Vol. 53 ›› Issue (4): 112-120.doi: 10.11896/jsjkx.241200213
李晖1,2, 刘述娟1, 鞠明媚1, 王杰鹏1, 姬迎松1
LI Hui1,2, LIU Shujuan1, JU Mingmei1, WANG Jiepeng1, JI Yingsong1
摘要: 在噪声中等规模量子(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%。
中图分类号:
| [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 |
|
||