论文标题

塔:量子叠加中的数据结构

Tower: Data Structures in Quantum Superposition

论文作者

Yuan, Charles, Carbin, Michael

论文摘要

针对元素独特性,子集总和和最接近的问题等问题的新兴量子算法通过依靠抽象数据结构来证明计算优势。实际上,将这种算法视为量子计算机的程序,需要有效地实现数据结构,其操作对应于操纵数据的量子叠加的单一操作员。 要正确操作叠加,实施必须满足三个属性 - 可逆性,历史独立性和有限的时间执行。标准实现,例如将抽象集作为哈希表的表示,使这些属性失败,呼吁开发专门实现的工具。 在这项工作中,我们提出了Core Tower,这是具有随机访问记忆的量子编程的第一语言。 Core Tower使开发人员能够将数据结构作为基于指针的链接数据实现。它具有可逆语义,使每个有效程序都可以翻译成统一的量子电路。 我们提出了Boson,这是第一个支持量子叠加中可逆,独立于历史的动态内存分配的内存分配。我们还提出了塔,这是一种用于递归定义的数据结构的量子编程的语言。 Tower具有类型系统,该系统使用经典参数界定所有递归,这对于在量子计算机上执行的程序所必需。 使用塔,我们实施了地面,即第一个量子库数据结构,包括列表,堆栈,队列,字符串和集合。我们提供了第一个可执行的实现集,该集合满足了可逆性,历史独立性和有限时间执行的所有三个强制性属性。

Emerging quantum algorithms for problems such as element distinctness, subset sum, and closest pair demonstrate computational advantages by relying on abstract data structures. Practically realizing such an algorithm as a program for a quantum computer requires an efficient implementation of the data structure whose operations correspond to unitary operators that manipulate quantum superpositions of data. To correctly operate in superposition, an implementation must satisfy three properties -- reversibility, history independence, and bounded-time execution. Standard implementations, such as the representation of an abstract set as a hash table, fail these properties, calling for tools to develop specialized implementations. In this work, we present Core Tower, the first language for quantum programming with random-access memory. Core Tower enables the developer to implement data structures as pointer-based, linked data. It features a reversible semantics enabling every valid program to be translated to a unitary quantum circuit. We present Boson, the first memory allocator that supports reversible, history-independent, and constant-time dynamic memory allocation in quantum superposition. We also present Tower, a language for quantum programming with recursively defined data structures. Tower features a type system that bounds all recursion using classical parameters as is necessary for a program to execute on a quantum computer. Using Tower, we implement Ground, the first quantum library of data structures, including lists, stacks, queues, strings, and sets. We provide the first executable implementation of sets that satisfies all three mandated properties of reversibility, history independence, and bounded-time execution.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源