arXiv · 2612.02079
Quantum Debugging in Action: Statistical and State Vector Assertions
Abstract
Debugging quantum programs presents fundamentally different challenges from classical debugging: quantum systems have exponentially large state spaces, and measuring a quantum state collapses it. Our assertion-based approach provides debugging support despite these constraints, and we implement it in NVIDIA CUDA-Q, which has recently gained rapid adoption due to its GPU-accelerated simulation and hardware integration capabilities. This tool, QDB3, provides a Python assertions library that extends prior work in sampling-based assertions with state vector assertions that directly inspect simulated amplitudes. We demonstrate the complementary usage of both assertion forms in a set of teaching examples, including deterministic, variational, and other circuit types.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Coco Gong, Rena Feng, Era Thaqi, Margaret Martonosi. 2026-12-01. Quantum Debugging in Action: Statistical and State Vector Assertions. https://searcharxiv.org/abs/2612.02079
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.