Projection-based runtime assertions for testing and debugging Quantum programs
Projection-based runtime assertions for testing and debugging Quantum programs
复制标题
用于测试和调试 Quantum 程序的基于投影的运行时断言
DOI:
10.1145/3428218
复制
发表时间:
2020
影响因子:
--
通讯作者:
Xie, Yuan
中科院分区:
文献类型:
--
作者:
Li, Gushu;Zhou, Li;Yu, Nengkun;Ding, Yufei;Ying, Mingsheng;Xie, Yuan
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 sophisticated quantum algorithms, the Harrow-Hassidim-Lloyd algorithm and Shor’s algorithm.
登录
查看更多内容
DOI:
--
发表时间:
2016
期刊:
影响因子:
--
作者:
M. Ying
通讯作者:
M. Ying
影响因子:
5.7
作者:
Wang, Yazhen
通讯作者:
Wang, Yazhen
DOI:
10.1145/3373376.3378488
发表时间:
2020
期刊:
Architectural Support for Programming Languages and Operating Systems
影响因子:
--
作者:
Liu, Ji;Byrd, Gregory T.;Zhou, Huiyang
通讯作者:
Zhou, Huiyang
DOI:
--
发表时间:
2014
期刊:
arXiv.org
影响因子:
--
作者:
Yangjia Li;M. Ying
通讯作者:
M. Ying