arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.12855cs.PLcs.CLcs.ETquant-ph
收藏

Proq:量子计算机上基于投影的并行断言

Proq: Projection-based Runtime Assertions for Debugging on a Quantum Computer

Max Planck Institute(马克斯·普朗克研究所);University of Technology, Sydney(悉尼科技大学);Institute of Software, CAS(中国科学院软件研究所);Tsinghua University(清华大学)

Gushu Li, Li Zhou, Nengkun Yu, Yufei Ding, Mingsheng Ying, Yuan Xie

摘要:

在本文中,我们提出了Proq,一个运行时断言方案,用于在量子计算机上测试和调试量子程序。Proq中的谓词由投影(或等价地,状态空间的闭子空间)表示,遵循Birkhoff-von Neumann量子逻辑。量子态对投影的满意度可以通过少量的投影测量而不是大量的重复执行来直接检查。在理论方面,我们严格证明了检查基于投影的断言可以帮助定位错误或统计上确保测试程序的语义功能接近我们的期望,无论是精确的还是近似的量子程序。在实践方面,我们考虑了硬件约束,并引入了几种技术来转换断言,使它们可以直接在测量受限的量子计算机上执行。我们还建议使用本地投影技术来实现简化的断言实现,并保证可靠性。我们将Proq与现有的量子程序断言进行了比较,并通过应用Proq断言两个巧妙的量子算法,Harrow-Hassidim-Lloyd算法和Shor算法,证明了Proq的有效性和效率。

英文摘要:

In this paper, we propose Proq, a runtime assertion scheme for testing and debugging quantum programs on a quantum computer. The predicates in Proq are represented by projections (or equivalently, closed subspaces of the state space), following Birkhoff-von Neumann quantum logic. The satisfaction of a projection by a quantum state can be directly checked upon a small number of projective measurements rather than a large number of repeated executions. On the theory side, we rigorously prove that checking projection-based assertions can help locate bugs or statistically assure that the semantic function of the tested program is close to what we expect, for both exact and approximate quantum programs. On the practice side, we consider hardware constraints and introduce several techniques to transform the assertions, making them directly executable on the measurement-restricted quantum computers. We also propose to achieve simplified assertion implementation using local projection technique with soundness guaranteed. We compare Proq with existing quantum program assertions and demonstrate the effectiveness and efficiency of Proq by its applications to assert two ingenious quantum algorithms, the Harrow-Hassidim-Lloyd algorithm and Shor's algorithm.

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

↑