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

LinguaQuanta:面向OpenQASM与Quipper之间的量子转译器(扩展版)

LinguaQuanta: Towards a Quantum Transpiler Between OpenQASM and Quipper (Extended)

Scott Wesley

AI总结:

本文基于量子转译器LinguaQuanta的设计经验,梳理量子转译器设计的挑战与最佳实践,提出范畴论规范与实用线路分解方法,讨论实现难点并以量子相位估计验证实用性,给出相关发展建议。

摘要:

随着量子计算的发展,诸多重要问题随之浮现,例如如何最优地表示量子程序,以及如何提升量子程序分析工具之间的互操作性。这些问题在量子转译器(即实现量子编程语言间翻译的工具)的设计中自然出现。本文通过明确量子转译器设计中的挑战与最佳实践,朝着解答这些问题迈出了一步。我们的这些建议基于设计LinguaQuanta的经验,LinguaQuanta是一款实现Quipper与OpenQASM之间互译的量子转译器。首先,我们为量子转译器提供了范畴论规范,旨在封装UNIX哲学的核心原则。随后,我们梳理了预计在量子转译中具备实用价值的量子线路分解方法。基于这些基础,我们进一步讨论了LinguaQuanta实现过程中面临的挑战,例如辅助比特管理与往返翻译稳定性。为验证LinguaQuanta的实际可用性,我们以量子相位估计为例提供了简短教程。最后,我们针对LinguaQuanta的未来发展,以及更广泛的量子软件开发工具给出了建议。

英文摘要:

As quantum computing evolves, many important questions emerge, such as how best to represent quantum programs, and how to promote interoperability between quantum program analysis tools. These questions arise naturally in the design of quantum transpilers, which translate between quantum programming languages. In this paper, we take a step towards answering these questions by identifying challenges and best practices in quantum transpiler design. We base these recommendations on our experience designing LinguaQuanta, a quantum transpiler between Quipper and OpenQASM. First, we provide categorical specifications for quantum transpilers, which aim to encapsulate the core principles of the UNIX philosophy. We then identify quantum circuit decompositions which we expect to be useful in quantum transpilation. With these foundations in place, we then discuss challenges faced during the implementation of LinguaQuanta, such as ancilla management and stability under round translation. To show that LinguaQuanta works in practice, a short tutorial is given for the example of quantum phase estimation. We conclude with recommendations for the future of LinguaQuanta, and for quantum software development tools more broadly.

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

↑