arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.09178cs.SEquant-ph
收藏

量子程序的测试与调试:迈向2030之路

Testing and Debugging Quantum Programs: The Road to 2030

Neilson Carlos Leite Ramalho, Higor Amario de Souza, Marcos Lordello Chaim

AI总结:

本文提出迈向2030年的量子程序测试与调试路线图,指出噪声和不可克隆定理等局限,构建概念模型梳理测试与调试的挑战,聚焦经典与量子接口及量子特性应用。

摘要:

量子计算在理论领域已存在数十年。最近,量子计算作为一种极具前景的技术再次兴起,有望解决经典计算机可能需要数百年才能解决的问题。然而,对于学术界和实践者而言,在量子程序的测试与调试的软件工程实践方面,仍存在诸多挑战与机遇。本文提出了一份应对这些挑战的路线图,指出了现有文献中的空白并建议了研究方向。我们讨论了由噪声、不可克隆定理以及缺乏量子计算机标准架构等引起的局限性。在测试方面,我们强调了与转译、变异分析、具有混合接口的输入状态、程序分析和覆盖率相关的空白与机遇。在调试方面,我们介绍了当前的策略,包括应用于量子程序的经典技术、量子专用断言以及量子相关的缺陷模式。我们引入了一个概念模型,以阐明有关量子程序测试与调试的概念及其相互关系。这些概念被用于识别和讨论到2030年应对量子程序的研究挑战,重点关注经典计算与量子计算之间的接口,以及创建利用量子计算独特特性的测试与调试技术。

英文摘要:

Quantum computing has existed in the theoretical realm for several decades. Recently, quantum computing has re-emerged as a promising technology to solve problems that a classical computer could take hundreds of years to solve. However, there are challenges and opportunities for academics and practitioners regarding software engineering practices for testing and debugging quantum programs. This paper presents a roadmap for addressing these challenges, pointing out the existing gaps in the literature and suggesting research directions. We discuss the limitations caused by noise, the no-cloning theorem, the lack of a standard architecture for quantum computers, among others. Regarding testing, we highlight gaps and opportunities related to transpilation, mutation analysis, input states with hybrid interfaces, program analysis, and coverage. For debugging, we present the current strategies, including classical techniques applied to quantum programs, quantum-specific assertions, and quantum-related bug patterns. We introduce a conceptual model to illustrate concepts regarding the testing and debugging of quantum programs and the relationship between them. Those concepts are used to identify and discuss research challenges to cope with quantum programs through 2030, focusing on the interfaces between classical and quantum computing and on creating testing and debugging techniques that take advantage of the unique quantum computing characteristics.

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

↑