Testing and Debugging Quantum Programs: The Road to 2030

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ramalho, Neilson Carlos Leite, de Souza, Higor Amario, Chaim, Marcos Lordello
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909345208336384
author Ramalho, Neilson Carlos Leite
de Souza, Higor Amario
Chaim, Marcos Lordello
author_facet Ramalho, Neilson Carlos Leite
de Souza, Higor Amario
Chaim, Marcos Lordello
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_09178
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Testing and Debugging Quantum Programs: The Road to 2030
Ramalho, Neilson Carlos Leite
de Souza, Higor Amario
Chaim, Marcos Lordello
Software Engineering
Quantum Physics
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.
title Testing and Debugging Quantum Programs: The Road to 2030
topic Software Engineering
Quantum Physics
url https://arxiv.org/abs/2405.09178