arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.13279cs.SE
收藏

量子程序在噪声下的稳健变异分析

Robust Mutation Analysis of Quantum Programs Under Noise

King’s College London(伦敦国王学院);Simula Research Laboratory(西穆拉研究实验室);Oslo Metropolitan University(奥斯陆都会大学);National Institute of Informatics(日本情报学研究所)

Sophie Fortz, Eñaut Mendiluze Usandizaga, Shaukat Ali, Paolo Arcaini, Mohammad Reza Mousavi

AI总结:

本文研究了量子程序在噪声环境下的变异分析,通过41个程序在无噪声和有噪声模拟器上的实验,比较了不同距离度量和阈值策略,发现噪声显著影响程序与变异体的行为距离,输出分布度量在实际应用中表现最佳。

摘要:

变异分析长期以来用于经典软件测试,并最近被用于评估量子软件测试技术的鲁棒性。然而,现有研究假设理想无噪声执行,忽视了量子硬件噪声的影响。本文提出了一项关于噪声感知变异分析的实证研究。我们分析噪声如何影响变异体检测,使用41个量子程序在无噪声和有噪声的模拟器上执行,模拟三个具有不同噪声特性的IBM设备。我们比较了几种距离度量和阈值策略,以评估在现实噪声下的变异体检测。我们的结果表明,噪声显著改变了程序与变异体之间的行为距离,使等价变异体更难区分于真实故障。密度矩阵度量在辨别能力上最佳,误分类率高达16.77%,但无法在真实硬件上使用。在实际替代方案中,输出分布度量达到73.03%的准确率和74.89%的F1分数。噪声特定的阈值进一步提升了检测效果,相比无噪声阈值。我们还发现噪声影响更与算法和电路特性相关,而非变异类型。总体而言,我们的结果强调了需要将变异分析以及更广泛的量子程序比较适应目标量子设备的噪声特性。

英文摘要:

Mutation analysis has long been used in classical software testing and has recently been adopted for assessing the robustness of quantum software testing techniques. However, existing studies assume ideal, noiseless execution, overlooking the impact of quantum hardware noise. In this paper, we present an empirical study of noise-aware mutation analysis for quantum programs. We analyze how noise affects mutant detection using 41 quantum programs, executed on noiseless and noisy simulators emulating three IBM devices with different noise profiles. We compare several distance metrics and thresholding strategies to evaluate mutant detection under realistic noise. Our results show that noise significantly alters the behavioral distance between programs and mutants, making equivalent mutants harder to distinguish from real faults. Density-matrix metrics achieve the best discrimination, with misclassification rates up to 16.77%, but are not accessible on real hardware. Among practical alternatives, output-distribution metrics reach up to 73.03% accuracy and 74.89% F1-score. Noise-specific thresholds further improve detection compared to noiseless thresholds. We also find that noise effects correlate more with algorithm and circuit characteristics than with mutation types. Overall, our results highlight the need to adapt mutation analysis, and more generally quantum program comparison, to the noise profiles of target quantum devices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑