arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.01940cs.LO
收藏

基于满足性的量子霍尔逻辑的相对完备性研究

On the Relative Completeness of Satisfaction-based Quantum Hoare Logic

Xin Sun, Xingchi Su, Xiaoning Bian, Huiwen Wu

AI总结:

本文提出首个带while循环的相对完备的基于满足性的量子霍尔逻辑,通过构造最弱前置项演算证明完备性,并成功验证Deutsch算法和量子隐形传态的正确性。

摘要:

量子霍尔逻辑(QHL)是一种专门为确保量子程序正确性而设计的形式化验证工具。自2006年提出以来,如何实现带while循环的基于满足性的相对完备QHL一直是一个持续存在的挑战。本文通过提出首个带while循环的相对完备的基于满足性的QHL,给出了一个解决方案。完备性的证明分两步进行。首先,我们建立了带量子程序和确定性断言的霍尔三元组的语义和证明系统。然后,利用确定性断言的最弱前置条件,构造了概率表达式的最弱前置项演算。QHL的相对完备性随后作为最弱前置项演算的结果而获得。利用我们的QHL,我们形式化验证了Deutsch算法和量子隐形传态的正确性。

英文摘要:

Quantum Hoare logic (QHL) is a formal verification tool specifically designed to ensure the correctness of quantum programs. There has been an ongoing challenge to achieve a relatively complete satisfaction-based QHL with while-loop since its inception in 2006. This paper presents a solution by proposing the first relatively complete satisfaction-based QHL with while-loop. The completeness is proved in two steps. First, we establish a semantics and proof system of Hoare triples with quantum programs and deterministic assertions. Then, by utilizing the weakest precondition of deterministic assertion, we construct the weakest preterm calculus of probabilistic expressions. The relative completeness of QHL is then obtained as a consequence of the weakest preterm calculus. Using our QHL, we formally verify the correctness of Deutsch's algorithm and quantum teleportation.

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

↑