paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Tower: data structures in Quantum superposition

Tower:量子叠加中的数据结构
OOPSLA 6(OOPSLA2)2022匹配度 1/10 · 论文属于量子编程语言、可逆内存分配与类型系统,与用户关注的静态分析、ML/Agentic 程序、浮点程序分析、贝叶斯程序分析及 LLM 交叉均无直接关联,仅属于广义程序语言/形式化与运行时研究。引用 26 inbox
Charles Yuan, Michael Carbin
crossref: 2026-09-10

AI 速览

一句话:提出 Core Tower/Tower 量子编程语言与 Boson 分配器,实现可逆、历史无关、有界时间的量子叠加数据结构。

量子算法常依赖抽象数据结构,但在量子叠加态上实现它们要求操作为酉算子,并满足可逆性、历史无关性与有界时间;标准实现(如哈希表)不满足。论文提出 Core Tower,首个带随机访问内存的量子编程语言,支持指针式链接数据结构,其可逆语义可将合法程序翻译成酉量子电路;提出 Boson 可逆、历史无关且常数时间的量子内存分配器;提出 Tower,用经典参数与类型系统限制递归,支持递归定义数据结构。作者实现 Ground 量子数据结构库,包括列表、栈、队列、字符串和集合,并给出首个满足三性质的可执行集合实现。

问题
量子算法依赖抽象数据结构,但要在量子叠加态上正确运行,其实现必须是可逆、历史无关且有界时间的酉操作;现有标准实现不满足这些要求。
方法
论文提出 Core Tower(带随机访问内存的量子编程语言)及其可逆语义,提出 Boson 可逆、历史无关、常数时间的量子内存分配器,并提出带类型系统的 Tower 支持递归数据结构。
评估
作者用 Tower 实现 Ground 量子数据结构库(列表、栈、队列、字符串、集合),并给出首个同时满足可逆性、历史无关性和有界时间执行的可执行集合实现。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1411,
  title = {Tower: data structures in Quantum superposition},
  author = {Charles Yuan and Michael Carbin},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {6},
  number = {OOPSLA2},
  year = {2022},
  doi = {10.1145/3563297}
}