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

酉表达式:可扩展量子编程语言与系统的必要抽象

Unitary Expressions: A Necessary Abstraction for Extensible Quantum Programming Languages and Systems

Ed Younis

AI总结:

针对量子计算软件生态中基于名称识别量子门易出错、难维护等问题,研究提出用函数式酉表达式表示法替代,推出含QGL语言、可微分即时编译器和QVM的OpenQudit系统,梯度计算速度领先,可提升量子编程系统的扩展性与易用性。

摘要:

量子门是数字量子计算机的基础指令。当前的编程语言、系统以及软件开发工具包通过名称来识别这些操作门,这要求各方对其含义达成共识。然而,在围绕量子计算不断发展的软件生态中——涵盖高级编程系统到低级控制栈——这种识别过程往往容易出错、调试难度大、维护成本高且难以适应变化。\n在本文中,我们提出用一种函数式表示法取代这种基于名称的门表示法。我们推出了OpenQudit系统,用于描述、解析、优化、分析和利用由以符号酉表达式描述的门组成的程序。作为这项工作的一部分,我们设计了Qudit门语言(Qudit Gate Language,QGL)——一种专门面向酉运算的表达式语言,并在OpenQudit中实现了一个可微分即时编译器,旨在将该语言嵌入到量子编程语言与系统中。此外,我们还精确设计并实现了Qudit虚拟机(Qudit Virtual Machine,QVM),用于高效评估量子程序及其梯度。这类评估在量子程序编译期间会执行数百万次。在最常见的使用场景中,我们的QVM计算梯度的速度比当前领先的数值量子编译框架快约十倍。\n总体而言,OpenQudit系统旨在实现以下目标:(1)支持多能级或基于量子比特(qudit)的量子系统;(2)实现程序转换工具的安全组合;(3)加速电路优化器和转译器;(4)实现编译器可扩展性;(5)为量子从业者提供高效、易用的接口。

英文摘要:

Quantum gates are the fundamental instructions of digital quantum computers. Current programming languages, systems, and software development toolkits identify these operational gates by their titles, which requires a shared understanding of their meanings. However, in the continuously developing software ecosystem surrounding quantum computing -- spanning high-level programming systems to low-level control stacks -- this identification process is often error-prone, challenging to debug, maintenance-heavy, and resistant to change. In this paper, we propose replacing this nominal gate representation with a functional one. We introduce the OpenQudit system for describing, parsing, optimizing, analyzing, and utilizing programs comprising gates described as symbolic unitary expressions. As part of this effort, we design the Qudit Gate Language (QGL), a unitary-specific expression language, and implement a differentiating just-in-time compiler in OpenQudit towards embedding this language in quantum programming languages and systems. Additionally, we have precisely designed and implemented the Qudit Virtual Machine (QVM) to evaluate quantum programs and their gradients efficiently. This evaluation is performed millions of times during the compilation of quantum programs. Our QVM can compute gradients approximately ten times faster than current leading numerical quantum compilation frameworks in the most common use cases. Altogether, the OpenQudit system is envisioned to (1) support many-level or qudit-based quantum systems, (2) enable the safe composition of program transformation tools, (3) accelerate circuit optimizers and transpilers, (4) enable compiler extensibility, and (5) provide a productive, simple-to-use interface to quantum practitioners.

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

↑