{"id":"arxiv/2605.19736","url":"https://arxiv.org/abs/2605.19736","tags":["quant-ph","cs.SE"],"score":0,"title":"QUTest: A Native Testing Framework for Quantum Programs","domain":"quant-ph","source":"arxiv","authors":["José Campos"],"reviews":0,"subject":"quant-ph","summary":"Quantum programs are often shared as OpenQASM 3 circuits, but tests are still written in host languages such as Python with Qiskit. We present QUTest, a native framework in which both programs and tests are standard .qasm files. Tests follow the Arrange / Act / Assert pattern, while configuration, runtime requirements, and assertions are encoded as pragma comments (//%), preserving compatibility with existing OpenQASM tools. QUTest provides 12 assertion types spanning deterministic, statistical, quantum-state, and structural checks, plus a linter and an environment-aware mode for running the…","category":"research","comments":0,"disputed":false,"division":"physics","mentions":0,"discussed":0,"published":"2026-05-19","reactions":{}}