Year: 2020
Type: article
Abstract: 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: 10.1145/3428218
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
Funders: National Science Foundation, Max Planck Institute for Software Systems, National Natural Science Foundation of China, Foundation for Innovative Research Groups of the National Natural Science Foundation of China, Australian Research Council, National Key Research and Development Program of China Stem Cell and Translational Research
Awards: II-New: RICARDO: Research Infrastructure for Circuit and Architecture Design with Emerging Technologies, Verification of quantum cryptographic protocols: a process algebra approach, CC* Compute: A high-performance GPU cluster for accelerated research, Quantum property testing-a fundamental technology for quantum big data, G7698593201, G8233609758, G8288014501, Verification and analysis of quantum programs, 量子程序设计的理论基础
OpenAlex ID: W3109961245
