An Empirical Study of Bugs in Quantum Machine Learning Frameworks

被引:1
作者
Zhao, Pengzhan
Wu, Xiongfei
Luo, Junjie
Li, Zhuo
Zhao, Jianjun [1 ]
机构
[1] Kyushu Univ, Grad Sch, Fukuoka, Fukuoka, Japan
来源
2023 IEEE INTERNATIONAL CONFERENCE ON QUANTUM SOFTWARE, QSW | 2023年
关键词
quantum machine learning; quantum software; testing; quantum program debugging; empirical study;
D O I
10.1109/QSW59989.2023.00018
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Quantum computing has emerged as a promising domain for the machine learning (ML) area, offering significant computational advantages over classical counterparts. With the growing interest in quantum machine learning (QML), ensuring the correctness and robustness of software platforms to develop such QML programs is critical. A necessary step for ensuring the reliability of such platforms is to understand the bugs they typically suffer from. To address this need, this paper presents the first comprehensive study of bugs in QML frameworks. We inspect 391 real-world bugs collected from 22 open-source repositories of nine popular QML frameworks. We find that 1) 28% of the bugs are quantum-specific, such as erroneous unitary matrix implementation, calling for dedicated approaches to find and prevent them; 2) We manually distilled a taxonomy of five symptoms and nine root cause of bugs in QML platforms; 3) We summarized four critical challenges for QML framework developers. The study results provide researchers with insights into how to ensure QML framework quality and present several actionable suggestions for QML framework developers to improve their code quality.
引用
收藏
页码:68 / 75
页数:8
相关论文
共 28 条
  • [1] Aleksandrowicz G., 2019, QISKIT OPEN SOURCE F, DOI [10.5281/zenodo.2562110, DOI 10.5281/ZENODO.2562110]
  • [2] Bergholm V, 2022, Arxiv, DOI [arXiv:1811.04968, DOI 10.48550/ARXIV.1811.04968]
  • [3] Quantum machine learning
    Biamonte, Jacob
    Wittek, Peter
    Pancotti, Nicola
    Rebentrost, Patrick
    Wiebe, Nathan
    Lloyd, Seth
    [J]. NATURE, 2017, 549 (7671) : 195 - 202
  • [4] QBugs: A Collection of Reproducible Bugs in Quantum Algorithms and a Supporting Infrastructure to Enable Controlled Quantum Software Testing and Debugging Experiments
    Campos, Jose
    Souto, Andre
    [J]. 2021 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON QUANTUM SOFTWARE ENGINEERING (Q-SE 2021), 2021, : 28 - 32
  • [5] Variational quantum algorithms
    Cerezo, M.
    Arrasmith, Andrew
    Babbush, Ryan
    Benjamin, Simon C.
    Endo, Suguru
    Fujii, Keisuke
    McClean, Jarrod R.
    Mitarai, Kosuke
    Yuan, Xiao
    Cincio, Lukasz
    Coles, Patrick J.
    [J]. NATURE REVIEWS PHYSICS, 2021, 3 (09) : 625 - 644
  • [6] Chen JJ, 2024, Arxiv, DOI arXiv:2203.04026
  • [7] Quantum convolutional neural networks
    Cong, Iris
    Choi, Soonwon
    Lukin, Mikhail D.
    [J]. NATURE PHYSICS, 2019, 15 (12) : 1273 - +
  • [8] Farhi E, 2022, QUANTUM-AUSTRIA, V6
  • [9] Google AI Quantum Team, 2018, CIRQ
  • [10] Quantum Algorithm for Linear Systems of Equations
    Harrow, Aram W.
    Hassidim, Avinatan
    Lloyd, Seth
    [J]. PHYSICAL REVIEW LETTERS, 2009, 103 (15)