A Framework for Dynamic Quantum Circuit Execution: Balancing Effectiveness and Efficiency

IF 3.6 3区 计算机科学 Q2 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Fangzheng Chen;Hao Fu;Mingzheng Zhu;Chi Zhang;Wei Xie;Xiang-Yang Li
{"title":"A Framework for Dynamic Quantum Circuit Execution: Balancing Effectiveness and Efficiency","authors":"Fangzheng Chen;Hao Fu;Mingzheng Zhu;Chi Zhang;Wei Xie;Xiang-Yang Li","doi":"10.1109/TCAD.2025.3626447","DOIUrl":null,"url":null,"abstract":"Quantum computing has exhibited remarkable advancements in recent years. On superconducting quantum chips, physical qubits are interconnected with limited coupling topologies. Since two-qubit gates can only be operated between adjacent qubits, quantum circuits must undergo transformation to satisfy these connectivity constraints—a process known as qubit mapping and routing. Dynamic quantum circuits represent a critical paradigm in quantum computing, which features mid-circuit measurements and conditional control flows (controlled subcircuits) based on measurement outcomes. A distinctive challenge arises when controlled subcircuits are determined only after measurement results become available (online acquisition). Thus, mapping and routing dynamic quantum circuits presents complex challenges, including managing the conditional execution of controlled subcircuits, accommodating their online/offline acquisitions, and resolving mapping misalignments between circuit segments. In this work, we propose a comprehensive framework for transforming and executing dynamic quantum circuits. In this framework, we present a mapping and routing algorithm <monospace>Sword</monospace> that effectively reduces the quantum processing time of quantum circuits, which applies SWAP(s) with occupancy and gate regional density. For online scenarios, we introduce a fast variant <monospace>Sword-fast</monospace> that significantly improves transformation efficiency with negligible performance degradation. Experimental evaluations demonstrate that our framework achieves an average 37.1% reduction in end-to-end wall-clock time compared with baseline approaches for offline scenarios. In online scenarios, our framework achieves 59.2% average reduction of end-to-end wall-clock time, demonstrating <inline-formula> <tex-math>$2.6\\times $ </tex-math></inline-formula> average speedup in transformation time and 30.0% average reduction in quantum processing time. By replacing the qubit mapping and routing algorithm in our framework with a fast variant, <monospace>Sword-fast</monospace>, we achieve a <inline-formula> <tex-math>$9.6\\times $ </tex-math></inline-formula> average speedup in transformation time compared with the standard version.","PeriodicalId":13251,"journal":{"name":"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems","volume":"45 6","pages":"2583-2596"},"PeriodicalIF":3.6000,"publicationDate":"2026-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11219096/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/10/28 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Quantum computing has exhibited remarkable advancements in recent years. On superconducting quantum chips, physical qubits are interconnected with limited coupling topologies. Since two-qubit gates can only be operated between adjacent qubits, quantum circuits must undergo transformation to satisfy these connectivity constraints—a process known as qubit mapping and routing. Dynamic quantum circuits represent a critical paradigm in quantum computing, which features mid-circuit measurements and conditional control flows (controlled subcircuits) based on measurement outcomes. A distinctive challenge arises when controlled subcircuits are determined only after measurement results become available (online acquisition). Thus, mapping and routing dynamic quantum circuits presents complex challenges, including managing the conditional execution of controlled subcircuits, accommodating their online/offline acquisitions, and resolving mapping misalignments between circuit segments. In this work, we propose a comprehensive framework for transforming and executing dynamic quantum circuits. In this framework, we present a mapping and routing algorithm Sword that effectively reduces the quantum processing time of quantum circuits, which applies SWAP(s) with occupancy and gate regional density. For online scenarios, we introduce a fast variant Sword-fast that significantly improves transformation efficiency with negligible performance degradation. Experimental evaluations demonstrate that our framework achieves an average 37.1% reduction in end-to-end wall-clock time compared with baseline approaches for offline scenarios. In online scenarios, our framework achieves 59.2% average reduction of end-to-end wall-clock time, demonstrating $2.6\times $ average speedup in transformation time and 30.0% average reduction in quantum processing time. By replacing the qubit mapping and routing algorithm in our framework with a fast variant, Sword-fast, we achieve a $9.6\times $ average speedup in transformation time compared with the standard version.
动态量子电路执行框架:平衡效能与效率
近年来,量子计算取得了显著的进步。在超导量子芯片上,物理量子位通过有限的耦合拓扑相互连接。由于两个量子比特的门只能在相邻的量子比特之间操作,量子电路必须经过转换以满足这些连接限制——这个过程被称为量子比特映射和路由。动态量子电路代表了量子计算中的一个关键范例,它具有基于测量结果的中路测量和条件控制流(受控子电路)。当控制子电路只有在测量结果可用(在线采集)后才确定时,就会出现一个独特的挑战。因此,映射和路由动态量子电路提出了复杂的挑战,包括管理受控子电路的条件执行,适应其在线/离线获取,以及解决电路段之间的映射错位。在这项工作中,我们提出了一个全面的框架来转换和执行动态量子电路。在这个框架中,我们提出了一种映射和路由算法Sword,有效地缩短了量子电路的量子处理时间,该算法采用了具有占用率和栅极区域密度的SWAP(s)。对于在线场景,我们引入了一个快速的变体Sword-fast,它可以显著提高转换效率,而性能下降可以忽略不计。实验评估表明,与离线场景的基线方法相比,我们的框架实现了端到端时钟时间平均减少37.1%。在在线场景中,我们的框架实现了端到端时钟时间平均减少59.2%,转换时间平均加速2.6倍,量子处理时间平均减少30.0%。通过将我们框架中的量子比特映射和路由算法替换为快速变体Sword-fast,与标准版本相比,我们在转换时间上实现了9.6倍的平均加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.60
自引率
13.80%
发文量
500
审稿时长
7 months
期刊介绍: The purpose of this Transactions is to publish papers of interest to individuals in the area of computer-aided design of integrated circuits and systems composed of analog, digital, mixed-signal, optical, or microwave components. The aids include methods, models, algorithms, and man-machine interfaces for system-level, physical and logical design including: planning, synthesis, partitioning, modeling, simulation, layout, verification, testing, hardware-software co-design and documentation of integrated circuit and system designs of all complexities. Design tools and techniques for evaluating and designing integrated circuits and systems for metrics such as performance, power, reliability, testability, and security are a focus.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书