arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.14792quant-phcs.PL
收藏

Qrisp:面向基于门的量子计算机的可编译高级编程框架

Qrisp: A Framework for Compilable High-Level Programming of Gate-Based Quantum Computers

Raphael Seidel, Sebastian Bock, René Zander, Matic Petrič, Niklas Steinmann, Nikolay Tcholtchev, Manfred Hauswirth

AI总结:

针对量子计算高级编程抽象不足的问题,提出Qrisp框架,通过经典范式启发的编程抽象实现可编译至电路级的量子编程,提升编译效率并降低量子资源需求。

摘要:

尽管量子计算的硬件层面已取得显著进展,但与经典编程语言相比,高级量子编程抽象的支持仍显不足。本文介绍Qrisp框架,旨在弥合当前软件工程中的高级编程范式与当下量子硬件物理现实之间的若干鸿沟。该框架致力于为量子算法开发提供系统化方法,使算法可被轻松实现、维护与改进。我们提出了一系列受经典范式启发、但始终围绕量子开发者特定需求设计的编程抽象。与许多其他高级语言方法不同,Qrisp的突出特性是能够将程序编译至电路层级,使其可在多数现有物理后端上运行。所引入的抽象使Qrisp编译器能够利用算法结构提升编译效率。最后,我们展示了一组代码示例,包括Shor分解算法的实现。该实现生成的电路显著降低了量子资源需求,有力证明了系统化量子算法开发可带来量化收益。

英文摘要:

While significant progress has been made on the hardware side of quantum computing, support for high-level quantum programming abstractions remains underdeveloped compared to classical programming languages. In this article, we introduce Qrisp, a framework designed to bridge several gaps between high-level programming paradigms in state-of-the-art software engineering and the physical reality of today's quantum hardware. The framework aims to provide a systematic approach to quantum algorithm development such that they can be effortlessly implemented, maintained and improved. We propose a number of programming abstractions that are inspired by classical paradigms, yet consistently focus on the particular needs of a quantum developer. Unlike many other high-level language approaches, Qrisp's standout feature is its ability to compile programs to the circuit level, making them executable on most existing physical backends. The introduced abstractions enable the Qrisp compiler to leverage algorithm structure for increased compilation efficiency. Finally, we present a set of code examples, including an implementation of Shor's factoring algorithm. For the latter, the resulting circuit shows significantly reduced quantum resource requirements, strongly supporting the claim that systematic quantum algorithm development can give quantitative benefits.

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

↑