An improved quantum software challenges classification approach using transfer learning and explainable AI
Quantum Software Engineering (QSE) has emerged as a research direction practiced by tech joints. Quantum developers face challenges in optimizing quantum computing and QSE concepts. Developers use Stack Overflow to discuss quantum challenges using specialized tags to label posts. These tags often refer to technical quantum aspects. Categorizing quantum practitioners’ questions by concept can help identify common QSE challenges. We conducted studies to classify quantum developers’ questions into various challenges. We extracted 2,829 developers questions from Q&A platforms using quantum-related tags. The posts were analyzed to identify frequent quantum-related challenges and develop a novel grounded theory. The challenges identified include Tooling, Theoretical, Learning, Conceptual, Errors, and API Usage. Through content analysis and grounded theory, the developers’ discussions were annotated with commonly reported quantum challenges to develop a ground truth dataset. ChatGPT was used to validate human annotations and resolve disagreements. Various fine-tuned transformer algorithms, including BERT, DistilBERT, and RoBERTa, were used to classify developer discussions into commonly reported quantum challenges. We achieved an average accuracy of 95% with BERT DistilBERT algorithms, compared to fine-tuned Deep and Machine Learning (D&ML) classifiers, including Feedforward Neural Networks (FNN), Convolutional Neural Networks (CNN), and Long Short-Term Memory networks (LSTM), which achieved accuracies of 89%, 86%, and 84%, respectively. The proposed Transformer-based approach outperforms the previous D&ML-based approach with a 6% increase in accuracy by processing actual developer discussions, i.e., without data augmentation. Furthermore, we applied SHAP (SHapley Additive exPlanations) to provide model interpretability, revealing how specific linguistic features drive predictions and enhancing transparency in the classification process. These improved research findings can help quantum vendors and developers’ discussion forums to better organize developers’ discussions for improved access and readability.
| Item Type | Article |
|---|---|
| Identification Number | 10.1007/s11704-026-51539-5 |
| Additional information | © 2026, Higher Education Press. This is the accepted manuscript version of an article which has been published in final form at https://doi.org/10.1007/s11704-026-51539-5 |
| Keywords | developer forums, natural language processing, quantum software engineering, repository mining, stack overflow, transfer learning, theoretical computer science, general computer science, open - publisher policy |
| Date Deposited | 01 Dec 2026 16:06 |
| Last Modified | 01 Dec 2026 16:06 |