Toward Circuit-Aware Mutation Testing for Quantum Programs: Exact Visibility and Execution Planning
Andriy Miranskyy, Jose Campos
Key points
From the paper's conclusion- We develop a circuit-aware framework to distinguish these causes and guide execution planning and test changes.
Abstract
Mutation testing assesses test suites by introducing program changes and checking whether tests detect them. In quantum programs, a surviving mutant may leave program behavior unchanged, produce a change hidden by the chosen input or measurement, or remain undetected because statistical evidence is insufficient. We develop a circuit-aware framework to distinguish these causes and guide execution planning and test changes. The framework covers ideal, noiseless programs and mutations that replace one gate or subcircuit. The method traces how a mutation can affect measured outputs and combines established mathematical checks with statistical estimates. For supported cases, we establish conditions under which a test cannot reveal a mutation and exact formulas for its effect when the required state information is available. Under stated assumptions, we bound the mutation score while retaining surviving and unresolved mutants, and identify a restricted circuit family whose mutation effects admit efficient classical classification. The deliverables include a decision procedure, mathematical guarantees, worked examples of test changes and their implementation requirements, and a small-circuit reference implementation for differential expectation tests. These results help testers decide what to execute, what to change, and what remains unknown. The evidence is limited to proofs and executable examples under the ideal model.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Are We Testing the Wrong Quantum Bugs? A Study of Fault Representation Gaps in Quantum Software TestingarXiv · 2026
- Noise-Aware Testing of NISQ Quantum Programs: Self-Baseline Oracle with a Controlled False-Positive RatearXiv · 2026
- QTestBench: A Test Framework for Evaluating LLM-Generated Quantum CodearXiv · 2026
- Metamorphic Testing of Quantum Software based on Stabilizer StatesarXiv · 2026
- Noise-Awareness in Quantum Software Testing: An Empirical Landscape AnalysisarXiv · 2026
- QuSema: Detecting Silent Bugs in Quantum Libraries via Quantum-knowledge-enhanced AgentsarXiv · 2026