English

Identifying Bug Patterns in Quantum Programs

Software Engineering 2021-03-17 v1 Programming Languages Quantum Physics

Abstract

Bug patterns are erroneous code idioms or bad coding practices that have been proved to fail time and time again, which are usually caused by the misunderstanding of a programming language's features, the use of erroneous design patterns, or simple mistakes sharing common behaviors. This paper identifies and categorizes some bug patterns in the quantum programming language Qiskit and briefly discusses how to eliminate or prevent those bug patterns. We take this research as the first step to provide an underlying basis for debugging and testing quantum programs.

Keywords

Cite

@article{arxiv.2103.09069,
  title  = {Identifying Bug Patterns in Quantum Programs},
  author = {Pengzhan Zhao and Jianjun Zhao and Lei Ma},
  journal= {arXiv preprint arXiv:2103.09069},
  year   = {2021}
}

Comments

The short version of this paper will appear in the Second International Workshop on Quantum Software Engineering (Q-SE 2021) co-located with ICSE 2021