Performance Evaluation of a Variational Quantum Classifier

Quantum Machine Learning (QML) is a newly emerging research area at the intersection of classical machine learning (CML) and quantum computing (QC). Data is becoming voluminous rapidly, so it is challenging for classical computers to train Machine Learning (ML) models over massive datasets. The hope is that quantum physics' intrinsic features, such as entanglement, superposition, and interference, could be exploited as resources for training ML models on big datasets that would otherwise be relatively impossible for classical computers. It is theoretically proven that quantum computers have an exponential-time advantage over their classical counterparts in solving several problems, e.g., complex large dimensional matrix multiplication, factorization problem, unstructured database search, etc. QML models attempt to find a quantum advantage over their classical counterparts. Variational Quantum Classifiers (VQC) are hybrid quantum neural networks to perform the task of classification using QML models. VQC models in the present NISQ (Noisy Intermediate Scale Quantum — 50 to 100 qubits) era can produce comparable and even better results than Classical models. In this article, we examined the performance of a VQC while performing a simple binary classification task. In this article, we use a VQC to evaluate this method's performance empirically. We constructed a VQC to predict the label of fresh input for the typical Iris dataset comprising pairings of target outputs and training inputs. Our quantum classifier can reasonably predict species labels using only four qubits. These levels are fairly good compared to the accuracy levels attained by classical classifiers.