Quantum machine learning (QML) presents a promising avenue for addressing complex classification challenges, yet its application in medical imaging remains largely unexplored. This work introduces a hybrid quantum classical framework designed to classify skin diseases—Chickenpox, Measles, Monkeypox, and Normal—using a 4 qubit quantum system. The framework integrates a Quantum Convolutional Neural Network (QCNN) for feature extraction and a Variational Quantum Classifier (VQC) for classification, processing a dataset of 770 images with significant class imbalance. To address this imbalance, we employ a class weighted loss function with weightswyi= [3.0, 3.5, 0.6, 0.4], ensuring balanced representation across all classes. The model is optimized using Simultaneous Perturbation Stochastic Approximation (SPSA) over 150 iterations, achieving a test accuracy of 70.13% on a subset of 154 images, which represents 20% of the dataset. This marks a substantial improvement over both a random baseline of 25% and a prior run that achieved 37.66% accuracy, which was skewed toward the majority class. Principal Component Analysis (PCA) reduces image features to a 4 dimensional representation, enabling compatibility with the quantum system. The QCNN extracts these features, while the VQC performs classification based on measurements from 1024 shots on the QASM simulator. To ensure practical reusability, the trained model—including quantum circuits, optimized parameters, and PCA transformations—is saved for future deployment. Validation on a separate set of 24 samples (6 per class) yields 70.83% accuracy (17 out of 24 correct predictions), demonstrating the model’s generalization capabilities. While the performance falls short of classical benchmarks, this study establishes the feasibility of QML with minimal qubits, paving the way for quantum driven diagnostics in resource constrained environments.
Quantum machine learning (QML) presents a promising avenue for addressing complex classification challenges, yet its application in medical imaging remains largely unexplored. This work introduces a hybrid quantum classical framework designed to classify skin diseases—Chickenpox, Measles, Monkeypox, and Normal—using a 4 qubit quantum system. The framework integrates a Quantum Convolutional Neural Network (QCNN) for feature extraction and a Variational Quantum Classifier (VQC) for classification, processing a dataset of 770 images with significant class imbalance. To address this imbalance, we employ a class weighted loss function with weightswyi= [3.0, 3.5, 0.6, 0.4], ensuring balanced representation across all classes. The model is optimized using Simultaneous Perturbation Stochastic Approximation (SPSA) over 150 iterations, achieving a test accuracy of 70.13% on a subset of 154 images, which represents 20% of the dataset. This marks a substantial improvement over both a random baseline of 25% and a prior run that achieved 37.66% accuracy, which was skewed toward the majority class. Principal Component Analysis (PCA) reduces image features to a 4 dimensional representation, enabling compatibility with the quantum system. The QCNN extracts these features, while the VQC performs classification based on measurements from 1024 shots on the QASM simulator. To ensure practical reusability, the trained model—including quantum circuits, optimized parameters, and PCA transformations—is saved for future deployment. Validation on a separate set of 24 samples (6 per class) yields 70.83% accuracy (17 out of 24 correct predictions), demonstrating the model’s generalization capabilities. While the performance falls short of classical benchmarks, this study establishes the feasibility of QML with minimal qubits, paving the way for quantum driven diagnostics in resource constrained environments.
Skin cancer, in particular melanoma, is still one of the most significant contributing factors to cancer-related deaths globally, indicating the urgency of reliable diagnostic tools. Early discovery of skin lesions can radically increase patient survival rates, but manual diagnosis is not an easy task, and it is time-consuming as well. This paper uses Quantum Convolutional Neural Networks (QCNN), a hybrid quantum-classical model for the skin lesion classification task as being benign or malignant. The model intertwines quantum feature extraction using an amplitude encoding and parameterized quantum circuit with classical convolutional neural network (CNN) layers analyzing spatial features. Advanced pre-processing techniques and Synthetic Minority Over-sampling Techniques (SMOTE) address the class imbalance, as federated learning ensures decentralized nodes’ privacy-preserving training. The explainability of the model predictions is heightened through Quantum SHAP (Shapley Additive Explanations) and Gradient-Weighted Class Activation Mapping (Grad-CAM). This work evaluates QCNN on the Melanoma Skin Cancer Dataset of 10,600 images, achieving 96.87% training accuracy and a validation accuracy of 85% while surpassing classical benchmarks in accuracy, efficiency, and robustness. Therefore, this quantum-classical model has highlighted potential applications of medical image diagnostics through quantum-classical models
Multiclass disease classification is a crucial task in medical diagnostics, but achieving high accuracy across diverse disease categories remains challenging. This paper presents a novel approach that integrates Quantum Convolutional Neural Networks (QCNN) with the ResNet architecture to enhance multiclass skin disease classification. The model utilizes quantum computing principles to improve feature extraction and classification performance. We evaluate the model on a dataset comprising 16 skin disease classes from the DermNet dataset, covering both common and rare conditions like acne, melanoma, Eczema, Seborrheic Keratoses, Tinea Ringworm, Bullous disease, Poison Ivy, Psoriasis, Vascular Tumors, etc. Experimental results demonstrate that our QCNN-ResNet model achieves a classification accuracy of 86%, significantly surpassing the 66% accuracy of traditional ResNet models. This improvement is attributed to the enhanced feature representation provided by quantum layers, which capture complex patterns in medical images more effectively. Furthermore, the model exhibits robustness to noisy data, maintaining high accuracy across varying image quality levels. These findings highlight the potential of quantumenhanced neural networks in advancing medical diagnostics. Future research will explore scaling the model to larger datasets and extending its application to other medical imaging domains.
Skin cancer is among the most widespread and life-threatening conditions in the world with the need to detect lesions promptly and consistently in order to treat the disease in a timely manner. Nonetheless, automated lesion classification of the skin is a complex challenge due to inter-class similarity, which is high, illumination variation, and imbalance in the data in various classes of lesions. To address these obstacles, this paper presents a lightweight but powerful 6-qubit Hybrid Quantum-Classical Convolutional Neural Network (HQNN) that is optimized to 6-bit (low-precision) medical imaging applications. The proposed framework will use a ResNet-18 backbone to learn deep dermatological features based on dermoscopic images and a Particle Swarm Optimization (PSO) algorithm with a Random Forest (RF) ranking of features will reduce the 512-dimensional embedding space into six highly discriminative descriptors, which can be encoded in quantum. These are then converted into quantum states with ZZFeatureMap and RealAmplitudes ansatz which comprise a 6-qubit variational circuit the output of which is fused with a classical CNN classifier to achieve final lesion prediction. This strategy of optimization of quantum-aware features is a balance between the representation of high dimensions and limitations of qubits, which ensures a computational tractability on near-term noisy intermediate-scale quantum (NISQ) devices. Existing experimental results on the ISIC 2019 skin-lesion dataset show state-of-the-art performance achieving 98.2% accuracy, 98.5% precision, 97.7% recall, 98.0% F1-score, and a macro ROC-AUC of 0.985. The findings affirm that quantized deep learning with low-qubit quantum encoding has better diagnostic performance, noise resistance, and scalability with minimal hardware costs, making Q-SkinNet a realistic advancement towards experimental quantum-assisted dermatological 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.
Classical machine learning methods face scalability and optimization challenges when applied to large-scale histopathological datasets. Quantum machine learning (QML) offers a promising direction by enabling compact high-dimensional feature encoding and alternative optimization strategies. In neuroblastoma (NB) histopathology, where accurate tumor mutation classification is critical for clinical decision-making, such capabilities are essential to capture subtle molecular variations often overlooked by conventional models. This study presents a hybrid classical-quantum machine learning framework for tumor mutation classification, combining ViT embeddings with a 4-qubit variational quantum circuit. We conducted experiments using 594,271 tumor relevant patches of size 512 × 512 pixels, collected from 97 manually annotated Whole Slide Images (WSIs) (≤ 150,000 × 100,000 pixels) provided by domain experts which also represents 85 NB cases across three U.S. medical institutions. The classical Adam baseline achieved 91.8% accuracy with tumor sensitivity of 97.3%. The hybrid model with Simultaneous Perturbation Stochastic Approximation (SPSA) reached 91.0% accuracy, while Quantum Natural Gradient (QNG) and Rotoselect underperformed (89.8% and 81.3%, respectively). Ablation experiments showed that both Quantum Multi-Head Attention (QMHA) and Quantum MLP (QMLP) blocks provide complementary gains, with circuit depth L=2 and vector readout offering the best trade-off between expressivity and stability. We further evaluated computational performance across dataset scales. Classical ViT exhibited a linear growth of approximately 21.33 minutes per WSI, while the hybrid QML model scaled more gradually at 19.36 minutes per WSI. Although QML incurred higher overhead at smaller dataset sizes, its slower growth rate allowed it to require less processing time than ViT starting at ≈ 133 WSIs, underscoring its potential for improved scalability on large datasets. Overall, this work establishes a systematic benchmark of hybrid QML for digital pathology, demonstrating competitive classification performance and the potential for improved efficiency as quantum hardware matures.
Quantum Skin is a new deep learning framework that integrates the power of classical and quantum computers to enhance how we diagnose skin disease. The new framework combines traditional convolutional neural networks (CNNs) and advanced variational quantum circuits (VQCs) leading to a hybrid solution that displays the advantages of both computing models. The CNN component is responsible for the first step of the model by extracting important features from clinical or dermoscopic images of the skin. After the CNN identifies the important features, the features are sent to the quantum layer of the model. The quantum mechanics properties of superposition and entanglement also work at this layer, where the model refines the patterns it saw earlier to better identify subtle features in the images. A strong point of the framework is its potential to address typical concerns with medical image analysis tasks. More conventional models tend to struggle with overfitting issues, necessitating large amounts of comparable datasets to avoid overfitting and exhibit good performance. This framework is more robust, particularly when we deal with small or unbalanced datasets, which is common in real clinical settings. Thus far, the findings are encouraging. Quantum Skin enhances not just classification accuracy, but also the training time to obtain classifications. This efficiency makes it a viable prospect for future applications in medical imaging systems; especially in the fields of early detection and automated screening of skin conditions or uses in the medical imaging corps.