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

量子霍尔逻辑定理证明器及其应用

A Theorem Prover for Quantum Hoare Logic and Its Applications

Tao Liu, Yangjia Li, Shuling Wang, Mingsheng Ying, Naijun Zhan

摘要:

量子霍尔逻辑(QHL)在Ying的工作中被引入来描述和推理量子程序。在本文中,我们实现了一个定理证明QHL基于Isabelle/HOL。通过应用定理证明器,验证一个量子程序的规格等价地转化为矩阵之间的顺序关系。由于Isabelle/HOL的局限性,顺序关系的计算通过调用外部Python语言的oracle来解决。据我们所知,这是量子程序的第一个定理证明器。为了证明它的力量,两个著名的量子算法,即,Grover量子搜索和量子相位估计是Shor的多项式时间分解量子算法的关键步骤,利用定理证明器证明了这两个步骤。这是他们两人的第一次机械化证明。

英文摘要:

Quantum Hoare Logic (QHL) was introduced in Ying's work to specify and reason about quantum programs. In this paper, we implement a theorem prover for QHL based on Isabelle/HOL. By applying the theorem prover, verifying a quantum program against a specification is transformed equivalently into an order relation between matrices. Due to the limitation of Isabelle/HOL, the calculation of the order relation is solved by calling an outside oracle written in Python. To the best of our knowledge, this is the first theorem prover for quantum programs. To demonstrate its power, the correctness of two well-known quantum algorithms, i.e., Grover Quantum Search and Quantum Phase Estimation (the key step in Shor's quantum algorithm of factoring in polynomial time) are proved using the theorem prover. These are the first mechanized proofs for both of them.

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

↑