In this paper, we present a performance comparison of machine learning algorithms executed on traditional and quantum computers. Quantum computing has potential of achieving incredible results for certain types of problems, and we explore if it can be applied to machine learning. First, we identified quantum machine learning algorithms with reproducible code and had classical machine learning counterparts. Then, we found relevant data sets with which we tested the comparable quantum and classical machine learning algorithm's performance. We evaluated performance with algorithm execution time and accuracy. We found that quantum variational support vector machines in some cases had higher accuracy than classical support vector machines on multi-class classification problems. The main conclusion was that quantum multi-class SVM classifiers have the potential to be useful in the future as quantum computer’s available number of qubits increases.
In this paper, we present a performance comparison of machine learning algorithms executed on traditional and quantum computers. Quantum computing has potential of achieving incredible results for certain types of problems, and we explore if it can be applied to machine learning. First, we identified quantum machine learning algorithms with reproducible code and had classical machine learning counterparts. Then, we found relevant data sets with which we tested the comparable quantum and classical machine learning algorithm's performance. We evaluated performance with algorithm execution time and accuracy. We found that quantum variational support vector machines in some cases had higher accuracy than classical support vector machines on multi-class classification problems. The main conclusion was that quantum multi-class SVM classifiers have the potential to be useful in the future as quantum computer’s available number of qubits increases.
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.
In recent years, quantum technology has been developing in several fields, including quantum computing. Quantum Computing (QC) is a type of computing that uses quantum bits (qubits) instead of classical bits to perform calculations. Unlike classical computers, which use binary logic (0s and 1s), quantum computers exploit quantum phenomena (such as superposition and entanglement), which are expected to bring advantages over traditional Machine Learning (ML). However, QC is still an emerging field, and further research is needed to fully understand its potential in ML. In this regard, for example, it is still unclear how QC compares with traditional ML in terms of stability and generalization. Starting from this consideration, this work intends to experimentally compare quantum and traditional ML. In particular, the classical Support Vector Machine (SVM), which belongs to the traditional ML approach, and a Quantum Support Vector Machine (QSVM), as Quantum Machine Learning (QML) approach (which combines quantum computing and machine learning through quantum properties), are applied to a specific case study related to electroencephalographic (EEG) data. The comparison was conducted on similar development environments to ensure comparable results from a measurement standpoint. The results highlight that there are some critical points involving the generalization ability of QML algorithms, possibly related to an appropriate and specific hyperparameter search.
Quantum computing has been proven to excel in factorization issues and unordered search problems due to its capability of quantum parallelism. This unique feature allows exponential speed-up in solving certain problems. However, this advantage does not apply universally, and challenges arise when combining classical and quantum computing to achieve acceleration in computation speed. This paper aims to address these challenges by exploring the current state of quantum machine learning and benchmarking the performance of quantum and classical algorithms in terms of accuracy. Specifically, we conducted experiments with three datasets for binary classification, implementing Support Vector Machine (SVM) and Quantum SVM (QSVM) algorithms. Our findings suggest that the QSVM algorithm outperforms classical SVM on complex datasets, and the performance gap between quantum and classical models increases with dataset complexity, as simple models tend to overfit with complex datasets. While there is still a long way to go in terms of developing quantum hardware with sufficient resources, quantum machine learning holds great potential in areas such as unsupervised learning and generative models. Moving forward, more efforts are needed to explore new quantum learning models that can leverage the power of quantum mechanics to overcome the limitations of classical machine learning.
Classical machine learning has practical significant advancements and extensive acceptance across various domains, enabling the growth of precise predictive models. The purpose of this work is to examine the accuracy gained by various machine learning algorithms, both classical and quantum. In addition, the study delves into the fundamental ideas and principles that form the backbone of quantum machine learning algorithms, such as quantum data representation, quantum feature mapping, and quantum optimization strategies. Experiments use classical machine learning models trained and tested on traditional hardware to measure evaluation metrics like classification accuracy, precision, recall, and F1-score for quantum machine learning models executed on quantum computing platforms or simulators. In quantum SVM, the seed dataset obtained 100% accuracy, and the supermarket dataset obtained 69% accuracy when compared to classical SVM. The findings imply that, under some conditions, quantum machine learning algorithms show the capacity to beat their conventional counterparts in terms of accuracy.
Quantum-enhanced techniques are widely employed to address machine learning difficulties. This work compares Support Vector Classifier (SVC) with Variational Quantum Classifier (VQC) on the Iris dataset, a typical machine learning benchmark. This study compares the performance, accuracy, and efficiency of two approaches: classical computing and quantum computing. The paper emphasizes the positive and negative aspects of each method, as well as practical data demonstrating quantum computing's potential for bettering machine learning tasks. This comparison offers helpful perspectives into the practical applications of quantum algorithms, providing an enhanced awareness of quantum machine learning's abilities and possibilities.
In this work, we studied the use of Quantum Machine Learning (QML) algorithms for binary classification and compared their performance with classical Machine Learning (ML) methods. QML merges principles of Quantum Computing (QC) and ML, offering improved efficiency and potential quantum advantage in data-driven tasks and when solving complex problems. In binary classification, where the goal is to assign data to one of two categories, QML uses quantum algorithms to process large datasets efficiently. Quantum algorithms like Quantum Support Vector Machines (QSVM) and Quantum Neural Networks (QNN) exploit quantum parallelism and entanglement to enhance performance over classical methods. This study focuses on two common QML algorithms, Quantum Support Vector Classifier (QSVC) and QNN. We used the Qiskit software and conducted the experiments with three different datasets. Data preprocessing included dimensionality reduction using Principal Component Analysis (PCA) and standardization using scalers. The results showed that quantum algorithms demonstrated competitive performance against their classical counterparts in terms of accuracy, while QSVC performed better than QNN. These findings suggest that QML holds potential for improving computational efficiency in binary classification tasks. This opens the way for more efficient and scalable solutions in complex classification challenges and shows the complementary role of quantum computing.