arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.01959cs.LOcs.PLquant-ph
收藏

Birkhoff-von Neumann量子逻辑作为量子程序的断言语言

Birkhoff-von Neumann Quantum Logic as an Assertion Language for Quantum Programs

Mingsheng Ying

摘要:

需要一个带有量子变量的一阶逻辑作为断言语言,用于指定和推理量子程序的各种属性(例如正确性)。令人惊讶的是,这样的逻辑在文献中缺失,现有的一阶Birkhoff-von Neumann量子逻辑只处理经典变量和它们的量化。在本文中,我们填补了这一空白,通过引入一阶扩展的Birkhoff-von Neumann量子逻辑与泛量词和存在量词的量子变量。给出的例子表明,我们的逻辑特别适合于指定量子计算和量子信息中研究的一些重要性质。我们进一步将此逻辑作为断言逻辑纳入量子霍尔逻辑中,使其能起到类似于经典霍尔逻辑中的一阶逻辑和分离逻辑中的BI-逻辑的作用。特别是,我们展示了它如何可以用来定义和推导量子概括的一些适应规则,已被应用于显着简化验证的经典程序。预计本文中定义的断言逻辑-一阶量子逻辑与量子变量-可以与各种量子程序逻辑相结合,作为一个坚实的逻辑基础上,验证工具可以建立使用证明助手,如Coq和Isabelle/HOL。

英文摘要:

A first-order logic with quantum variables is needed as an assertion language for specifying and reasoning about various properties (e.g. correctness) of quantum programs. Surprisingly, such a logic is missing in the literature, and the existing first-order Birkhoff-von Neumann quantum logic deals with only classical variables and quantifications over them. In this paper, we fill in this gap by introducing a first-order extension of Birkhoff-von Neumann quantum logic with universal and existential quantifiers over quantum variables. Examples are presented to show our logic is particularly suitable for specifying some important properties studied in quantum computation and quantum information. We further incorporate this logic into quantum Hoare logic as an assertion logic so that it can play a role similar to that of first-order logic for classical Hoare logic and BI-logic for separation logic. In particular, we show how it can be used to define and derive quantum generalisations of some adaptation rules that have been applied to significantly simplify verification of classical programs. It is expected that the assertion logic defined in this paper - first-order quantum logic with quantum variables - can be combined with various quantum program logics to serve as a solid logical foundation upon which verification tools can be built using proof assistants such as Coq and Isabelle/HOL.

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

↑