Table of Contents
Fetching ...

When Quantum Meets Classical: Characterizing Hybrid Quantum-Classical Issues Discussed in Developer Forums

Jake Zappin, Trevor Stalnaker, Oscar Chaparro, Denys Poshyvanyk

TL;DR

This paper tackles the lack of a software-engineering perspective in hybrid quantum-classical computing by performing the first empirical study of recurring HQC issues reported in two quantum-focused forums. It collects 531 HQC-related issues from the Xanadu Discussion Forums and Quantum Computing Stack Exchange, codes them, and derives a four-level taxonomy that covers software faults, hardware/simulator issues, configuration problems, library/platform bugs, and developer errors. The study finds that HQC issues are crash-dominant (about 74%), with the majority of problems stemming from programmer errors and classical-origin bugs, and identifies significant cross-domain challenges at the integration boundary between quantum and classical components. The authors provide a publicly available dataset and actionable recommendations to improve debugging, testing, documentation, and platform reliability, thereby supporting both application developers and platform maintainers in advancing reliable HQC software engineering.

Abstract

Recent advances in quantum computing have sparked excitement that this new computing paradigm could solve previously intractable problems. However, due to the faulty nature of current quantum hardware and quantum-intrinsic noise, the full potential of quantum computing is still years away. Hybrid quantum-classical computing has emerged as a possible compromise that achieves the best of both worlds. In this paper, we look at hybrid quantum-classical computing from a software engineering perspective and present the first empirical study focused on characterizing and evaluating recurrent issues faced by developers of hybrid quantum-classical applications. The study comprised a thorough analysis of 531 real-world issues faced by developers -- including software faults, hardware failures, quantum library errors, and developer mistakes -- documented in discussion threads from forums dedicated to quantum computing. By qualitatively analyzing such forum threads, we derive a comprehensive taxonomy of recurring issues in hybrid quantum-classical applications that can be used by both application and platform developers to improve the reliability of hybrid applications. The study considered how these recurring issues manifest and their causes, determining that hybrid applications are crash-dominant (74% of studied issues) and that errors were predominantly introduced by application developers (70% of issues). We conclude by identifying recurring obstacles for developers of hybrid applications and actionable recommendations to overcome them.

When Quantum Meets Classical: Characterizing Hybrid Quantum-Classical Issues Discussed in Developer Forums

TL;DR

This paper tackles the lack of a software-engineering perspective in hybrid quantum-classical computing by performing the first empirical study of recurring HQC issues reported in two quantum-focused forums. It collects 531 HQC-related issues from the Xanadu Discussion Forums and Quantum Computing Stack Exchange, codes them, and derives a four-level taxonomy that covers software faults, hardware/simulator issues, configuration problems, library/platform bugs, and developer errors. The study finds that HQC issues are crash-dominant (about 74%), with the majority of problems stemming from programmer errors and classical-origin bugs, and identifies significant cross-domain challenges at the integration boundary between quantum and classical components. The authors provide a publicly available dataset and actionable recommendations to improve debugging, testing, documentation, and platform reliability, thereby supporting both application developers and platform maintainers in advancing reliable HQC software engineering.

Abstract

Recent advances in quantum computing have sparked excitement that this new computing paradigm could solve previously intractable problems. However, due to the faulty nature of current quantum hardware and quantum-intrinsic noise, the full potential of quantum computing is still years away. Hybrid quantum-classical computing has emerged as a possible compromise that achieves the best of both worlds. In this paper, we look at hybrid quantum-classical computing from a software engineering perspective and present the first empirical study focused on characterizing and evaluating recurrent issues faced by developers of hybrid quantum-classical applications. The study comprised a thorough analysis of 531 real-world issues faced by developers -- including software faults, hardware failures, quantum library errors, and developer mistakes -- documented in discussion threads from forums dedicated to quantum computing. By qualitatively analyzing such forum threads, we derive a comprehensive taxonomy of recurring issues in hybrid quantum-classical applications that can be used by both application and platform developers to improve the reliability of hybrid applications. The study considered how these recurring issues manifest and their causes, determining that hybrid applications are crash-dominant (74% of studied issues) and that errors were predominantly introduced by application developers (70% of issues). We conclude by identifying recurring obstacles for developers of hybrid applications and actionable recommendations to overcome them.

Paper Structure

This paper contains 24 sections, 5 figures, 8 tables.

Figures (5)

  • Figure 1: Taxonomy of issues encountered by developers of HQC applications
  • Figure 2: Example PennyLane Warning Messages
  • Figure 3: Platform Limitation Example
  • Figure 4: Platform Quirk Example with Cross-Domain Fixes
  • Figure 5: Platform Quirks Examples