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

量子程序的抽象解释、霍尔逻辑和不正确逻辑

Abstract interpretation, Hoare logic, and incorrectness logic for quantum programs

Yuan Feng, Sanjiang Li

摘要:

抽象解释、霍尔逻辑和不正确(或反向霍尔)逻辑是静态分析计算机程序的强大技术。所有这些都已成功地扩展到量子设置,但在很大程度上是并行开发的。在本文中,我们研究这些技术之间的关系,在验证量子while程序的背景下,其中的抽象域和一组断言的量子状态是结构良好的。特别地,我们证明了任何完全的量子抽象解释都可以导出一个量子霍尔逻辑和一个量子不正确逻辑,这两个逻辑都是合理的和相对完备的。与文献中提出的逻辑不同,诱导逻辑系统是以向前的方式,使它们在某些应用中更有用。相反,任何健全的和相对完整的量子霍尔逻辑或量子不正确逻辑都导出一个完整的量子抽象解释。作为应用,我们证明了当局部子空间元组作为断言时,不存在任何可靠的、相对完备的量子霍尔逻辑或不正确逻辑.

英文摘要:

Abstract interpretation, Hoare logic, and incorrectness (or reverse Hoare) logic are powerful techniques for static analysis of computer programs. All of them have been successfully extended to the quantum setting, but largely developed in parallel. In this paper, we examine the relationship between these techniques in the context of verifying quantum while-programs, where the abstract domain and the set of assertions for quantum states are well-structured. In particular, we show that any complete quantum abstract interpretation induces a quantum Hoare logic and a quantum incorrectness logic, both of which are sound and relatively complete. Unlike the logics proposed in the literature, the induced logic systems are in a forward manner, making them more useful in certain applications. Conversely, any sound and relatively complete quantum Hoare logic or quantum incorrectness logic induces a complete quantum abstract interpretation. As an application, we are able to show the non-existence of any sound and relatively complete quantum Hoare logic or incorrectness logic if tuples of local subspaces are taken as assertions.

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

↑