FQXAI: A Semantic and Circuit-Level Explainability Framework for Hybrid Quantum-Classical Medical Learning
Ankit Raj, Pramod Parashar, Subramanian Ramalingam
Abstract
Abstract Recent studies have reported competitive predictive performance from hybrid quantum--classical learning models across biomedical and healthcare tasks, motivating growing interest in Quantum Machine Learning (QML) for medical data. However, predictive performance does not explain how quantum models arrive at their decisions. The combination of learned representations, parameterized quantum circuits, entangling operations, and noise introduce immense challenge for obtaining human-interpretable and circuit-level explanations. We present \textbf{FQXAI}, a unified semantic and circuit level explainability framework for hybrid quantum--classical medical learning. FQXAI transforms heterogeneous biomedical inputs into an eight-dimensional proxy supervised semantic concept space, mapping these representations into differentiable Gaussian fuzzy linguistic states, and generates model-level IF--THEN rationales. Exact Shapley values are computed over all $2^8=256$ semantic coalitions, enabling exhaustive attribution without Monte Carlo sampling. At the circuit level, \textbf{SVQX} quantifies the contributions of CNOT operations under controlled depolarizing noise and identifies negatively contributing gates as pruning candidates. A Jacobian-based projection further transfers semantic attributions to the original ECG and imaging domains. Experiments on MIT-BIH Arrhythmia, PneumoniaMNIST, and PathMNIST demonstrate the framework across temporal, radiological, and histopathological modalities. The models achieved accuracies of 0.890, 0.768, and 0.726, while exact FQ-SHAP achieved AUDC values of 0.780, 0.786, and 0.423, respectively. Under 5\% simulated depolarizing noise, SVQX-guided pruning reduced CNOT counts from 14 to 11, 12, and 10, with corresponding accuracy increases of 2.20, 1.74, and 1.51 percentage points. These results demonstrate the feasibility and efficacy of coupling semantic explanations with noise-aware circuit analysis for auditable hybrid quantum medical learning.