Bugs4Q: A Benchmark of Real Bugs for Quantum Programs

Pengzhan Zhao, Jianjun Zhao, Zhongtao Miao, Shuhan Lan
8/22/2021
cs.SEcs.PL
benchmark-dataset

Official code: Z-928/Bugs4Q (11 stars, Python, Apache-2.0, last commit 2026-09-21).

Abstract

Realistic benchmarks of reproducible bugs and fixes are vital to good experimental evaluation of debugging and testing approaches. However, there is no suitable benchmark suite that can systematically evaluate the debugging and testing methods of quantum programs until now.

Show full abstract

This paper proposes Bugs4Q, a benchmark of thirty-six real, manually validated Qiskit bugs from four popular Qiskit elements (Terra, Aer, Ignis, and Aqua), supplemented with the test cases for reproducing buggy behaviors. Bugs4Q also provides interfaces for accessing the buggy and fixed versions of the Qiskit programs and executing the corresponding test cases, facilitating the reproducible empirical studies and comparisons of Qiskit program debugging and testing tools. Bugs4Q is publicly available at https://github.com/Z-928/Bugs4Q.

View on arXivView PDF

Code Implementations(1)

Z-928/Bugs4QOfficial100%
Apache-2.0

A Benchmark Suite of Real-World Qiskit Bugs

115Python, Jupyter NotebookJun 17, 20212 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2021bugsq,
  title  = {Bugs4Q: A Benchmark of Real Bugs for Quantum Programs},
  author = {Pengzhan Zhao and Jianjun Zhao and Zhongtao Miao and Shuhan Lan},
  year   = {2021},
  eprint = {2108.09744},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.09744}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.09744.svg)](https://codeofpaper.com/paper/2108.09744)

Discussion