Accurate prediction of cancer type and primary tumor site is critical for effective diagnosis, personalized treatment, and improved outcomes. Traditional models struggle with the complexity of genomic and clinical data, but quantum computing offers enhanced computational capabilities. This study develops a hybrid quantum-classical transformer model, incorporating quantum attention mechanisms via variational quantum circuits (VQCs) to improve prediction accuracy. Using 30,000 anonymized cancer samples from the Genome Warehouse (GWH), data preprocessing included cleaning, encoding, and feature selection. Classical self-attention modules were replaced with quantum attention layers, with classical data encoded into quantum states via amplitude encoding. The model, trained using hybrid backpropagation and quantum gradient calculations, outperformed the classical transformer model, achieving 92.8% accuracy and an AUC of 0.96 compared to 87.5% accuracy and an AUC of 0.89. It also demonstrated 35% faster training and 25% fewer parameters, highlighting computational efficiency. These findings showcase the potential of quantum-enhanced transformers to advance biomedical data analysis, enabling more accurate diagnostics and personalized medicine.
Accurate prediction of cancer type and primary tumor site is critical for effective diagnosis, personalized treatment, and improved outcomes. Traditional models struggle with the complexity of genomic and clinical data, but quantum computing offers enhanced computational capabilities. This study develops a hybrid quantum-classical transformer model, incorporating quantum attention mechanisms via variational quantum circuits (VQCs) to improve prediction accuracy. Using 30,000 anonymized cancer samples from the Genome Warehouse (GWH), data preprocessing included cleaning, encoding, and feature selection. Classical self-attention modules were replaced with quantum attention layers, with classical data encoded into quantum states via amplitude encoding. The model, trained using hybrid backpropagation and quantum gradient calculations, outperformed the classical transformer model, achieving 92.8% accuracy and an AUC of 0.96 compared to 87.5% accuracy and an AUC of 0.89. It also demonstrated 35% faster training and 25% fewer parameters, highlighting computational efficiency. These findings showcase the potential of quantum-enhanced transformers to advance biomedical data analysis, enabling more accurate diagnostics and personalized medicine.
Brain tumor image classification is an essential pre-processing task for tumor diagnosis and treatment planning. In medical imaging, quantum computing analyse medical imaging data, offering potential speedups and new representations compared to classical methods. The brain images are transformed through resizing and normalization to a uniform 32 × 32 × 3 resolution. Subsequently, these processed images are converted into vectors to enable encoding into quantum states. The feature set is reduced using Principal Component Analysis (PCA) to ensure compatibility with the restricted qubit count in the quantum circuits. Through amplitude encoding, these vectors are mapped to quantum states, allowing for a compact and efficient data representation within the quantum domain. A parameterized Variational Quantum Circuit(VQC), consisting of entangling gates and trainable rotations, processes the encoded quantum states to learn features that can effectively discriminate between classes. The loss is calculated from the measured expectation values of Pauli-Z observables and optimized using classical gradient descent, where the objective function is the mean squared error. The trained quantum model is designed for multi-class classification, specifically distinguishing between meningioma, glioma tumors, pituitary tumors, and the absence of a tumor. The outcome of this proposed work demonstrates the VQC’s advantage over classical baselines, including Random Forest, and Support Vector Machine (SVM) and Multi-Layer Perceptron (MLP). The VQC achieved the highest accuracy of 95% and the best robustness (Specificity 0.983). Crucially, the VQC accomplished this using only 24 trainable parameters, showcasing a significant increase in parameter efficiency compared to the classical models. The novelty of this work is the quantitative demonstration that a custom-designed, resource-efficient quantum model can outperform established classical deep learning methods in both performance and efficiency for complex medical image classification. The VQC provides a 3.5-fold gain in parameter efficiency, achieving the highest accuracy of 95% using only 24 trainable parameters. This efficiency is enabled by the novel application of amplitude encoding to the medical images, which compresses 16 features into just 4 qubits. The VQC demonstrates robustness vital for medical diagnostics, achieving a Specificity of 0.983. Its shallow architecture is also NISQ-friendly and remains stable by avoiding the Barren Plateau issue (Gradient Norm: 0.11), validating the path toward quantum advantage in diagnostic tools. The results of this approach highlight the potential amplitude encoding in quantum machine learning, as a feasible and effective method for classifying real-world medical images. This work also opens avenues for future hybrid quantum-classical diagnostic systems that could utilize richer quantum state encodings for significant gains in computational efficiency and accuracy.
Early diagnosis is a critical issue in breast cancer treatment, as clinical diagnostic data is complex and nonlinear, and it is one of the top killers among women globally. In biomedical data, particularly with high dimensionality, traditional machine learning models frequently fall short due to challenges like over fitting, high computational cost, and limited ability to make accurate predictions. This study suggests a Hybrid Quantum Machine Learning model combining the Quantum Support Vector Machines (QSVM) and Variational Quantum Circuits (VQC) to enhance the classification and prediction of breast cancer accurately overcoming these challenges. A Breast Cancer Wisconsin Diagnostic Dataset was used for evaluation consisting of 569 clinical samples and 30 diagnostic features. For efficient quantum encoding, Principal Component Analysis was used to retain almost 95% of the variance with only 10 components. Results showed that the Z quantum feature map yielded 94.7% classification accuracy and the proposed Hybrid QSVM–VQC framework provided an accuracy of around 97.8% with the ROC–AUC almost reaching 1.00. The results highlight the great potential of hybrid quantum learning in the fields of diagnostic accuracy, nonlinear feature representation, and clinical prediction reliability.
Gliomas are the most prevalent malignant primary brain tumors and present diagnostic challenges due to varying survival rates and treatment responses between low-grade gliomas (LGGs) and high-grade gliomas (HGGs). Accurate classification is crucial for effective treatment and prognosis. While classical AI methods have shown promise in glioma classification, the growing volume of medical data, inherent noise, and limitations of classical vector spaces present significant challenges. However, quantum computing-based AI methods have the potential to process data in parallel by leveraging quantum properties such as superposition and entanglement, analyze higher-dimensional data more efficiently, and solve certain problems that classical methods struggle with more rapidly and effectively. This study introduces a novel hybrid classical and quantum computing model to distinguish LGGs from HGGs using data from The Cancer Genome Atlas (TCGA). In the classical part, an ensemble feature selection method was employed to identify the most informative molecular markers and clinical features in the TCGA. In the quantum component, six variational quantum classifier (VQC) models with varying hyperparameters were evaluated. These classifiers utilize selected features to differentiate LGGs from HGGs. Among these, the VQC-1 model, which employs Rx and CX gates in the feature map and Ry,Rz and CY gates in the parameterized quantum circuit, achieved the highest classification accuracy of 0.74 using the AQCD optimization method. Additionally, VQC-1 identified IDH1, age at diagnosis, PTEN, EGFR, and ATRX, in descending order of importance, as the most informative features distinguishing LGGs from HGGs. Compared to classical machine learning models, VQC-1 demonstrated performance comparable to that of XGBoost and GBM, while outperformed KNN, SVC, DTC, and RFC in five-fold cross-validation experiments. This study provides a novel perspective on glioma classification by integrating classical and quantum computing, offering valuable insights into hybrid computational approaches.
Accurate and timely diagnosis of breast cancer greatly improves treatment effectiveness and patient survival. In this work, we have suggested a quantum-classical framework for breast cancer classification. The pipeline starts with Principal Component Analysis (PCA) to preserve 90-95% of the dataset variance. Then feature selection is done with Random Forest and Recursive Feature Elimination, retaining the top 10 strongest features. The features are normalized and fed to a Variational Quantum Circuit (VQC) Classifier built with the Pennylane library. The VQC employs a parameterized quantum circuit (PQC) with multiple rotation gates and entanglement layers and is run over a simulator. The experimental results demonstrate that the VQC attained a classification test accuracy of 96.49% and AUC-ROC of 0.9985 over the test set. The model has produced robust generalization performance, shown by its excellent performance over unknown data. Results indicate that the VQC competes with the benchmarked classical models and has potential benefits in terms of applicability and scalability to healthcare applications in terms of accuracy. This work emphasizes the synergy of classical preprocessing and quantum classification in designing efficient and interpretable healthcare applications.
Cancer prognosis prediction faces challenges such as complex multimodal data and computational inefficiencies, leading to delayed clinical decisions. This paper proposes a novel hybrid quantum-classical neural network (HQNN) framework for enhanced predictive analytics in oncology. By integrating quantum variational circuits with classical convolutional neural networks (CNN) and real-time multimodal data (genomic and imaging), the framework achieves classification accuracy of 92. 5 %, outperforming traditional CNNs (80.5 %) and deep neural networks (DNNs, 85.5%) in the TCGA dataset. The methodology includes data preprocessing, quantum feature encoding, and real-time prediction. Tested on 10,340 samples across 33 cancer types, the HQNN reduces inference time by 20 % and improves accuracy by 12 % over baselines. This work underscores the potential of QNNs to transform precision oncology, enabling faster and more accurate prognosis predictions to support clinical decision-making.
Lung cancer remains the leading cause of cancer-related mortality worldwide, with accurate subtype classification being critical for improving patient outcomes. Vision Transformers (ViTs) have recently advanced medical image analysis, but their integration with quantum computing remains underexplored, leaving a gap in leveraging quantum advantages for clinical applications. This study proposes a quantum-enhanced Vision Transformer (QViT) that embeds variational quantum circuits (VQCs) within attention and feed-forward layers to enrich feature learning. To assess robustness, two circuit families, Basic VQC and Quantum Approximate Optimization Algorithm (QAOA) based VQC, were evaluated across two depths, yielding four QViT configurations. The models were analyzed through cancer classification tasks, systematic quantum state tomography (QST) to examine quantum state properties, and noise resilience testing under realistic Noisy Intermediate-Scale Quantum (NISQ) conditions, reflecting current hardware limitations. On 3150 CT (Computed Tomography) images, the QViT-QAOA-D1 configuration achieved 98.52% accuracy with a training time of 674 s, outperforming other configurations. Quantum analyses further showed that Basic VQC provides stronger entanglement but requires deeper, less NISQ-friendly circuits, whereas QAOA maintains high-purity states at shallower depths. These results suggest that QViT provides a practical and scalable framework, where quantum-enhanced representations can improve diagnostic performance while remaining compatible with current hardware constraints. Future work will focus on validation using patient-level datasets and deployment on real quantum hardware to further assess clinical applicability and scalability.