A Comparative Study of Quantum Feature Maps and Quantum Classifiers for Heart Disease Prediction
Abstract
1. Introduction
1.1. Background and Motivation
1.2. Related Works
1.3. Research Gap
1.4. Prime Contribution
- Evaluating the efficiency of five feature map techniques, such as AE, AmE, BE, PE, and ZZFM, for transforming real-world clinical HD data into quantum states.
- Analyzing the performance of four QML models, namely QSVM, QKNN, QRF, and VQC, for predicting HD.
- Providing groundwork for deploying QML-oriented HD diagnosis on near-term quantum hardware by designing shallow and computationally manageable quantum circuits.
2. Materials and Methods
2.1. Dataset
2.2. Preprocessing and Visualization
2.3. Feature Optimization
2.4. Quantum Feature Map (QFM)
2.5. QML Model Construction
2.6. Model Assessment

2.6.1. Qubit Configuration, Computing Model, and Circuit Topology
2.6.2. Quantum Execution Setting and Hardware Considerations
3. Results and Discussion
4. Conclusions
5. Study Limitations and Future Research Directions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Tomasoni, D.; Adamo, M.; Lombardi, C.M.; Metra, M. Highlights in heart failure. ESC Heart Fail. 2019, 6, 1105–1127. [Google Scholar] [CrossRef]
- De Couto, G.; Ouzounian, M.; Liu, P.P. Early detection of myocardial dysfunction and heart failure. Nat. Rev. Cardiol. 2010, 7, 334–344. [Google Scholar] [CrossRef]
- Dangeti, P. Statistics for Machine Learning; Packt Publishing Ltd.: Birmingham, UK, 2017. [Google Scholar]
- Cerezo, M.; Verdon, G.; Huang, H.Y.; Cincio, L.; Coles, P.J. Challenges and opportunities in quantum machine learning. Nat. Comput. Sci. 2022, 2, 567–576. [Google Scholar] [CrossRef] [PubMed]
- Sahoo, P.K.; Jeripothula, P. Heart Failure Prediction Using Machine Learning Techniques. 2020. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3759562 (accessed on 17 May 2026).
- Mansur Huang, N.S.; Ibrahim, Z.; Mat Diah, N. Machine learning techniques for early heart failure prediction. Malays. J. Comput. (MJoC) 2021, 6, 872–884. [Google Scholar] [CrossRef]
- Newaz, A.; Ahmed, N.; Haq, F.S. Survival prediction of heart failure patients using machine learning techniques. Inform. Med. Unlocked 2021, 26, 100772. [Google Scholar] [CrossRef]
- Awan, S.E.; Bennamoun, M.; Sohel, F.; Sanfilippo, F.M.; Dwivedi, G. Machine learning-based prediction of heart failure readmission or death: Implications of choosing the right model and the right metrics. ESC Heart Fail. 2019, 6, 428–435. [Google Scholar] [CrossRef]
- Mamun, M.; Farjana, A.; Al Mamun, M.; Ahammed, M.S.; Rahman, M.M. Heart failure survival prediction using machine learning algorithm: Am I safe from heart failure? In 2022 IEEE World AI IoT Congress (AIIoT); IEEE: New York, NY, USA, 2022; pp. 194–200. [Google Scholar]
- Lorenzoni, G.; Sabato, S.S.; Lanera, C.; Bottigliengo, D.; Minto, C.; Ocagli, H.; De Paolis, P.; Gregori, D.; Iliceto, S.; Pisanò, F. Comparison of machine learning techniques for prediction of hospitalization in heart failure patients. J. Clin. Med. 2019, 8, 1298. [Google Scholar] [CrossRef]
- Pati, A.; Addula, S.R.; Panigrahi, A.; Sahu, B.; Nayak, D.S.K.; Dash, M. Artificial intelligence in improving disease diagnosis: A case study of cardiovascular disease prediction. In Artificial Intelligence in Medicine and Healthcare; CRC Press: Boca Raton, FL, USA, 2025; pp. 24–49. [Google Scholar]
- Verdone, A.; Succetti, F.; Ceschini, A.; Rosato, A.; Fioravanti, A.; Panella, M. A hybrid quantum-neural network for heart disease classification. Biomed. Signal Process. Control 2026, 113, 109185. [Google Scholar] [CrossRef]
- Banday, M.; Zafar, S.; Agarwal, P.; Alam, M.A.; Biswas, S.S.; Hussain, I.; Abubeker, K.M. Predictive analysis of heart disease using quantum-assisted machine learning. Discov. Appl. Sci. 2025, 7, 445. [Google Scholar] [CrossRef]
- Rath, M.; Date, H. Quantum data encoding: A comparative analysis of classical-to-quantum mapping techniques and their impact on machine learning accuracy. EPJ Quantum Technol. 2024, 11, 72. [Google Scholar] [CrossRef]
- Schetakis, N.; Aghamalyan, D.; Griffin, P.; Boguslavsky, M. Review of some existing QML frameworks and novel hybrid classical–quantum neural networks realising binary classification for the noisy datasets. Sci. Rep. 2022, 12, 11927. [Google Scholar] [CrossRef] [PubMed]
- Fedesoriano. Heart Failure Prediction Dataset. Kaggle. 2021. Available online: https://www.kaggle.com/fedesoriano/heart-failure-prediction (accessed on 17 May 2026).
- Kumar, M.; Bhardwaj, V. Evaluating Label Encoding and Preprocessing Techniques for Breast Cancer Prediction Using Machine Learning Algorithms. Int. J. Comput. Intell. Syst. 2025, 18, 218. [Google Scholar] [CrossRef]
- Denby, L.; Mallows, C. Variations on the histogram. J. Comput. Graph. Stat. 2009, 18, 21–31. [Google Scholar] [CrossRef]
- Hintze, J.L.; Nelson, R.D. Violin plots: A box plot-density trace synergism. Am. Stat. 1998, 52, 181–184. [Google Scholar] [CrossRef]
- Gu, Z.; Eils, R.; Schlesner, M. Complex heatmaps reveal patterns and correlations in multidimensional genomic data. Bioinformatics 2016, 32, 2847–2849. [Google Scholar] [CrossRef]
- Hossain, M.M.; Munir, A.; Habib, M.A.; Iqbal, M.S.; Hasan, M.M.; Rahman, M.M. Performance analysis of classical and quantum support vector machines for diagnosis of chronic kidney disease. Inform. Health 2025, 2, 179–193. [Google Scholar] [CrossRef]
- Hossain, M.M.; Rahim, M.A.; Bahar, A.N.; Rahman, M.M. Automatic malaria disease detection from blood cell images using the variational quantum circuit. Inform. Med. Unlocked 2021, 26, 100743. [Google Scholar] [CrossRef]
- Hossain, M.M.; Ali, M.S.; Swarna, R.A.; Hasan, M.; Habib, N.; Rahman, M.W.; Azad, M.M.; Rahman, M.M. Analyzing the effect of feature mapping techniques along with the circuit depth in quantum supervised learning by utilizing quantum support vector machine. In 2021 24th International Conference on Computer and Information Technology (ICCIT); IEEE: New York, NY, USA, 2021; pp. 1–5. [Google Scholar]
- Ovalle-Magallanes, E.; Alvarado-Carrillo, D.E.; Avina-Cervantes, J.G.; Cruz-Aceves, I.; Ruiz-Pinales, J. Quantum angle encoding with learnable rotation applied to quantum–classical convolutional neural networks. Appl. Soft Comput. 2023, 141, 110307. [Google Scholar] [CrossRef]
- Mitsuda, N.; Ichimura, T.; Nakaji, K.; Suzuki, Y.; Tanaka, T.; Raymond, R.; Tezuka, H.; Onodera, T.; Yamamoto, N. Approximate complex amplitude encoding algorithm and its application to data classification problems. Phys. Rev. A 2024, 109, 052423. [Google Scholar] [CrossRef]
- Bhabhatsatam, B.; Smanchat, S. Hybrid quantum encoding: Combining amplitude and basis encoding for enhanced data storage and processing in quantum computing. In 2023 20th International Joint Conference on Computer Science and Software Engineering (JCSSE); IEEE: New York, NY, USA, 2023; pp. 512–516. [Google Scholar]
- Riesebos, L.; Fu, X.; Varsamopoulos, S.; Almudever, C.G.; Bertels, K. Pauli frames for quantum computer architectures. In Proceedings of the 54th Annual Design Automation Conference 2017; Association for Computing Machinery: New York, NY, USA, 2017; pp. 1–6. [Google Scholar]
- Singh, N.; Pokhrel, S.R. Modeling quantum machine learning for genomic data analysis. IEEE Trans. Artif. Intell. 2025, 7, 2462–2477. [Google Scholar] [CrossRef]
- Ding, C.; Bao, T.Y.; Huang, H.L. Quantum-inspired support vector machine. IEEE Trans. Neural Netw. Learn. Syst. 2021, 33, 7210–7222. [Google Scholar] [CrossRef]
- Li, J.; Zhang, J.; Zhang, J.; Zhang, S. Quantum KNN classification with K value selection and neighbor selection. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 2023, 43, 1332–1345. [Google Scholar] [CrossRef]
- Khadiev, K.; Safina, L. The quantum version of random forest model for binary classification problem. In Proceedings of the CEUR Workshop Proc, Virtual, 19–20 August 2021; Volume 2842, pp. 30–35. [Google Scholar]
- Cerezo, M.; Arrasmith, A.; Babbush, R.; Benjamin, S.C.; Endo, S.; Fujii, K.; McClean, J.R.; Mitarai, K.; Yuan, X.; Coles, P.J.; et al. Variational quantum algorithms. Nat. Rev. Phys. 2021, 3, 625–644. [Google Scholar] [CrossRef]
- Sathyanarayanan, S.; Tantri, B.R. Confusion matrix-based performance evaluation metrics. Afr. J. Biomed. Res. 2024, 27, 4023–4031. [Google Scholar] [CrossRef]
- Mammadov, R. Heart Disease Prediction [Data Set]. Kaggle. 2022. Available online: https://www.kaggle.com/datasets/rashadrmammadov/heart-disease-prediction (accessed on 17 May 2026).
















| Method | Preprocessing | Feature Optimization | Model | Accuracy |
|---|---|---|---|---|
| Sahoo et al. [5] | Data normalization, categorical encoding | – | SVM | 85.2% |
| Huang et al. [6] | Missing values handled, normalization | – | RF | 88% |
| Newaz et al. [7] | Sampling strategy for imbalance correction | Chi-Square, RFE | RF | 76.83% (Gmean) |
| Awan et al. [8] | Class imbalance weighting | – | MLP | 0.62 (AUC) |
| Mamun et al. [9] | Categorical encoding, scaling | Feature correlation | LightGBM | 85%, |
| Lorenzoni et al. [10] | Missing data imputation | – | GLMN | 81.2% |
| Pati et al. [11] | missing-value imputation and normalization | SFS | RF | 97.06% |
| Verdone et al. [12] | One-hot encoding | RFE, Autoencoder | HQNN | 90.98% |
| Banday et al. [13] | Standardization, outlier rejection | Feature selection | quantum-assisted KNN-RF Ensemble | 99.96% |
| Feature | Description | Value Type | Unit | Categories |
|---|---|---|---|---|
| Age | Age of the patient | Numerical | Years | – |
| Sex | Sex of the patient | Nominal | – | M: Male, F: Female |
| ChestPainType | Type of chest pain experienced | Nominal | – | TA: Typical Angina ATA: Atypical Angina NAP: Non-Anginal Pain ASY: Asymptomatic |
| RestingBP | Resting blood pressure | Numerical | mm Hg | – |
| Cholesterol | Serum cholesterol level | Numerical | mg/dL | – |
| FastingBS | Fasting blood sugar level | Nominal | – | 1: if FastingBS > 120 mg/dL 0: otherwise |
| RestingECG | Resting electrocardiogram result | Nominal | – | Normal, ST (abnormal ST-T wave), LVH (left ventricular hypertrophy) |
| MaxHR | Maximum heart rate achieved | Numerical | bpm | Range: 60–202 |
| ExerciseAngina | Exercise-induced angina | Nominal | – | Y: Yes, N: No |
| Oldpeak | ST depression induced by exercise | Numerical | Depression value | – |
| ST_Slope | Slope of the peak exercise ST segment | Nominal | – | Up: Upsloping Flat: Flat Down: Downsloping |
| HeartDisease | Diagnosis of HD (Target) | Nominal | – | 1: HD 0: Normal |
| Model | Accuracy | Specificity | Sensitivity | Precision | F1-Score | Kappa | AUC |
|---|---|---|---|---|---|---|---|
| QSVM | 0.9026 | 0.8342 | 0.9216 | 0.8739 | 0.8968 | 0.7608 | 0.9300 |
| QKNN | 0.8913 | 0.8780 | 0.9020 | 0.9020 | 0.9020 | 0.7800 | 0.9072 |
| QRF | 0.6087 | 0.4390 | 0.7451 | 0.6230 | 0.6786 | 0.1886 | 0.6750 |
| VQC | 0.4348 | 0.4634 | 0.4118 | 0.4884 | 0.4468 | −0.122 | 0.4686 |
| Model | Accuracy | Specificity | Sensitivity | Precision | F1-Score | Kappa | AUC |
|---|---|---|---|---|---|---|---|
| QSVM | 0.7989 | 0.7317 | 0.8529 | 0.7982 | 0.8246 | 0.5896 | 0.8528 |
| QKNN | 0.8098 | 0.8049 | 0.8137 | 0.8384 | 0.8259 | 0.6164 | 0.8924 |
| QRF | 0.5761 | 0.2561 | 0.8333 | 0.5822 | 0.6855 | 0.0944 | 0.5592 |
| VQC | 0.6141 | 0.2805 | 0.8824 | 0.6040 | 0.7171 | 0.1725 | 0.5177 |
| Model | Accuracy | Specificity | Sensitivity | Precision | F1-Score | Kappa | AUC |
|---|---|---|---|---|---|---|---|
| QSVM | 0.8641 | 0.7561 | 0.9510 | 0.8739 | 0.8858 | 0.7200 | 0.9139 |
| QKNN | 0.8370 | 0.8537 | 0.8235 | 0.8750 | 0.8485 | 0.6724 | 0.8783 |
| QRF | 0.8533 | 0.8049 | 0.8922 | 0.8505 | 0.8708 | 0.7012 | 0.9091 |
| VQC | 0.6359 | 0.8537 | 0.4608 | 0.7966 | 0.5839 | 0.2991 | 0.7084 |
| Model | Accuracy | Specificity | Sensitivity | Precision | F1-Score | Kappa | AUC |
|---|---|---|---|---|---|---|---|
| QSVM | 0.8641 | 0.7317 | 0.9706 | 0.8182 | 0.8879 | 0.7186 | 0.8966 |
| QKNN | 0.8261 | 0.7805 | 0.8627 | 0.8302 | 0.8462 | 0.6463 | 0.8902 |
| QRF | 0.5489 | 0.2561 | 0.7843 | 0.5674 | 0.6584 | 0.0424 | 0.4867 |
| VQC | 0.5054 | 0.0000 | 0.9118 | 0.5314 | 0.6715 | −0.096 | 0.4737 |
| Model | Accuracy | Specificity | Sensitivity | Precision | F1-Score | Kappa | ROCAUC |
|---|---|---|---|---|---|---|---|
| QSVM | 0.7663 | 0.6220 | 0.8824 | 0.7438 | 0.8072 | 0.5160 | 0.8137 |
| QKNN | 0.7500 | 0.7683 | 0.7353 | 0.7979 | 0.7653 | 0.4988 | 0.8170 |
| QRF | 0.5326 | 0.4756 | 0.5784 | 0.5784 | 0.5784 | 0.0540 | 0.4961 |
| VQC | 0.8587 | 0.8902 | 0.8333 | 0.9043 | 0.8673 | 0.7167 | 0.8660 |
| Fold | Accuracy | Specificity | Sensitivity | Precision | F1-Score | Kappa | AUC |
|---|---|---|---|---|---|---|---|
| 1 | 0.9130 | 0.8537 | 0.9608 | 0.8909 | 0.9245 | 0.8223 | 0.9353 |
| 2 | 0.9163 | 0.8659 | 0.9118 | 0.8942 | 0.9029 | 0.7795 | 0.9348 |
| 3 | 0.9000 | 0.7927 | 0.9412 | 0.8496 | 0.8930 | 0.7436 | 0.9269 |
| 4 | 0.8837 | 0.8293 | 0.8824 | 0.8654 | 0.8738 | 0.7133 | 0.9345 |
| 5 | 0.9000 | 0.8293 | 0.9118 | 0.8692 | 0.8900 | 0.7455 | 0.9185 |
| Mean | 0.9026 | 0.8342 | 0.9216 | 0.8739 | 0.8968 | 0.7608 | 0.9300 |
| Method | Accuracy/Result | Cross-Validation | Multi-QFM Study | QML Support |
|---|---|---|---|---|
| Sahoo et al. [5] | 85.2% | x | x | x |
| Huang et al. [6] | 88% | x | x | x |
| Newaz et al. [7] | Gmean = 76.83% | x | x | x |
| Awan et al. [8] | AUC = 0.62 | x | x | x |
| Mamun et al. [9] | 85% | x | x | x |
| Lorenzoni et al. [10] | 81.2% | x | x | x |
| Pati et al. [11] | 97.06% | ✓ | x | x |
| Verdone et al. [12] | 90.98 | x | x | Fully |
| Banday et al. [13] | 99.96% | x | x | Partial |
| This research | 90.26% | ✓ | ✓ | Fully |
| QFM | Circuit Depth | Gate Complexity | State Preparation Complexity | Relative Power Cost |
|---|---|---|---|---|
| AE | Shallow | Low | Simple | Low |
| AmE | Deep | Very High | Very Complex | High |
| BE | Very Shallow | Very Low | Very Simple | Very Low |
| PE | Shallow | Moderate | Simple | Low |
| ZZFM | Moderate | High | Moderate | Medium |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Hossain, M.M.; Himal, M.H.H.; Munir, A. A Comparative Study of Quantum Feature Maps and Quantum Classifiers for Heart Disease Prediction. AI 2026, 7, 180. https://doi.org/10.3390/ai7050180
Hossain MM, Himal MHH, Munir A. A Comparative Study of Quantum Feature Maps and Quantum Classifiers for Heart Disease Prediction. AI. 2026; 7(5):180. https://doi.org/10.3390/ai7050180
Chicago/Turabian StyleHossain, Muhammad Minoar, Md. Hasibul Hassan Himal, and Arslan Munir. 2026. "A Comparative Study of Quantum Feature Maps and Quantum Classifiers for Heart Disease Prediction" AI 7, no. 5: 180. https://doi.org/10.3390/ai7050180
APA StyleHossain, M. M., Himal, M. H. H., & Munir, A. (2026). A Comparative Study of Quantum Feature Maps and Quantum Classifiers for Heart Disease Prediction. AI, 7(5), 180. https://doi.org/10.3390/ai7050180

