Identifying Flakiness in Quantum Programs

dc.contributor.authorZhang, Lei
dc.contributor.authorRadnejad, Mahsa
dc.contributor.authorMiranskyy, Andriy
dc.date.accessioned2023-03-03T17:28:23Z
dc.date.available2023-03-03T17:28:23Z
dc.date.issued2023-02-07
dc.description.abstractIn recent years, software engineers have explored ways to assist quantum software programmers. Our goal in thi s paper is to continue this exploration and see if quantum soft - ware programmers deal with some problems plaguing classica l 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 found flaky tests in 12 out of 14 quantum software repositories. In these 12 repositories, the lower boundary of the percentage of flaky tests ranges between 0.26% and 1.85% per repository. We identified 38 distinct flaky tests with 10 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.en_US
dc.description.urihttps://arxiv.org/abs/2302.03256en_US
dc.format.extent5 pagesen_US
dc.genrejournal articlesen_US
dc.genrepreprintsen_US
dc.identifierdoi:10.13016/m2ckqf-k1yx
dc.identifier.urihttps://doi.org/10.48550/arXiv.2302.03256
dc.identifier.urihttp://hdl.handle.net/11603/26942
dc.language.isoen_USen_US
dc.relation.isAvailableAtThe University of Maryland, Baltimore County (UMBC)
dc.relation.ispartofUMBC Information Systems Department Collection
dc.relation.ispartofUMBC Faculty Collection
dc.rightsThis item is likely protected under Title 17 of the U.S. Copyright Law. Unless on a Creative Commons license, for uses protected by Copyright Law, contact the copyright holder or the author.en_US
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)*
dc.rights.urihttps://creativecommons.org/licenses/by-nc-nd/4.0/*
dc.titleIdentifying Flakiness in Quantum Programsen_US
dc.typeTexten_US
dcterms.creatorhttps://orcid.org/0000-0002-4424-4942en_US

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
2302.03256.pdf
Size:
202.68 KB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
2.56 KB
Format:
Item-specific license agreed upon to submission
Description: