Explainable artificial intelligence (XAI) remains underexplored in quantum machine learning (QML) due to limited quantum computational resources and the lack of practical interpretability techniques. In this study, we implement the Local Interpretable Model-Agnostic Explanations (LIME) algorithm within the CUDA-Q framework and propose an interpretable QML analysis method using GPU-accelerated quantum simulation. All experiments are conducted on a GPU-based simulator rather than real quantum hardware, enabling stable large-scale sampling required by LIME and ensuring reproducible results. We design a binary classification model based on a single-qubit variational circuit composed of parameterized RY and RX rotations, and the model is trained with gradient-based optimization. The performance is evaluated on the MNIST, KMNIST, Fashion-MNIST, and CIFAR-10 datasets using training and test accuracy as metrics. By applying LIME, the classification outcomes of the quantum model are visualized and interpreted in a human-understandable form, demonstrating that meaningful interpretability can be achieved even under limited qubit counts and constrained computational environments. Furthermore, we analyze the trade-off between simulator performance and model accuracy, confirming that GPU-based CUDA-Q simulation provides a scalable and practical research environment for QML. This work offers a concrete pathway toward transparent and interpretable quantum machine learning.
Explainable artificial intelligence (XAI) remains underexplored in quantum machine learning (QML) due to limited quantum computational resources and the lack of practical interpretability techniques. In this study, we implement the Local Interpretable Model-Agnostic Explanations (LIME) algorithm within the CUDA-Q framework and propose an interpretable QML analysis method using GPU-accelerated quantum simulation. All experiments are conducted on a GPU-based simulator rather than real quantum hardware, enabling stable large-scale sampling required by LIME and ensuring reproducible results. We design a binary classification model based on a single-qubit variational circuit composed of parameterized RY and RX rotations, and the model is trained with gradient-based optimization. The performance is evaluated on the MNIST, KMNIST, Fashion-MNIST, and CIFAR-10 datasets using training and test accuracy as metrics. By applying LIME, the classification outcomes of the quantum model are visualized and interpreted in a human-understandable form, demonstrating that meaningful interpretability can be achieved even under limited qubit counts and constrained computational environments. Furthermore, we analyze the trade-off between simulator performance and model accuracy, confirming that GPU-based CUDA-Q simulation provides a scalable and practical research environment for QML. This work offers a concrete pathway toward transparent and interpretable quantum machine learning.
Abstract As machine learning grows increasingly complex due to big data and deep learning, model explainability has become essential to fostering user trust. Quantum machine learning (QML) has emerged as a promising field, leveraging quantum computing to enhance classical machine learning methods, particularly through quantum representation learning (QRL). QRL aims to provide more efficient and powerful machine learning capabilities on noisy intermediate-scale quantum (NISQ) devices. However, interpreting QRL models poses significant challenges due to the reliance on quantum gate-based parameterized circuits, which, while analogous to classical neural network layers, operate in the quantum domain. To address these challenges, we propose an explainable QRL framework combining a quantum autoencoder (QAE) with a variational quantum classifier (VQC) and incorporating theoretical and empirical explainability for image data. Our dual approach enhances model interpretability by integrating visual explanations via local interpretable model-agnostic explanations (LIME) and analytical insights using Shapley Additive Explanations (SHAP). These complementary methods provide a deeper understanding of the model’s decision-making process based on prediction outcomes. Experimental evaluations on simulators and superconducting quantum hardware validate the effectiveness of the proposed framework for classification tasks, underscoring the importance of explainable representation learning in advancing QML towards more transparent and reliable applications.
Abstract The interplay between machine learning and quantum computing can lead to unprecedented prospects for both fundamental research and real-world applications. In this new field of quantum machine learning, quantum classifiers, i.e., quantum algorithms for solving classification problems, have attracted the most attention. However, despite the promising performance of these new models for classification tasks, they are complex black-box models. Therefore, like or even more so than classical machine learning models, their use in critical contexts such as medical diagnosis could be hampered without the support of explanations. This paper addresses this challenge by investigating the use of Local Interpretable Model-agnostic Explanations (LIME) for quantum classifiers, with a specific focus on the stability of the explanations. Stability is a key property for ensuring that explanations are consistent and trustworthy, especially when decisions impact sensitive domains. The paper conducts a systematic stability study of LIME in the quantum setting, validating whether a classical explainable AI technique can be meaningfully applied to quantum models. As shown in experiments involving different datasets belonging to critical applications, LIME provides explanations for quantum support vector machines and quantum neural networks that are not only interpretable but also stable. By highlighting the stability of explanations, these findings demonstrate the suitability of LIME as an explainability tool for quantum classifiers.
Quantum Machine Learning (QML) has emerged as a promising paradigm that leverages quantum mechanical principles to accelerate machine learning tasks.Despite its potential, most QML models remain opaque "black boxes," hindering their deployment in high-stakes or regulated domains where trust and accountability are essential.This work introduces two novel interpretability methods tailored for QML: Quantum Shapley Values (QSV) and Quantum Local Interpretable Model-Agnostic Explanations (Q-LIME).QSV adapts cooperative game theory to quantify the contribution of individual qubits, observables, or circuit parameters, while Q-LIME generates perturbed quantum states and trains surrogate classical models to approximate local decision boundaries.Through experiments on variational quantum classifiers and hybrid quantum-classical neural networks, we demonstrate that QSV provides rigorous attribution but suffers from scalability constraints, whereas Q-LIME yields efficient, approximate explanations suitable for near-term devices.By transforming quantum models from opaque "black boxes" into interpretable "glass boxes," this research lays the foundation for trustworthy, transparent, and human centred quantum AI.
Abstract Methods of artificial intelligence (AI) and especially machine learning (ML) have been growing ever more complex, and at the same time have more and more impact on people’s lives. This leads to explainable AI (XAI) manifesting itself as an important research field that helps humans to better comprehend ML systems. In parallel, quantum machine learning (QML) is emerging with the ongoing improvement of quantum computing hardware combined with its increasing availability via cloud services. QML enables quantum-enhanced ML in which quantum mechanics is exploited to facilitate ML tasks, typically in the form of quantum-classical hybrid algorithms that combine quantum and classical resources. Quantum gates constitute the building blocks of gate-based quantum hardware and form circuits that can be used for quantum computations. For QML applications, quantum circuits are typically parameterized and their parameters are optimized classically such that a suitably defined objective function is minimized. Inspired by XAI, we raise the question of the explainability of such circuits by quantifying the importance of (groups of) gates for specific goals. To this end, we apply the well-established concept of Shapley values. The resulting attributions can be interpreted as explanations for why a specific circuit works well for a given task, improving the understanding of how to construct parameterized (or variational) quantum circuits, and fostering their human interpretability in general. An experimental evaluation on simulators and two superconducting quantum hardware devices demonstrates the benefits of the proposed framework for classification, generative modeling, transpilation, and optimization. Furthermore, our results shed some light on the role of specific gates in popular QML approaches.
Image classification plays a vital role in large-scale data analysis, especially in object recognition tasks using advanced Deep Learning (DL) frameworks. However, the growing complexity and computational demands of modern DL models have introduced challenges related to scalability and efficiency. Quantum Computing (QC) has emerged as a promising alternative, capable of addressing these limitations by leveraging the principles of Quantum Machine Learning (QML). However, many existing QML models require a large number of qubits, which poses limitations within the current Noisy Intermediate-Scale Quantum (NISQ) era. This work introduces a novel Adaptive Quantum Convolutional Neural Network (AQCNN) designed for efficient and scalable image classification within the constraints of NISQ devices. Addressing the limitations of existing QML approaches, particularly the high qubit requirements, AQCNN incorporates a resource-efficient quantum convolutional layer that performs localized quantum filtering using parameterized quantum circuits. A classical preprocessing layer encodes input features to reduce qubit load, followed by quantum embedding and hybrid quantum-classical layers that optimize feature extraction and classification performance. The model leverages an adaptive quantum convolution strategy, minimizing quantum gate depth and circuit complexity while preserving critical spatial hierarchies in image data. Evaluated on benchmark datasets, AQCNN achieved 95.88% accuracy on MNIST and 95.68% on FMNIST, outperforming comparable QML architectures. Additionally, the model supports scalable execution through parallel quantum circuit arrays, enabling practical deployment on current quantum hardware. This architecture demonstrates a significant advance in quantum-assisted image classification, balancing performance with qubit and gate efficiency. The integration of adaptive quantum convolution and hybrid processing not only enhances classification accuracy but also provides a viable path forward for deploying QML solutions under realistic hardware constraints.
Quantum Machine Learning (QML) promises computational advantages over Deep Learning (DL), but its effectiveness in practical network Traffic Classification (TC) remains underexplored. In this paper, we provide the first systematic use of eXplainable Artificial Intelligence (XAI) to interpret QMLbased classifiers for (mobile) network TC. We combine (a) SHAPbased attribution and (b) calibration analysis to compare QML and DL models across both small- and large-scale TC tasks. This dual perspective enables a deeper understanding of QML interpretability and reliability relative to DL in network TC, exposing key limitations and avenues for improvement.