About the journal
Browse
Collections
Multimedia collections
Authors & reviewers
An improved quantum software challenges classification approach using transfer learning and explainable AI
Nek Dil KHAN , Javed Ali KHAN , Mobashir HUSAIN , Muhammad Sohail KHAN , Arif Ali KHAN , Muhammad Azeem AKBAR , Shahid HUSSAIN
Front. Comput. Sci. ›› 2026, Vol. 20 ›› Issue (11) : 2011206
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.
quantum software engineering / repository mining / developer forums / stack overflow / transfer learning / natural language processing
| [1] |
Nielsen M A, Chuang I L. Quantum Computation and Quantum Information. Cambridge: Cambridge University Press, 2010 |
| [2] |
|
| [3] |
|
| [4] |
Gambetta J. IBM’S roadmap for scaling quantum technology. Yorktown Heights: IBM Quantum, 2020 (https://www.ibm.com/quantum/blog/ibm-quantum-roadmap) |
| [5] |
Rigetti Computing. Create New Opportunities with Tomorrow’s Most Advanced Computing Technology. Berkeley: Rigetti Computing, 2020 (https://www.rigetti.com/why-quantum) |
| [6] |
Piattini M, Peterssen G, Pérez-Castillo R, Hevia J L, Serrano M A, et al. The Talavera manifesto for quantum software engineering and programming. In: Proceedings of the 1st International Workshop on the Quantum Software Engineering & Programming. 2020, 1−5 |
| [7] |
|
| [8] |
|
| [9] |
Zhao J. Quantum software engineering: landscapes and horizons. 2021, arXiv preprint arXiv: 2007.07047 |
| [10] |
Svore K, Geller A, Troyer M, Azariah J, Granade C, Heim B, Kliuchnikov V, Mykhailova M, Paz A, Roetteler M. Q#: enabling scalable quantum computing and development with a high-level DSL. In: Proceedings of Real World Domain Specific Languages Workshop 2018. 2018, 7 |
| [11] |
|
| [12] |
IBM Quantum. Qiskit: an open-source SDK for working with quantum computers. IBM, 2024 (https://www.ibm.com/quantum/qiskit) |
| [13] |
El Aoun M R, Li H, Khomh F, Openja M. Understanding quantum software engineering challenges an empirical study on stack exchange forums and GitHub issues. In: Proceedings of 2021 IEEE International Conference on Software Maintenance and Evolution. 2021, 343−354 |
| [14] |
Yue T, Ali S, Arcaini P. Towards quantum software requirements engineering. In: Proceedings of 2023 IEEE International Conference on Quantum Computing and Engineering. 2023, 161−164 |
| [15] |
Ahmad A, Khan A A, Waseem M, Fahmideh M, Mikkonen T. Towards process centered architecting for quantum software systems. In: Proceedings of 2022 IEEE International Conference on Quantum Software. 2022, 26−31 |
| [16] |
Khan A A, Ye B, Akbar M A, Khan J A, Mougouei D, Ma X. Mining Q&A platforms for empirical evidence on quantum software programming. 2025, arXiv preprint arXiv: 2503.05240 |
| [17] |
|
| [18] |
Ali S, Yue T. Quantum software testing: a brief introduction. In: Proceedings of 2023 IEEE/ACM 45th International Conference on Software Engineering: Companion Proceedings. 2023, 332−333 |
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
Husain M, Khan M S, Khan J A, Khan N D, Khan A, Akbar M A. Exploring developers discussion forums for quantum software engineering: a fine-grained classification approach using large language model (ChatGPT). In: Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering. 2025, 1742−1755 |
| [25] |
|
| [26] |
Vietz D, Barzen J, Leymann F, Wild K. On decision support for quantum application developers: categorization, comparison, and analysis of existing technologies. In: Proceedings of the 21st International Conference on Computational Science. 2021, 127−141 |
| [27] |
Haghparast M, Mikkonen T, Nurminen J K, Stirbu V. Quantum software engineering challenges from developers’ perspective: mapping research challenges to the proposed workflow model. In: Proceedings of 2023 IEEE International Conference on Quantum Computing and Engineering. 2023, 173−176 |
| [28] |
Treude C, Barzilay O, Storey M A. How do programmers ask and answer questions on the web? (NIER track). In: Proceedings of the 33rd International Conference on Software Engineering. 2011, 804−807 |
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
Beyer S, Pinzger M. A manual categorization of android app development issues on stack overflow. In: Proceedings of 2014 IEEE International Conference on Software Maintenance and Evolution. 2014, 531−535 |
| [34] |
|
| [35] |
de Araújo A F, Marcacini R M. RE-BERT: automatic extraction of software requirements from app reviews using BERT language model. In: Proceedings of the 36th Annual ACM Symposium on Applied Computing. 2021, 1321−1327 |
| [36] |
Sainani A, Anish P R, Joshi V, Ghaisas S. Extracting and classifying requirements from software engineering contracts. In: Proceedings of the 28th IEEE International Requirements Engineering Conference. 2020, 147−157 |
| [37] |
Deshpande G, Sheikhi B, Chakka S, Zotegouon D L, Masahati M N, Ruhe G. Is BERT the new silver bullet?-An empirical investigation of requirements dependency classification. In: Proceedings of the 29th IEEE International Requirements Engineering Conference Workshops. 2021, 136−145 |
| [38] |
Hey T, Keim J, Koziolek A, Tichy W F. NorBERT: transfer learning for requirements classification. In: Proceedings of the 28th IEEE International Requirements Engineering Conference. 2020, 169−179 |
| [39] |
Henao P R, Fischbach J, Spies D, Frattini J, Vogelsang A. Transfer learning for mining feature requests and bug reports from tweets and app store reviews. In: Proceedings of the 29th IEEE International Requirements Engineering Conference Workshops. 2021, 80−86 |
| [40] |
Kaur K, Kaur P. BERT-RCNN: an automatic classification of app reviews using transfer learning based RCNN deep model. 2023 (https://www.researchsquare.com/article/rs-2503700/v1) |
| [41] |
|
| [42] |
Devlin J, Chang M W, Lee K, Toutanova K. BERT: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. 2019, 4171–4186 |
| [43] |
Strauss A L, Corbin J M. Basics of Qualitative Research. 2nd ed. Thousand Oaks: Sage Publications, 1998 |
| [44] |
Neuendorf K A. The Content Analysis Guidebook. 2nd ed. Los Angeles: SAGE, 2017 |
| [45] |
|
| [46] |
|
| [47] |
|
| [48] |
Allamanis M, Sutton C. Why, when, and what: analyzing stack overflow questions by topic, type, and code. In: Proceedings of the 10th Working Conference on Mining Software Repositories. 2013, 53−56 |
| [49] |
|
| [50] |
Baquero J F, Camargo J E, Restrepo-Calle F, Aponte J H, González F A. Predicting the programming language: extracting knowledge from stack overflow posts. In: Proceedings of the 12th Colombian Conference on Computing. 2017, 199−210 |
| [51] |
|
| [52] |
González-Carvajal S, Garrido-Merchán E C. Comparing BERT against traditional machine learning text classification. 2021, arXiv preprint arXiv: 2005.13012 |
| [53] |
Sanh V, Debut L, Chaumond J, Wolf T. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. 2020, arXiv preprint arXiv: 1910.01108 |
| [54] |
Liu Y, Ott M, Goyal N, Du J, Joshi M, Chen D, Levy O, Lewis M, Zettlemoyer L, Stoyanov V. RoBERTa: a robustly optimized BERT preprint approach. 2019, arXiv preprint arXiv: 1907.11692 |
| [55] |
|
| [56] |
|
| [57] |
Upadhyay K, Chhetri V, Siddique A B, Farooq U. Analyzing the evolution and maintenance of quantum software repositories. In: Proceedings of 2025 IEEE International Conference on Quantum Software. 2025, 173−184 |
Higher Education Press
/
| 〈 |
|
〉 |