Comparative Study of Quantum and Classical Machine Learning Models in Binary Classification
Abstract
A potential path forward is Quantum Machine Learning (QML), which aims to leverage quantum computing in conjunction with classical machine learning to enhance computing efficiency and the expressiveness of models. In this paper, two different quantum classifiers - Variational Quantum Classifier (VQC) and Quantum Kernel Support Vector Machine (QSVM) - are compared with three classical classifiers as baseline classifiers - Logistic Regression, Support Vector Machine (SVM), and a Multi-Layer Perceptron (MLP) - on the Breast Cancer Wisconsin dataset. The quantum circuits were created in the PennyLane framework and simulated on a classical backend. However, in terms of accuracy, classical Logistic Regression performed better with an accuracy of 97.8%, classical SVM and QSVM with an accuracy of 95.6% each, although the Quantum VQC achieved a lower accuracy of 88.9% and had a recall of 100% for the benign class, though it correctly identified only 12 of the 17 malignant cases (a malignant-class recall of approximately 70.6%). The drawback of quantum models is the higher training time; however, since the quantum circuit needs to be classically simulated, the quantum SVM took 23.29 seconds compared to less than 0.01 seconds for the classical linear models. These results indicate that for small structured datasets, classifiers based on quantum computing have not yet surpassed well-tuned classical counterparts. In some respects (e.g., benign-class recall), they perform competitively, though not on malignant-class recall, where the VQC in particular performed worse than the classical baselines, which is worth further investigation on real quantum computers.
Create a lesson
Metadata
- Categories
- quant-ph, cs.LG
Related papers
Quantum incompressibility with a binary classical reference
Shared title terminologyquant-phWei Song, Xiao-Lan Zong
Hybrid Quantum--Classical Proximal Policy Optimization with Variational Quantum Circuits
Shared title terminologyquant-phSheng-Chieh Tseng, Samuel Yen-Chi Chen, Ying-Jer Kao
Adaptive Quantum Kernels for Small-Data Classification
Shared title terminologyquant-phDario Melegari, Alessandro Verri, Paolo Solinas
Ideal or classical? An IQP-based test for quantum processors
Shared title terminologyquant-phPetr Ptáček, Nur Keleşoğlu, Ryszard Kukulski
Quantum distance of large symmetry-sector codes equals a classical systole
Shared title terminologyquant-phJan Jakob
Compact Models of Charge and Spin Qubits for Quantum Computing and Hybrid Quantum-Classical Microwave Circuit Simulations
Shared title terminologyquant-phLorenzo Peri, Alberto Gomez-Saiz, M. Fernando Gonzalez-Zalba