Pith. sign in

Automatically Refining Assertions for Efficient Debugging of Quantum Programs

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

As new advancements in the field of quantum computing lead to the development of increasingly complex programs, approaches to validate and debug these programs are becoming more important. To this end, methods employed in classical debugging, such as assertions for testing specific properties of a program's state, have been adapted for quantum programs. However, to efficiently debug quantum programs, it is key to properly place these assertions. This usually requires a deep understanding of the program's underlying mathematical properties, constituting a time-consuming manual task for developers. To address this problem, this work proposes methods for automatically refining assertions in quantum programs by moving them to more favorable positions in the program or by placing new assertions that help to further narrow down potential error locations. This allows developers to take advantage of rich and expressive assertions that greatly improve the debugging experience without requiring them to place these assertions manually in an otherwise tedious manner. An open-source implementation of the proposed methods is available at https://github.com/cdatum/mqt-debugger.

citation-role summary

background 1

citation-polarity summary

fields

cs.SE 1

years

2025 1

verdicts

CONDITIONAL 1

roles

background 1

polarities

unclear 1

representative citing papers

On the Feasibility of Quantum Unit Testing

cs.SE · 2025-07-23 · conditional · novelty 5.0

A large empirical study finds that the Inverse test, which reverses the expected circuit and checks for the all-zero state, detects quantum circuit mutations with fewer shots than statistical or Swap tests.

citing papers explorer

Showing 1 of 1 citing paper.

  • On the Feasibility of Quantum Unit Testing cs.SE · 2025-07-23 · conditional · none · ref 33 · internal anchor

    A large empirical study finds that the Inverse test, which reverses the expected circuit and checks for the all-zero state, detects quantum circuit mutations with fewer shots than statistical or Swap tests.