@techreport{oai:ipsj.ixsq.nii.ac.jp:00210569, author = {Pengzhan, Zhao and Jianjun, Zhao and Lei, Ma and Pengzhan, Zhao and Jianjun, Zhao and Lei, Ma}, issue = {22}, month = {Mar}, note = {Bug patterns are erroneous code idioms or bad coding practices that have been proved fail time and time again, usually caused by the misunderstanding of program language features, the use of erroneous design patterns, or simple mistakes sharing common behaviours. This paper presents a taxonomy of bug patterns in the quantum programming language Qiskit and discuss how the existing techniques can be applied to eliminate or prevent those bug patterns. We take this research as the first step to provide an underlying basis for testing and debugging of quantum programs., Bug patterns are erroneous code idioms or bad coding practices that have been proved fail time and time again, usually caused by the misunderstanding of program language features, the use of erroneous design patterns, or simple mistakes sharing common behaviours. This paper presents a taxonomy of bug patterns in the quantum programming language Qiskit and discuss how the existing techniques can be applied to eliminate or prevent those bug patterns. We take this research as the first step to provide an underlying basis for testing and debugging of quantum programs.}, title = {On Identifying Bug Patterns in Quantum Programs}, year = {2021} }