arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.00822quant-phcs.PL
收藏

大型量子程序的可扩展内存回收

Scalable Memory Recycling for Large Quantum Programs

Israel Reichental, Ravid Alon, Lior Preminger, Matan Vax, Amir Naveh

AI总结:

本文提出一种针对大型量子程序的可扩展内存回收编译算法,通过将高级量子代码建模为控制流图并搜索拓扑排序以最大化量子比特重用,同时利用启发式方法平衡电路宽度与深度,并通过电路结构分析识别可独立解决的子问题以缓解编译瓶颈。

摘要:

随着量子计算技术的发展,量子算法的复杂性不断增加,需要从低级电路描述转向高级编程范式。本文探讨了开发一种编译算法的挑战,该算法优化内存管理并在更大、更复杂的电路中具有良好的可扩展性。我们的方法将高级量子代码建模为控制流图,并提出一个工作流,通过搜索拓扑排序来最大化量子比特重用的机会。各种量子比特重用策略的启发式方法处理电路宽度与深度之间的权衡。我们还探讨了大型电路中的可扩展性问题,提出了缓解编译瓶颈的方法。通过分析电路的结构,我们能够识别可以单独解决的子问题,而不会对电路质量产生显著影响,同时显著减少运行时间。这种方法通过将可扩展性纳入量子内存管理,为量子编程和编译器优化的未来进展奠定了基础。

英文摘要:

As quantum computing technology advances, the complexity of quantum algorithms increases, necessitating a shift from low-level circuit descriptions to high-level programming paradigms. This paper addresses the challenges of developing a compilation algorithm that optimizes memory management and scales well for bigger, more complex circuits. Our approach models the high-level quantum code as a control flow graph and presents a workflow that searches for a topological sort that maximizes opportunities for qubit reuse. Various heuristics for qubit reuse strategies handle the trade-off between circuit width and depth. We also explore scalability issues in large circuits, suggesting methods to mitigate compilation bottlenecks. By analyzing the structure of the circuit, we are able to identify sub-problems that can be solved separately, without a significant effect on circuit quality, while reducing runtime significantly. This method lays the groundwork for future advancements in quantum programming and compiler optimization by incorporating scalability into quantum memory management.

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

↑