publications
publications by categories in reversed chronological order. generated by jekyll-scholar.
2025
- TOSEM
A Taxonomy of Real Faults for Hybrid Quantum-Classical Software ArchitecturesA. Bensoussan, G. Jahangirova, and M.R. MousaviACM Transactions on Software Engineering and Methodology, 2025With the popularity of Hybrid Quantum-Classical architectures, particularly noisy intermediate-scale quantum (NISQ) architectures in the gate-based quantum computing paradigm, comes the need for quality assurance methods tailored to their specific faults. In this study, we propose a taxonomy of faults in gate-based Hybrid Quantum-Classical architectures accompanied by a dataset of real faults in the identified categories. To achieve this, we empirically analysed open-source repositories for fixed faults. We analysed over 5000 closed issues on GitHub and pre-selected 529 of them based on rigorously defined inclusion criteria. We selected 133 faults that we labelled around symptoms and the origin of the faults. We cross-validated the classification and labels assigned to every fault between two of the authors. As a result, we introduced a taxonomy of real faults in gate-based Hybrid Quantum-Classical architectures. Subsequently, we validated the taxonomy through interviews conducted with eleven developers. The taxonomy was dynamically updated throughout the cross-validation and interview processes. The final version was validated and discussed through surveys conducted with an independent group of domain experts to ensure its relevance and to gain further insights.
@article{bensoussan2025hybrid, title = {A Taxonomy of Real Faults for Hybrid Quantum-Classical Software Architectures}, author = {Bensoussan, A. and Jahangirova, G. and Mousavi, M.R.}, journal = {ACM Transactions on Software Engineering and Methodology}, year = {2025}, publisher = {Association for Computing Machinery}, doi = {10.1145/3788677}, url = {https://dl.acm.org/doi/10.1145/3788677}, } - OOPSLA
AccelerQ: Accelerating Quantum Eigensolvers with Machine Learning on Quantum SimulatorsA. Bensoussan, E. Chachkarova, K. Even-Mendoza, and 2 more authorsProceedings of the ACM on Programming Languages, 2025We present AccelerQ, a framework for automatically tuning quantum eigensolver (QE) implementations using machine learning and search-based optimisation. Rather than redesigning quantum algorithms or manually tweaking existing implementations, AccelerQ treats QE implementations as black-box programs and learns to optimise their hyperparameters to improve accuracy and efficiency. The framework combines search-based techniques and genetic algorithms alongside ML models to efficiently explore the hyperparameter space and avoid local minima. Our approach leverages two key ideas. First, we train on data obtained from smaller, classically simulable systems. Second, we use program-specific ML models that exploit the persistence of local physical interactions in molecular systems across scales, enabling generalisation to larger systems. We empirically evaluate AccelerQ on two fundamentally different QE implementations: ADAPT-QSCI and QCELS. For each, we train a lightweight XGBoost regressor using data extracted from systems of up to 16 qubits. We then deploy the models to optimise hyperparameters for larger 20-, 24-, and 28-qubit Hamiltonians, where classical simulation becomes impractical. We observe a reduction in error from 5.48% to 5.3% using ML alone and further to 5.05% with genetic algorithms for ADAPT-QSCI, and from 7.5% to 6.5% for QCELS. While some results for intermediate system sizes remain inconclusive, our findings highlight the promise of ML-driven optimisation techniques for quantum programs and suggest future directions for integrating software engineering methods into quantum software stacks.
@article{bensoussan2025accelerq, title = {AccelerQ: Accelerating Quantum Eigensolvers with Machine Learning on Quantum Simulators}, author = {Bensoussan, A. and Chachkarova, E. and Even-Mendoza, K. and Fortz, S. and Lenihan, C.}, journal = {Proceedings of the ACM on Programming Languages}, volume = {9}, number = {OOPSLA2}, pages = {2279--2309}, year = {2025}, publisher = {Association for Computing Machinery}, doi = {10.1145/3763132}, url = {https://dl.acm.org/doi/abs/10.1145/3763132}, } - OOPSLA
Shaking Up Quantum Simulators with Fuzzing and RigourV. Klimis, A. Bensoussan, E. Chachkarova, and 2 more authorsProceedings of the ACM on Programming Languages, 2025Quantum computing platforms rely on simulators for modelling circuit behaviour prior to hardware execution, where inconsistencies can lead to costly errors. While formal validation methods typically focus on specific compiler components to mitigate state explosion, they often miss critical bugs. Conversely, conventional testing lacks systematic exploration of corner cases and realistic execution scenarios, leading to both false positives and false negatives. We present FuzzQ, a novel framework that bridges this gap by combining formal methods with structured test generation and fuzzing for quantum simulators. FuzzQ employs differential benchmarking, mutation testing, and invariant checking, and is built on an Alloy-based formal model of QASM 3.0. This model enables automated analysis and the generation of structurally diverse, constraint-guided quantum circuits with guaranteed properties. We introduce several test oracles to validate both the formal model and simulator correctness, including invariant-based checks, statistical distribution tests, and a novel cross-simulator unitary consistency check that verifies functional equivalence modulo global phase. Evaluating FuzzQ on Qiskit and Cirq, we execute over 800,000 quantum circuits and uncover eight simulator bugs, six of which were previously undocumented. We also outline future extensions to support mixed-state simulations under realistic noise models.
@article{klimis2025shaking, title = {Shaking Up Quantum Simulators with Fuzzing and Rigour}, author = {Klimis, V. and Bensoussan, A. and Chachkarova, E. and Even-Mendoza, K. and Fortz, S.}, journal = {Proceedings of the ACM on Programming Languages}, volume = {9}, number = {OOPSLA2}, pages = {1400--1428}, year = {2025}, publisher = {Association for Computing Machinery}, doi = {10.1145/3763100}, url = {https://dl.acm.org/doi/abs/10.1145/3763100}, } - arXivToward Live Noise Fingerprinting in Quantum Software EngineeringA. Bensoussan, E. Chachkarova, K. Even-Mendoza, and 2 more authorsarXiv preprint, 2025
@article{bensoussan2025live, title = {Toward Live Noise Fingerprinting in Quantum Software Engineering}, author = {Bensoussan, A. and Chachkarova, E. and Even-Mendoza, K. and Fortz, S. and Klimis, V.}, journal = {arXiv preprint}, volume = {arXiv:2512.18667}, year = {2025}, url = {https://arxiv.org/abs/2512.18667}, } - ASESynthetic versus Real: An Analysis of Critical Scenarios for Autonomous Vehicle TestingQ. Song, A. Bensoussan, and M. R. MousaviAutomated Software Engineering, 2025
With the emergence of autonomous vehicles comes the requirement of adequate and rigorous testing, particularly in critical scenarios that are both challenging and potentially hazardous. Generating synthetic simulation-based critical scenarios for testing autonomous vehicles has therefore received considerable interest, yet it is unclear how such scenarios relate to the actual crash or near-crash scenarios in the real world. Consequently, their realism is unknown. In this paper, we define realism as the degree of similarity of synthetic critical scenarios to real-world critical scenarios. We propose a methodology to measure realism using two metrics, namely attribute distribution and Euclidean distance. The methodology extracts various attributes from synthetic and realistic critical scenario datasets and performs a set of statistical tests to compare their distributions and distances. As a proof of concept for our methodology, we compare synthetic collision scenarios from DeepScenario against realistic autonomous vehicle collisions collected by the Department of Motor Vehicles in California, to analyse how well DeepScenario synthetic collision scenarios are aligned with real autonomous vehicle collisions recorded in California. We focus on five key attributes that are extractable from both datasets, and analyse the attribution distribution and distance between scenarios in the two datasets. Further, we derive recommendations to improve the realism of synthetic scenarios based on our analysis. Our study of realism provides a framework that can be replicated and extended for other dataset both concerning real-world and synthetically-generated scenarios.
@article{song2025synthetic, title = {Synthetic versus Real: An Analysis of Critical Scenarios for Autonomous Vehicle Testing}, author = {Song, Q. and Bensoussan, A. and Mousavi, M. R.}, journal = {Automated Software Engineering}, volume = {32}, number = {2}, pages = {37}, year = {2025}, publisher = {Springer}, doi = {10.1007/s10515-025-00499-4}, url = {https://link.springer.com/article/10.1007/s10515-025-00499-4}, }
2024
- SSBSEFuzzing-based Differential Testing for Quantum SimulatorsD. Blackwell, J. Petke, Y. Cao, and 1 more authorIn International Symposium on Search Based Software Engineering, 2024
Quantum programs are hard to develop and test due to their probabilistic nature and the restricted availability of quantum computers. Quantum simulators have thus been introduced to help software developers. There are, however, no formal proofs that these simulators behave in exactly the way that real quantum hardware does, which could lead to errors in their implementation. Here we propose to use a search-based technique, grammar-based fuzzing, to generate syntactically valid quantum programs, and use differential testing to search for inconsistent behaviour between selected quantum simulators. We tested our approach on three simulators: Braket, Quantastica, and Qiskit. Overall, we generated and ran over 400k testcases, 2,327 of which found new coverage, and 292 of which caused crashes, hangs or divergent behaviour. Our analysis revealed 4 classes of bugs, including a bug in the OpenQASM 3 stdgates.inc standard gates library, affecting all the simulators. All but one of the bugs reported to the developers have been already fixed by them, while the remaining bug has been acknowledged as a true bug.
@inproceedings{blackwell2024fuzzing, title = {Fuzzing-based Differential Testing for Quantum Simulators}, author = {Blackwell, D. and Petke, J. and Cao, Y. and Bensoussan, A.}, booktitle = {International Symposium on Search Based Software Engineering}, pages = {63--69}, year = {2024}, publisher = {Springer}, doi = {10.1007/978-3-031-64573-0_6}, url = {https://link.springer.com/chapter/10.1007/978-3-031-64573-0_6}, } - ESEMExploring LLM-Driven Explanations for Quantum AlgorithmsG. d’Aloisio, S. Fortz, C. Hanna, and 2 more authorsIn Proceedings of the 18th ACM/IEEE International Symposium on Empirical Software Engineering, 2024
Background: Quantum computing is a rapidly growing new programming paradigm that brings significant changes to the design and implementation of algorithms. Understanding quantum algorithms requires knowledge of physics and mathematics, which can be challenging for software developers. Aims: In this work, we provide a first analysis of how LLMs can support developers’ understanding of quantum code. Method: We empirically analyse and compare the quality of explanations provided by three widely adopted LLMs (Gpt3.5, Llama2, and Tinyllama) using two different human-written prompt styles for seven state-of-the-art quantum algorithms. We also analyse how consistent LLM explanations are over multiple rounds and how LLMs can improve existing descriptions of quantum algorithms. Results: Llama2 provides the highest quality explanations from scratch, while Gpt3.5 emerged as the LLM best suited to improve existing explanations. In addition, we show that adding a small amount of context to the prompt significantly improves the quality of explanations. Finally, we observe how explanations are qualitatively and syntactically consistent over multiple rounds. Conclusions: This work highlights promising results, and opens challenges for future research in the field of LLMs for quantum code explanation. Future work includes refining the methods through prompt optimisation and parsing of quantum code explanations, as well as carrying out a systematic assessment of the quality of explanations.
@inproceedings{daloisio2024explaining, title = {Exploring LLM-Driven Explanations for Quantum Algorithms}, author = {d'Aloisio, G. and Fortz, S. and Hanna, C. and Fortunato, D. and Bensoussan, A.}, booktitle = {Proceedings of the 18th ACM/IEEE International Symposium on Empirical Software Engineering}, year = {2024}, publisher = {Association for Computing Machinery}, doi = {10.1145/3674805.3690753}, url = {https://dl.acm.org/doi/abs/10.1145/3674805.3690753}, }