Skin cancer is a disease that is among the highest in the world and which, once diagnosed early and correctly, is almost crucial in enhancing patient survival. Nevertheless, standard models of deep learning demand huge amounts of labeled medical images, which are not easily and cheaply accessible. A Quantum Contrastive Representation Learning Model of label-efficiency in medical image classification is suggested to overcome this problem based on the ISIC Skin Lesion Dataset. The model combines classical convolutional neural networks and quantum feature encoding and variational quantum circuits to improve the ability to represent features. Contrastive learning allows the model to acquire valuable feature representations of unlabeled dermoscopic images, which greatly alleviates the need to label images. The quantum encoding process enhances separability of features via the mapping of the classical features onto high dimensional quantum space. To access the results of the experiment, it is shown that the proposed model obtained a classification accuracy of 97.58%, F1-score of 97.14% and AUC of 98.02% and was more effective than classical CNN, transformer, and hybrid learning models. Moreover, the model obtained a high label efficiency of more than 96.84% with 60% of the labeled data. The suggested hybrid quantum-classical model is an excellent and efficient method to obtain the correct classification of skin lesions and reduce the labeling dependency in medical imaging tasks.
Skin cancer is a disease that is among the highest in the world and which, once diagnosed early and correctly, is almost crucial in enhancing patient survival. Nevertheless, standard models of deep learning demand huge amounts of labeled medical images, which are not easily and cheaply accessible. A Quantum Contrastive Representation Learning Model of label-efficiency in medical image classification is suggested to overcome this problem based on the ISIC Skin Lesion Dataset. The model combines classical convolutional neural networks and quantum feature encoding and variational quantum circuits to improve the ability to represent features. Contrastive learning allows the model to acquire valuable feature representations of unlabeled dermoscopic images, which greatly alleviates the need to label images. The quantum encoding process enhances separability of features via the mapping of the classical features onto high dimensional quantum space. To access the results of the experiment, it is shown that the proposed model obtained a classification accuracy of 97.58%, F1-score of 97.14% and AUC of 98.02% and was more effective than classical CNN, transformer, and hybrid learning models. Moreover, the model obtained a high label efficiency of more than 96.84% with 60% of the labeled data. The suggested hybrid quantum-classical model is an excellent and efficient method to obtain the correct classification of skin lesions and reduce the labeling dependency in medical imaging tasks.
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.
Skin cancer is the most common and fatal illness globally, and therefore, proper early detection is essential for successful treatment and enhanced patient outcomes. Classic deep learning models, especially Convolutional Neural Networks (CNNs), have greatly succeeded in medical image classification. However, classic CNNs also suffer from severe limitations such as computational inefficiency, overfitting on small datasets, and redundant feature extraction, which restrict their utility in clinical settings. To overcome these drawbacks, we introduce QAttn-CNN as a quantum–classical deep learning model combining a Quantum Attention Mechanism (QAttn) to improve feature selection and classification accuracy. Our method utilizes Quantum Convolutional Layers (QConv) and Quantum Image Representation (QIR) with Novel Enhanced Quantum Representation (NEQR) encoding to draw upon quantum parallelism and improve computational efficiency and complexity from O(N 2 ) to O(log N). The model is tested on three benchmark datasets: MNIST (70,000 grey-scale handwritten digit images), CIFAR-10 (60,000 RGB object images), and the Kaggle Skin Cancer: Malignant versus Benign dataset (3297 dermoscopic images: 1800 benign and 1497 malignant cases, from the International Skin Imaging Collaboration (ISIC) Archive). The dataset images were processed by converting them to grayscale, resizing them bilinearly to 150 × 150 pixels, and normalizing to [0–1] for quantum encoding. QAttn-CNN is contrasted with standard CNNs, QAttn-ViT (Quantum Attention Vision Transformer), and QAttn-ResNet18. Results indicate that QAttn-CNN attains state-of-the-art accuracy of 91% on the Skin Cancer dataset with a precision of 89%, a recall of 89%, and an F1-score of 91%, surpassing Baseline CNN (89% accuracy), QAttn-ViT (87%), and QAttn-ResNet18 (83%). On CIFAR-10, QAttn-CNN exhibits 10% accuracy enhancement over Baseline CNN with accuracy of 82% and 90% precision. On MNIST, QAttn-CNN performs at the peak of 99% accuracy, comparable to classical benchmarks but with greatly diminished computational overhead due to quantum parallelism. This study demonstrates the revolutionary potential of quantum-assisted deep learning in healthcare applications, especially for real-world binary medical image classification problems that identify malignant vs. benign skin lesions.
Skin cancer identification and categorization are still open issues in medical image analysis due to ambiguous boundaries, variance in shapes, and strong similarities to non-malignant lesions, which must be acknowledged by any framework supporting the clinical decision making. The proposed Quantum-Enhanced Deep Learning Framework (QDLF) is a new approach that combines Quantum feature encoding and Classical deep learning networks for skin lesion classification. Hereby, the QDLF is compared with the traditional models such as ResNet50, DenseNet, and VGG-16 showing a better performance on the HAM10000 dataset containing 10,015 dermoscopic images with seven lesion categories. Therefore, higher accuracy was achieved in the proposed framework at an accuracy level of 96.2% with F1-score 95.1% and ROCAUC value of 0.983 as compared to classical approaches. The QDLF uses quantum feature mappings with Variational Quantum Circuits (VQCs) that enables the model to learn abstract non-linear patterns and it incorporates global contextual features from pre-trained CNNs. The use of a mixture of CNN and FNN in this study not only improves the classification efficiency but also cuts down the time taken to train and the number of parameters involved, getting to a convergence point in 36 minutes with 18.5 million of parameters. To further enhance the interpretability of the model, Grad-CAM visualization is employed to identify clinically significant areas of the lesions as well as t-SNE plots showing good distinction in the quantum features space. The findings affirm the effectiveness of QDLF as a method for addressing class imbalance issues, with precision and recall for key classes such as melanoma at 92.7% and 94.1% respectively. Quantum-classical hybrid frameworks presented in this work reveal the uniqueness of the approach to medical image analysis in terms of scalability and applicability to real-life cases. Further studies will focus on implementation on quantum platforms and generalization of this approach to other image processing tasks in medicine.
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
Introduction: Medical image classification is a crucial task in cancer diagnosis, relying on the accurate analysis of high-dimensional imaging data. While Convolutional Neural Networks (CNNs) have shown great success in this domain, their performance is often limited by the shallow feature expressiveness and overfitting, particularly in small or heterogeneous datasets. Methods: Quantum machine learning offers new opportunities through high-dimensional representations and nonlinear transformations. In this work, we propose a Quantum-Enhanced Sandwich Convolutional Neural Network (QSCNN), a layered hybrid architecture that integrates quantum and classical modules. The model employs a quanvolutional layer for localized quantum feature extraction, followed by conventional convolution and pooling for hierarchical representation learning, and a variational quantum classifier for nonlinear decision-making. Results: QSCNN achieved higher accuracy and training stability than classical CNNs and QCCNN baselines across three medical imaging tasks.: brain tumor MRI, skin cancer dermoscopy, and lung cancer CT. Circuit depth analysis revealed a trade-off between expressiveness and robustness, and additional experiments with depolarizing noise confirmed the model’s resilience under realistic quantum error conditions. Discussion: This suggests that circuit design choices influence hybrid model behavior and generalization, supporting the feasibility of quantum-enhanced methods for small-sample medical imaging. However, the current evaluation is limited to relatively small benchmark datasets, and broader validation on large-scale data will be essential to confirm clinical applicability. Conclusion: In summary, QSCNN presents a feasible hybrid framework for enhancing medical image classification with quantum features. While preliminary, our results suggest potential advantages in accuracy and stability under NISQ conditions.
Integrating quantum algorithms with machine and deep learning models has emerged as a promising method for addressing medical image classification challenges. This integration can enhance speed and efficiency when performing complex computations. However, hybrid quantum models, particularly on Quantum Convolutional Neural Networks (QCNNs) face two significant drawbacks: the placement of the quantum convolutional layer before the model architecture and the lack of integration of the quantum layer within the training process. These disadvantages reduce the robustness and reproducibility of the models. This study proposes that integrates the quantum layer into the quantum layer to address these shortcomings. We present a comparative analysis between a hybrid quantum deep learning model, which includes a trainable quantum layer, and its classical counterpart for the classification of skin cancer dermatoscopic images. The hybrid model attains 0.7865 of accuracy, a recall of 0.7321, a precision of 0.7268, and an F1 Score of 0.7288, while the classical model reaches an accuracy, recall, precision, and F1 Score of 0.8510, 0.8472, 0.8495, and 0.8447. The hybrid model achieves comparable results to its classical counterpart and demonstrates the advantages of weight adjustment in quantum layers and their potential in improving medical imaging analysis.