arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.22980quant-phcs.ET
收藏

使用常量传播的量子程序自动去量子化

Automatic De-Quantization of Quantum Programs Using Constant Propagation

Institute of Software Technology, German Aerospace Center (DLR)(德国航空航天中心软件技术研究所);Chair for Design Automation, Technical University of Munich(慕尼黑工业大学设计自动化讲席);Munich Quantum Software Company GmbH(慕尼黑量子软件有限公司)

Lian Remme, Alexander Weinert, Andre Waschk, Lukas Burgholzer, Robert Wille

AI总结:

提出混合量子-经典常量传播方法,通过跟踪量子与经典状态消除不必要的量子门和控制,减少量子资源使用。

摘要:

量子计算有望解决经典计算机无法触及的问题,但当今的量子硬件容易出错且比经典硬件慢得多。每个量子操作成本高昂,因此最小化近期算法中的量子资源使用至关重要。量子资源应仅用于对量子优势真正必要的操作,而不是浪费在可以由经典计算高效处理的操作上。在这项工作中,我们专注于尽可能将量子操作去量子化为经典计算。为此提出的方法是混合量子-经典常量传播,这是一种通过将量子操作替换为快速、可靠的经典指令来减少量子操作的优化。这是通过跟踪量子与经典状态来识别和消除不必要的量子门和控制来实现的。我们形式化了用于量子-经典常量传播的混合状态模型,在开源MQT Core工具中实现了我们的优化,并在基准电路上进行了评估。结果表明,量子-经典常量传播可以减少昂贵的多量子比特操作,使量子程序对近期设备更加实用和鲁棒。这为利用量子和经典世界优势的新型混合编译器策略打开了大门。

英文摘要:

Quantum computing promises to solve problems beyond the reach of classical computers, but today's quantum hardware is error-prone and much slower than classical hardware. Every quantum operation is costly, making it crucial to minimize quantum resource usage in near-term algorithms. Quantum resources should only be used when they are truly essential for quantum advantage, and not wasted on operations that can be efficiently handled by classical computation. In this work, we focus on de-quantizing quantum operations to classical computation whenever possible. The approach we propose for this is hybrid quantum-classical constant propagation, an optimization which reduces quantum operations by trading them for fast, reliable classical instructions. This is done by tracking between quantum and classical states to identify and eliminate unnecessary quantum gates and controls. We formalize a hybrid state model for quantum-classical constant propagation, implement our optimizations in the open-source MQT Core tool, and evaluate them on benchmark circuits. The obtained results show that quantum-classical constant propagation can reduce costly multi-qubit operations, making quantum programs more practical and robust for near-term devices. This opens the door to new hybrid compiler strategies that leverage the best of both quantum and classical worlds.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑