用于推理堆操作量子程序的束逻辑解释
An Interpretation of Bunched Logic for Reasoning about Heap-Manipulating Quantum Programs
AI总结:
本文针对堆操作量子程序的正确性推理挑战,提出了一种束逻辑的量子解释,首次给出分离蕴涵的量子解释,构建了支持局部推理且相对完备的量子分离逻辑。
摘要:
我们将堆操作引入量子编程语言,以实现灵活的量子内存管理,这对程序正确性推理提出了新挑战。为应对这些挑战,我们通过将伯克霍夫-冯·诺依曼量子逻辑扩展到维度可变的希尔伯特空间(以适配量子堆上变量的动态分配与释放),开发了一种新颖的束逻辑量子解释。除分离合取(*)外,我们首次给出分离蕴涵(-∗)的量子解释,以支持反向推理。该解释保留了(*)与(-∗)之间的伴随关系,确保两个算子均捕获空间属性,且与量子堆操作的语义精确对齐。基于此基础,我们构建了支持局部推理且相对完备的量子分离逻辑。
英文摘要:
We introduce heap manipulation into quantum programming languages to enable flexible quantum memory management, which in turn poses new challenges for reasoning about program correctness. To address these challenges, we develop a novel quantum interpretation of bunched logic by extending Birkhoff--von Neumann quantum logic to Hilbert spaces whose dimensions vary to accommodate the dynamic allocation and deallocation of variables on the quantum heap. Beyond the separating conjunction ($*$), we present, for the first time, a quantum interpretation of the separating implication ($-\mkern-3mu*$) to support backward reasoning. This interpretation preserves the adjunction between ($*$) and ($-\mkern-3mu*$), ensuring that both operators capture spatial properties and are precisely aligned with the semantics of quantum heap manipulations. Building on this foundation, we establish a quantum separation logic that supports local reasoning and is relatively complete.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。