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

量子寄存器机:量子递归程序的高效实现

Quantum Register Machine: Efficient Implementation of Quantum Recursive Programs

Zhicheng Zhang, Mingsheng Ying

AI总结:

针对量子递归中控制流与递归调用难以协同实现的问题,本文提出量子寄存器机及完整编译、部分求值和执行流程,并实现自动并行化与指数级加速。

摘要:

量子递归编程最近被提出,用于以简洁而优雅的方式描述复杂、精巧的量子算法。然而,量子递归的实现涉及量子控制流与递归过程调用之间错综复杂的相互作用。本文旨在解决这一基础性挑战,并发展一系列技术以高效实现量子递归程序。我们的主要贡献包括:1. 我们提出了量子寄存器机的概念,这是首个同时为量子控制流和递归过程调用提供指令级支持的量子体系结构(包括指令集)。2. 基于量子寄存器机,我们描述了首个完整的量子递归程序实现流程,包括编译、量子控制流的部分求值,以及在量子寄存器机上的执行。3. 作为额外收获,我们对量子递归程序的高效实现还提供了量子算法的自动并行化。对于实现某些量子算法子程序,例如被广泛使用的量子多路复用器,我们甚至能够通过这种自动并行化获得指数级并行加速(相对于直接实现)。这表明,量子递归编程能够在程序模块化及其实现效率之间实现双赢。

英文摘要:

Quantum recursive programming has been recently introduced for describing sophisticated and complicated quantum algorithms in a compact and elegant way. However, implementation of quantum recursion involves intricate interplay between quantum control flow and recursive procedure calls. In this paper, we aim at resolving this fundamental challenge and develop a series of techniques to efficiently implement quantum recursive programs. Our main contributions include: 1. We propose a notion of quantum register machine, the first quantum architecture (including an instruction set) that provides instruction-level support for quantum control flow and recursive procedure calls at the same time. 2. Based on quantum register machine, we describe the first comprehensive implementation process of quantum recursive programs, including the compilation, the partial evaluation of quantum control flow, and the execution on the quantum register machine. 3. As a bonus, our efficient implementation of quantum recursive programs also offers automatic parallelisation of quantum algorithms. For implementing certain quantum algorithmic subroutine, like the widely used quantum multiplexor, we can even obtain exponential parallel speed-up (over the straightforward implementation) from this automatic parallelisation. This demonstrates that quantum recursive programming can be win-win for both modularity of programs and efficiency of their implementation.

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

↑