Lune

OOPSLA2020顶会

Projection-based runtime assertions for testing and debugging Quantum programs

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Bugs in Quantum computing platforms: an empirical study 引用了 A verified optimizer for Quantum circuits
  • MorphQ: Metamorphic Testing of the Qiskit Quantum Computing Platform 引用了 Bugs in Quantum computing platforms: an empirical study
  • MorphQ: Metamorphic Testing of the Qiskit Quantum Computing Platform 引用了 Quantum Circuits for Dynamic Runtime Assertions in Quantum Computation
  • Twist: sound reasoning for purity and entanglement in Quantum programs 引用了 A verified optimizer for Quantum circuits
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper20

  1. Bugs in Quantum computing platforms: an empirical studyMatteo Paltenghi, Michael PradelOOPSLA 2022 · 70 次引用
  2. MorphQ: Metamorphic Testing of the Qiskit Quantum Computing PlatformMatteo Paltenghi, Michael PradelICSE 2023 · 44 次引用
  3. symQV: Automated Symbolic Verification of Quantum ProgramsFabian Bauer-Marquart, Stefan Leue, Christian SchillingFM 2023 · 37 次引用
  4. Qunity: A Unified Language for Quantum and Classical ComputingFinn Voichick, Liyi Li, Robert Rand, Michael HicksPOPL 2023 · 35 次引用
  5. Twist: sound reasoning for purity and entanglement in Quantum programsCharles Yuan, Christopher McNally, Michael CarbinPOPL 2022 · 30 次引用

它引用的 Paper2

  1. A verified optimizer for Quantum circuitsKesha Hietala, Robert Rand, Shih-Han Hung, Xiaodi Wu 等POPL 2021 · 111 次引用
  2. Quantum Circuits for Dynamic Runtime Assertions in Quantum ComputationJi Liu, Gregory T. Byrd, Huiyang ZhouASPLOS 2020 · 82 次引用

相关 Paper

  1. Systematic Approaches for Precise and Approximate Quantum State Runtime AssertionJi Liu, Huiyang ZhouHPCA 2021 · 31 次引用
  2. Quantum abstract interpretationNengkun Yu, Jens PalsbergPLDI 2021 · 69 次引用
  3. An Expressive Assertion Language for Quantum ProgramsBonan Su, Yuan Feng, Mingsheng Ying, Li ZhouPOPL 2026 · 1 次引用
  4. Verification of Nondeterministic Quantum ProgramsYuan Feng, Yingte XuASPLOS 2023 · 7 次引用
  5. Scalable Equivalence Checking and Verification of Shallow Quantum CircuitsNengkun Yu, Xuan Du Trinh, Thomas RepsOOPSLA 2025
黄昏的海面,两侧是细线勾勒的悬崖