Faster and Better Quantum Software Testing through Specification Reduction and Projective Measurements
Noah H. Oldfield, Christoph Laaber, Tao Yue, Shaukat Ali

TL;DR
This paper introduces a novel quantum software testing method that reduces specifications and employs projective measurements, significantly improving testing speed and fault detection in quantum programs.
Contribution
It presents a reduction algorithm for quantum specifications combined with projective measurements, addressing limitations of existing methods in sampling efficiency and fault detection.
Findings
Test runtimes reduced from 169.9s to 11.8s on average
Mutation scores increased from 54.5% to 74.7%
Effective detection of quantum-specific phase flip faults
Abstract
Quantum computing promises polynomial and exponential speedups in many domains, such as unstructured search and prime number factoring. However, quantum programs yield probabilistic outputs from exponentially growing distributions and are vulnerable to quantum-specific faults. Existing quantum software testing (QST) approaches treat quantum superpositions as classical distributions. This leads to two major limitations when applied to quantum programs: (1) an exponentially growing sample space distribution and (2) failing to detect quantum-specific faults such as phase flips. To overcome these limitations, we introduce a QST approach, which applies a reduction algorithm to a quantum program specification. The reduced specification alleviates the limitations (1) by enabling faster sampling through quantum parallelism and (2) by performing projective measurements in the mixed Hadamard…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRadiation Effects in Electronics · Quantum Computing Algorithms and Architecture · Parallel Computing and Optimization Techniques
