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

QuanForge:一种用于量子神经网络的变异测试框架

QuanForge: A Mutation Testing Framework for Quantum Neural Networks

Kyushu University(九州大学)

Minqi Shao, Shangzhou Xia, Jianjun Zhao

AI总结:

本文提出QuanForge,一种针对量子神经网络的变异测试框架,通过引入统计变异杀灭准则和九种变异操作符,有效区分测试套件并定位脆弱电路区域,评估其在噪声环境下的可行性。

摘要:

随着深度学习与量子计算的深度融合,量子神经网络(QNNs)通过利用量子并行性和纠缠性成为一种有前景的范式。然而,由于其复杂的量子动态和有限的可解释性,测试QNNs仍处于探索阶段。开发针对QNNs的变异测试技术具有潜力,但需要解决随机因素,包括变异操作符和量子测量的内在随机性。为此,我们提出了QuanForge,一种专门针对QNNs的变异测试框架。我们首先引入统计变异杀灭,以提供更可靠的判据。QuanForge在门级和参数级整合了九种后训练变异操作符,能够模拟量子电路中各种潜在的错误。最后,一个变异生成算法被形式化,系统地生成有效的变异体,从而实现稳健且可靠的变异分析。通过在基准数据集和QNN架构上的广泛实验,我们展示了QuanForge能够有效区分不同的测试套件并定位脆弱的电路区域,为数据增强和结构评估提供见解。我们还分析了不同操作符的生成能力,并在模拟噪声条件下评估性能,以评估QuanForge在未来量子设备中的实际可行性。

英文摘要:

With the growing synergy between deep learning and quantum computing, Quantum Neural Networks (QNNs) have emerged as a promising paradigm by leveraging quantum parallelism and entanglement. However, testing QNNs remains underexplored due to their complex quantum dynamics and limited interpretability. Developing a mutation testing technique for QNNs is promising while requires addressing stochastic factors, including the inherent randomness of mutation operators and quantum measurements. To tackle these challenges, we propose QuanForge, a mutation testing framework specifically designed for QNNs. We first introduce statistical mutation killing to provide a more reliable criterion. QuanForge incorporates nine post-training mutation operators at both gate and parameter levels, capable of simulating various potential errors in quantum circuits. Finally, a mutant generation algorithm is formalized that systematically produces effective mutants, thereby enabling a robust and reliable mutation analysis. Through extensive experiments on benchmark datasets and QNN architectures, we show that QuanForge can effectively distinguish different test suites and localize vulnerable circuit regions, providing insights for data enhancement and structural assessment of QNNs. We also analyze the generation capabilities of different operators and evaluate performance under simulated noisy conditions to assess the practical feasibility of QuanForge for future quantum devices.

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

↑