This work discusses a cost-efficient hybrid quantum-classical neural network for classification of medical images. By embedding a 4-qubit variational quantum circuit (VQC) within a compact convolution neural network (CNN), the hybrid model achieves the accuracy of deep classical networks (99.89%) with much less parameters and faster training than ResNet-18 and VGG-16 model. Compared to a conventional CNN that shows the best training speed, the hybrid still remains even more parameter-efficient with similar speed, confirming its potential for real-time medical diagnostics in resource-constrained conditions.
This work discusses a cost-efficient hybrid quantum-classical neural network for classification of medical images. By embedding a 4-qubit variational quantum circuit (VQC) within a compact convolution neural network (CNN), the hybrid model achieves the accuracy of deep classical networks (99.89%) with much less parameters and faster training than ResNet-18 and VGG-16 model. Compared to a conventional CNN that shows the best training speed, the hybrid still remains even more parameter-efficient with similar speed, confirming its potential for real-time medical diagnostics in resource-constrained conditions.
Medical image classification is a fundamental aspect of contemporary diagnosis, but the conventional Deep Learning (DL) model is increasingly encountering difficulties in terms of computational complexity, data availability, and interpretability. With the massive growth of medical data, the "black box" phenomenon of Convolutional Neural Networks (CNNs) hinders medical validation. This paper presents a novel Hybrid Quantum-Classical Neural Network (HQCNN) approach for multimodal diagnosis, specifically addressing Brain Tumors (MRI), Pneumonia (Chest X-Ray), and Retinal Diseases (OCT). The proposed model combines a pre-trained ResNet-18 backbone for high-level feature representation with a 4-qubit Variational Quantum Circuit (VQC) to harness the power of quantum entanglement for improved classification in high-dimensional Hilbert spaces. More-over, we close the interpretability gap by incorporating Gradient-weighted Class Activation Mapping (Grad-CAM). Experimental results show that the hybrid model performs exceptionally well, specifically with 98.76% accuracy on Retina OCT, 90.71% accuracy on Chest X-Rays and 95.27% on Brain MRI, with a substantial decrease in trainable parameters in the decision head compared to classical models.
Medical image classification is a critical task in computer-aided diagnostics, but classical deep learning models often demand substantial computational resources and large parameter spaces. This paper investigates the potential of hybrid quantum-classical neural networks to address this challenge in the context of multi-class brain tumor classification from MRI scans. We introduce a custom hybrid quantum machine learning (QML) model and conduct a rigorous comparative analysis against its purely classical counterpart, as well as established architectures such as ResNet-18 and VGG-16. Our findings demonstrate that the proposed hybrid QML model achieves a state-of-the-art test accuracy of 96.58%, matching the performance of the significantly larger ResNet-18 model. Crucially, the hybrid model outperforms its direct classical counterpart, the Classical Benchmark (96.20%), while utilizing approximately 80% fewer parameters. Although simulating quantum circuits results in longer training times, our findings highlight the remarkable parameter efficiency and competitive accuracy of hybrid quantum models, suggesting a promising direction for developing powerful yet lightweight networks for medical diagnostics.
Medical image classification is a critical component of modern healthcare; however, accurate diagnosis remains challenging due to limited annotated datasets, class imbalance, and the high dimensionality of medical imaging data. To address these challenges, a hybrid quantum-classical neural network (HQCNN) is proposed, integrating classical deep learning with variational quantum learning for medical image classification. The proposed architecture combines a five-layer convolutional neural network (CNN) for hierarchical feature extraction with a lightweight 4-qubit variational quantum circuit (VQC) incorporating quantum state encoding, superposition and entanglement mechanisms, and a quantum attention-Fourier (QAF) module. This hybrid design aims to improve nonlinear feature representation and quantum parameter efficiency while maintaining a shallow quantum circuit suitable for noisy intermediate-scale quantum (NISQ)-era constraints. Experimental evaluation on six MedMNIST benchmark datasets demonstrated competitive performance across both binary and multi-class classification tasks. HQCNN achieved 98.88% accuracy on the binary subset of PathMNIST (classes 0 vs. 1), 97.61% accuracy on the multi-class OrganAMNIST dataset, and 86.29% accuracy on BreastMNIST. Comparative experiments and statistical analyses demonstrated consistent improvements over the controlled BHQNN baseline, while component-wise ablation studies showed that the QAF module, superposition and entanglement mechanisms, and expressive parameterized rotations contributed to classification performance in a complementary and dataset-dependent manner. Moreover, HQCNN reduced the number of trainable quantum parameters by approximately 55.6% compared with the baseline hybrid quantum neural network (BHQNN). Noise-aware simulations further showed that the model retained relatively stable predictive performance under moderate depolarizing noise, supporting further evaluation under near-term quantum computing conditions. Overall, the results demonstrate that HQCNN provides a parameter-efficient hybrid quantum-classical framework for medical image classification and offers a promising foundation for further investigation of quantum-enhanced medical image analysis.
The problem of classifying brain tumours using magnetic resonance imaging (MRI) is a fundamental one in the field of computeraided diagnosis, since although many commonly employed convolutional neural network (CNN) architectures provide high accuracy they contain a large number of parameters, which has led to a search for more compact network designs. In this paper a hybrid quantum–classical approach is proposed that combines a lightweight CNN feature extractor with a trainable variational quantum circuit (VQC) in order to carry out four-class brain tumour classification. The MRI images are resized to 128 by 128 pixels and then processed by a small three-block CNN that reduces each image to an 8-dimensional feature vector. This vector is put into an 8-qubit quantum register by means of angle embedding and then acted on by a variational circuit composed of strongly entangling layers, by measuring each qubit in the Pauli-Z basis. The quantum features thus obtained are then fed into classical dense layers that categorise the images as glioma, meningioma, pituitary tumour or no tumour. The framework was tested on the Brain Tumor MRI dataset (7,200 images) and compared with a classical CNN baseline that was trained under the same conditions. The hybrid model reached a test accuracy of 76.88%, as compared to 72.31% for the classical baseline an improvement of 4.57 percentage points together with corresponding increases in macro-averaged precision, recall and F1-score. Notably, the hybrid model needed only 72 additional trainable parameters when compared to the classical baseline. The fact that the quantum layer was assessed using a noiseless simulator rather than on actual quantum hardware means that these results should be seen as indicating the feasibility of using compact quantum feature transformations for medical image classification rather than as showing a quantum advantage.
Brain tumor detection from MRI images is a critical and challenging task in medical diagnostics, where early identification greatly improves treatment outcomes. This paper presents a Hybrid Quantum– Classical Convolutional Neural Network (HQCNN) that integrates the strengths of ResNet-18 and a Variational Quantum Circuit for efficient and accurate tumor classification. The proposed model first employs ResNet-18 as a classical feature extractor, where 17 convolutional layers and pooling operations capture both low-level and high-level spatial features from MRI images. The final fully connected layer of ResNet-18 is replaced by a quantum processing layer implemented using PennyLane. In this layer, the extracted classical features are encoded onto qubits using RY rotation gates, while CNOT gates introduce entanglement between them, forming a VQC with trainable parameters. After quantum computation, Pauli-Z measurements convert the processed quantum states back into classical values, which are passed to a final fully connected layer for binary classification as Tumor or No Tumor. The hybrid integration of classical CNN feature learning with quantum entanglement– based representation enhances model generalization and interpretability. Experimental analysis demonstrates that the proposed HQCNN achieved 94.65% accuracy, outperforming traditional CNN models and confirming the potential of hybrid quantum–classical architectures for reliable and interpretable medical image diagnosis.
Magnetic Resonance Imaging (MRI) scans of the brain can serve as a clinically vital task computationally challenging. Regular Convolutional Neural Networks (CNNs) are highly accurate, but they require significant computational power, thus restricting their use in resource-limited clinical settings. This work presents a hybrid Quantum Convolutional Neural Network (QCNN) architecture that combines parameterized quantum circuits (PQCs) with classical CNN layers to boost the performance of the classification task and minimize the set of trainable parameters. The proposed architecture uses variational quantum circuits (VQCs) as quantum feature extractors in intermediate processing layers, and final classification (classical fully connected layers). The parameter-shift rule trains quantum circuit parameters end-to-end and allows calculating the gradient without finite-differentiating the circuits. Three publicly available benchmark datasets, including the Kaggle Brain Tumor MRI Dataset, the BraTS 2020 Challenge Dataset, and Brain MRI Segmentation Dataset, which comprise four pathological categories, glioma, meningioma, pituitary adenoma, and no-tumor, were experimented on. The proposed QCNN reached a classification accuracy of 97.84%, sensitivity of 97.21, specificity of 98.43 and F1-score of 97.52 on the Kaggle test partition, which is better than five classical CNN baselines, such as ResNet-50, VGG-16, EfficientNet-B4, DenseNet-121, and In Moreover, the QCNN showed a 74.6% reduction in trainable parameters over EfficientNet-B4, which indicates the practical efficiency of quantum-classical hybrid networks in medical image analysis.