As quantum computing progresses steadily from theory into practice, programmers will face a common problem: How can they be sure that their code does what they intend it to do? This paper presents encouraging results in the application of mechanized proof to the domain of quantum programming in the context of the SQIR development. It verifies the correctness of a range of a quantum algorithms including Grover's algorithm and quantum phase estimation, a key component of Shor's algorithm. In doing so, it aims to highlight both the successes and challenges of formal verification in the quantum context and motivate the theorem proving community to target quantum computing as an application domain.
翻译:随着量子计算从理论到实践的稳步发展,程序员将面临一个共同的问题:他们如何能确保代码能按自己的意愿行事?本文件介绍了在SQIR开发过程中将机械化证据应用于量子程序编程领域所取得的令人鼓舞的结果。它核实了一系列量子算法的正确性,包括Grover的算法和量子阶段估算,这是Shor算法的一个关键组成部分。它这样做的目的是突出在量子环境下正式核查的成功和挑战,并激励证明社区将量子计算作为应用领域的目标。