计算机科学 > 软件工程
[提交于 2025年9月5日]
标题:NovaQ: Improving Quantum Program Testing through Diversity-Guided Test Case Generation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Quantum programs are designed to run on quantum computers, leveraging quantum circuits to solve problems that are intractable for classical machines. As quantum computing advances, ensuring the reliability of quantum programs has become increasingly important. This paper introduces NovaQ, a diversity-guided testing framework for quantum programs. NovaQ combines a distribution-based test case generator with a novelty-driven evaluation module. The generator produces diverse quantum state inputs by mutating circuit parameters, while the evaluator quantifies behavioral novelty based on internal circuit state metrics, including magnitude, phase, and entanglement. By selecting inputs that map to infrequently covered regions in the metric space, NovaQ effectively explores under-tested program behaviors. We evaluate NovaQ on quantum programs of varying sizes and complexities. Experimental results show that NovaQ consistently achieves higher test input diversity and detects more bugs than existing baseline approaches.
提交历史
来自:Tiancheng Jin[v1] 2025年9月5日 星期五 02:45:00 UTC