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

评估量子程序中基于变异的故障定位

Evaluating Mutation-based Fault Localization for Quantum Programs

Yuta Ishimoto, Masanari Kondo, Naoyasu Ubayashi, Yasutaka Kamei, Ryota Katsube, Naoto Sato, Hideto Ogawa

AI总结:

本文评估 MBFL 在 Qiskit 量子程序调试中的效果,通过真实与人工故障实验表明其潜力及在真实故障上的局限。

摘要:

量子计算机利用量子力学原理执行操作。它们需要量子程序来定义对量子比特(qubits,即基本计算单元)的操作。与传统软件开发不同,创建和调试量子程序的过程需要量子计算方面的专业知识,这使开发过程更具挑战性。本文将基于变异的故障定位(MBFL)应用于量子程序并加以评估,旨在提高调试效率。我们使用专门为量子程序设计的量子变异操作来识别故障。评估涉及使用 Qiskit(R) 开发的量子程序中的 23 个真实故障和 305 个人为引入故障。结果表明,对于 MBFL 而言,真实故障比人工故障更具挑战性。事实上,在最坏情况下,EXAM 分数中位数(表示定位到故障语句前检查的代码百分比,越低越好)在人工基准上为 1.2%,而在真实基准上为 19.4%。本研究结合不同故障类型和变异操作类型,揭示了 MBFL 用于量子程序的潜力与局限。最后,我们讨论了在量子编程背景下改进 MBFL 的未来方向。

英文摘要:

Quantum computers leverage the principles of quantum mechanics to execute operations. They require quantum programs that define operations on quantum bits (qubits), the fundamental units of computation. Unlike traditional software development, the process of creating and debugging quantum programs requires specialized knowledge of quantum computation, making the development process more challenging. In this paper, we apply and evaluate mutation-based fault localization (MBFL) for quantum programs with the aim of enhancing debugging efficiency. We use quantum mutation operations, which are specifically designed for quantum programs, to identify faults. Our evaluation involves 23 real-world faults and 305 artificially induced faults in quantum programs developed with Qiskit(R). The results show that real-world faults are more challenging for MBFL than artificial faults. In fact, the median EXAM score, which represents the percentage of the code examined before locating the faulty statement (lower is better), is 1.2% for artificial benchmark and 19.4% for the real-world benchmark in the worst-case scenario. Our study highlights the potential and limitations of MBFL for quantum programs, considering different fault types and mutation operation types. Finally, we discuss future directions for improving MBFL in the context of quantum programming.

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

↑