Identifying Flakiness in Quantum Programs
- URL: http://arxiv.org/abs/2302.03256v2
- Date: Fri, 7 Jul 2023 12:30:11 GMT
- Title: Identifying Flakiness in Quantum Programs
- Authors: Lei Zhang, Mahsa Radnejad, Andriy Miranskyy
- Abstract summary: We find flaky tests in 12 out of 14 quantum software repositories.
We identify 46 distinct flaky test reports with 8 groups of causes and 7 common solutions.
This work may interest practitioners, as it provides useful insight into the resolution of flaky tests in quantum programs.
- Score: 5.592360872268223
- License: http://creativecommons.org/licenses/by-nc-nd/4.0/
- Abstract: In recent years, software engineers have explored ways to assist quantum
software programmers. Our goal in this paper is to continue this exploration
and see if quantum software programmers deal with some problems plaguing
classical programs. Specifically, we examine whether intermittently failing
tests, i.e., flaky tests, affect quantum software development.
To explore flakiness, we conduct a preliminary analysis of 14 quantum
software repositories. Then, we identify flaky tests and categorize their
causes and methods of fixing them.
We find flaky tests in 12 out of 14 quantum software repositories. In these
12 repositories, the lower boundary of the percentage of issues related to
flaky tests ranges between 0.26% and 1.85% per repository. We identify 46
distinct flaky test reports with 8 groups of causes and 7 common solutions.
Further, we notice that quantum programmers are not using some of the recent
flaky test countermeasures developed by software engineers.
This work may interest practitioners, as it provides useful insight into the
resolution of flaky tests in quantum programs. Researchers may also find the
paper helpful as it offers quantitative data on flaky tests in quantum software
and points to new research opportunities.
Related papers
- Automating Quantum Software Maintenance: Flakiness Detection and Root Cause Analysis [4.554856650068748]
Flaky tests, which pass or fail inconsistently without code changes, are a major challenge in software engineering.
We aim to create an automated framework to detect flaky tests in quantum software.
arXiv Detail & Related papers (2024-10-31T02:43:04Z) - A Survey on Testing and Analysis of Quantum Software [21.351834312054844]
We provide an extensive survey of the state of the art in testing and analysis of quantum software.
We discuss literature from several research communities, including quantum computing, software engineering, programming languages, and formal methods.
arXiv Detail & Related papers (2024-10-01T13:05:54Z) - Automated flakiness detection in quantum software bug reports [5.592360872268223]
We outline challenges and potential solutions for the automated detection of flaky tests in bug reports of quantum software.
We aim to raise awareness of flakiness in quantum software and encourage the software engineering community to work collaboratively to solve this emerging challenge.
arXiv Detail & Related papers (2024-08-09T20:42:20Z) - Quantum Information Processing with Molecular Nanomagnets: an introduction [49.89725935672549]
We provide an introduction to Quantum Information Processing, focusing on a promising setup for its implementation.
We introduce the basic tools to understand and design quantum algorithms, always referring to their actual realization on a molecular spin architecture.
We present some examples of quantum algorithms proposed and implemented on a molecular spin qudit hardware.
arXiv Detail & Related papers (2024-05-31T16:43:20Z) - Quantum algorithms: A survey of applications and end-to-end complexities [90.05272647148196]
The anticipated applications of quantum computers span across science and industry.
We present a survey of several potential application areas of quantum algorithms.
We outline the challenges and opportunities in each area in an "end-to-end" fashion.
arXiv Detail & Related papers (2023-10-04T17:53:55Z) - Analyzing Quantum Programs with LintQ: A Static Analysis Framework for Qiskit [21.351834312054844]
This paper presents LintQ, a comprehensive static analysis framework for detecting bugs in quantum programs.
Our approach is enabled by a set of abstractions designed to reason about common concepts in quantum computing without referring to the underlying quantum computing platform.
We apply the approach to a newly collected dataset of 7,568 real-world Qiskit-based quantum programs, showing that LintQ effectively identifies various programming problems.
arXiv Detail & Related papers (2023-10-01T16:36:09Z) - Validation tests of GBS quantum computers give evidence for quantum
advantage with a decoherent target [62.997667081978825]
We use positive-P phase-space simulations of grouped count probabilities as a fingerprint for verifying multi-mode data.
We show how one can disprove faked data, and apply this to a classical count algorithm.
arXiv Detail & Related papers (2022-11-07T12:00:45Z) - Iterative Qubits Management for Quantum Index Searching in a Hybrid
System [56.39703478198019]
IQuCS aims at index searching and counting in a quantum-classical hybrid system.
We implement IQuCS with Qiskit and conduct intensive experiments.
Results demonstrate that it reduces qubits consumption by up to 66.2%.
arXiv Detail & Related papers (2022-09-22T21:54:28Z) - Tangelo: An Open-source Python Package for End-to-end Chemistry
Workflows on Quantum Computers [85.21205677945196]
Tangelo is an open-source Python software package for the development of end-to-end chemistry on quantum computers.
It aims to support the design of successful experiments on quantum hardware, and to facilitate advances in quantum algorithm development.
arXiv Detail & Related papers (2022-06-24T17:44:00Z) - On Applying the Lackadaisical Quantum Walk Algorithm to Search for
Multiple Solutions on Grids [63.75363908696257]
The lackadaisical quantum walk is an algorithm developed to search graph structures whose vertices have a self-loop of weight $l$.
This paper addresses several issues related to applying the lackadaisical quantum walk to search for multiple solutions on grids successfully.
arXiv Detail & Related papers (2021-06-11T09:43:09Z) - On Testing and Debugging Quantum Software [9.12212813288783]
We discuss various use-cases for quantum computers, either standalone or as part of a System of Systems.
We highlight quantum-computer-specific issues and list novel techniques that are needed to address these issues.
arXiv Detail & Related papers (2021-03-16T16:20:32Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.