paperbot · PL 论文追踪

全部论文 待读 收藏

P2 NovaQ: Improving Quantum Program Testing through Diversity-Guided Test Case Generation

NovaQ:通过多样性引导的测试用例生成改进量子程序测试
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 2/10 · 论文关注量子程序测试用例生成,属于动态测试/软件测试方向,而非用户核心关注的静态分析、浮点程序分析或贝叶斯程序分析,也不涉及 LLM/Agent 与程序分析的交叉,因此匹配度较低。引用 1 inbox
Tiancheng Jin, Shangzhou Xia, Jianjun Zhao
crossref: 2026-09-12

AI 速览

一句话:提出多样性引导的量子程序测试框架 NovaQ,结合电路参数变异与新颖性评估,生成多样量子态输入以发现更多缺陷。

量子程序依托量子电路求解经典机器难以处理的问题,随着量子计算的发展,其可靠性保障日益重要。本文提出 NovaQ——一种多样性引导的量子程序测试框架,由基于分布的测试用例生成器与新颖性驱动的评估模块组成。生成器通过变异电路参数产生多样的量子态输入;评估器基于内部电路状态指标(幅度、相位与纠缠)量化行为新颖性。通过挑选映射到度量空间中覆盖稀疏区域的输入,NovaQ 能有效探索测试不足的程序行为。作者在不同规模与复杂度的量子程序上对其进行评估,实验结果表明 NovaQ 在测试输入多样性上持续优于现有基线方法,并能检测出更多缺陷。

问题
量子程序的可靠性保障日益重要,但现有测试方法难以生成足够多样的输入,导致大量程序行为未被充分测试。
方法
将基于分布的测试用例生成器(通过变异电路参数产生量子态输入)与新颖性驱动的评估模块相结合,以幅度、相位、纠缠等内部电路状态指标衡量行为新颖性,并选取落在度量空间稀疏区域的输入。
评估
在不同规模与复杂度的量子程序上与现有基线方法对比,衡量测试输入多样性与缺陷检出数量。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9338,
  title = {NovaQ: Improving Quantum Program Testing through Diversity-Guided Test Case Generation},
  author = {Tiancheng Jin and Shangzhou Xia and Jianjun Zhao},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00335}
}