arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.10255cs.PLquant-ph
收藏

量子叠加中的数据结构

Tower: Data Structures in Quantum Superposition

Charles Yuan, Michael Carbin

摘要:

新兴的量子算法的问题,如元素的独特性,子集和,最接近的一对证明了计算的优势,依赖于抽象的数据结构。实际上将这样的算法实现为用于量子计算机的程序需要数据结构的有效实现,该数据结构的操作对应于操纵数据的量子叠加的酉算子。为了在叠加中正确地操作,实现必须满足三个属性--可逆性、历史独立性和有界时间执行。标准的实现,例如将抽象集表示为哈希表,不能满足这些属性,需要工具来开发专门的实现。在这项工作中,我们介绍了Core Tower,这是第一种使用随机存取存储器进行量子编程的语言。CoreTower使开发人员能够将数据结构实现为基于指针的链接数据。它具有可逆的语义,使每个有效的程序都可以转换为一个单一的量子电路。我们提出玻色子,第一个内存分配器,支持可逆的,历史无关的,和恒定时间的量子叠加动态内存分配。我们还提出了塔,量子编程与递归定义的数据结构的语言。Tower有一个类型系统,它使用经典参数来限制所有递归,这是程序在量子计算机上执行所必需的。使用Tower,我们实现了Ground,这是第一个数据结构的量子库,包括列表、堆栈、队列、字符串和集合。我们提供了第一个可执行的集合实现,满足所有三个强制属性的可逆性,历史独立性和有界时间执行。

英文摘要:

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.

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

↑