Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

IJARCCE

Implement Quantum Machine Learning Classifier using MNIST Dataset

V.P. Hara Gopal, N Chandana, Hema Latha S, Padhma Priya M, Suhail Basha P

Published Apr 30, 2024• 0 citations
Publisher

Abstract

Quantum computers might be more potent than the normal classical computers and Supercomputers.Some of the specific applications like Quantum simulation, Cryptography, Optimization etc. Normal classical computers are worked based on the binary system (0,1) Whereas in the Quantum computers are worked as Quantum bit also termed as Qubit.Quantum computers use qubit, which can represent 0, 1, or any superposition of these states.This property enables quantum computers to process information in unique ways.The Qubit state can be 0&1 at the same time.When we observe that it can collapses into one of the possible states.We propose to implement the predictive capability of the Quantum Machine Learning (QML) classifier on the MNIST Handwritten Digits dataset.We deploy the model on the IBM Quantum computer using Qiskit.

DOI
10.17148/ijarcce.2024.134146

Related papers

MNIST quantum classification models implementation and benchmarking

Sirawit Butmaratthaya, Niti Buesamae, Unchalisa Taetragool

Quantum machine learning is a new field of study that aims to apply the advantages of quantum computing, such as superposition, which is one of the intriguing properties that could speed up computation, to machine learning. Like classical machine learning models, quantum machine learning models can learn from specific input data and perform specific prediction tasks. However, quantum machine learning models are currently in the form of quantum circuits with parameterizable gates. In this paper, the implementation of a quantum classification model is investigated using the two most well-known quantum machine learning development tools: Cirq with TensorFlow Quantum (TFQ) and Qiskit with PyTorch. The quantum classification circuit is trained to recognize images of handwritten digits using the MNIST dataset. However, because the quantum computer is still in development and is difficult to access and use, quantum simulators are the best alternative for the time being. The performance of the quantum classification model implemented by the two development tools is then compared in this paper experimentally using quantum simulators on two different hardware configurations. In addition, the experimental setups differ in the number of input qubits used to store the image’s classical pixel values. Finally, the wall time and CPU time used to run the training process, as well as classification accuracy, are examined. In terms of accuracy, Qiskit with PyTorch outperforms Cirq with TFQ only in the lower number of qubits but the results are similar in the higher number of qubits. The experiment results in terms of run-time are highly different. From the result, we find that Cirq is noticeably faster than Qiskit in every experiment by at least 90 times.

AIP conference proceedings•Jan 1, 2023•1 citation

Image Classification Based on Quantum Machine Learning

Haocheng Xiong, Xinyuan Duan, Yue Yu +2 more

Nowadays, using machine learning for image classification is very common. However, due to the increasing demand for data processing and fast computing, the idea of enhancing machine learning with quantum computing has been proposed, known as quantum machine learning (QML). Quantum machine learning has the advantages of higher efficiency and accuracy. Quantum computing uses quantum bits (qubits) for data storage and computing, where a qubit can represent quantum states |0〉and |1〉simultaneously, enabling the processing of information for two states simultaneously, which is unparalleled in classical computing. Moreover, quantum machine learning can handle more complex data and process data faster. In classical machine learning, the processing of large-scale data and complex problems often faces problems of high computational complexity and low algorithm efficiency. Quantum computing can handle multiple computing tasks simultaneously, achieving faster computing. Therefore, in some scenarios that require efficient computing, quantum machine learning may be the best choice. In this study, we simulated quantum circuits using Qiskit and built a hybrid quantum-classical neural network model using VQNet to classify MNIST handwritten digits and CIFAR-10 datasets. The experiments showed that quantum machine learning has the advantages of efficiency, accuracy, and security over classical machine learning, which may be an improvement over classical machine learning. This research proposes a machine learning algorithm based on quantum computing, which promotes the development of quantum computing and quantum technology. At the same time, it provides a new solution and idea for image classification, enabling people to pursue faster and more accurate quantum machine learning instead of being limited to classical machine learning.[1]

International Conference on Intelligent Control, Measurement and Signal Processing (ICMSP)•May 19, 2023•16 citations

A Classifiers Experimentation with Quantum Machine Learning

Chaiyaporn Khemapatapan, Thammanoon Thepsena, Aomduan Jeamaon

Quantum Computing is a new way to create a different type of computer system from Quantum Mechanics. Quantum machine learning is one of the applications took the benefit from qauntum computers. In this experiment, we use the IBM Qiskit library to study how well a quantum machine learning classifier works. We made two different colored dots to represent the two-class dataset. The quantum circuit can be collected from the Qiskit library. The 1stand 2ndorder feature map schemes operated by oracle quantum oracle functions are applied before making a classification. Finally, we can call the quantum support vector machine or QSVM function to classify data. Kernel matrix from the studied qauntum model shows that quantum computing can be used to clearly classify classes of the dataset with 100 percent accuracy.

International Electrical Engineering Congress (iEECON)•Mar 8, 2023•2 citations

Implementation of Quantum Support Vector Machine Algorithm Using a Benchmarking Dataset

The evolution of quantum computers and quantum machine learning (QML) algorithms have started demonstrating exponential speed-ups. In machine learning problems, the efficient handling and manipulation of linear algebra subroutines defines the complexity of the task to be performed. Quantum computers handle big datasets in the form of vectors and matrix operations very efficiently. In this paper, quantum support vector machine (QSVM) algorithm is used to solve a classification problem using a benchmarking MNIST dataset of handwritten images of digits. Quantum SVM variational and kernel matrix algorithms are implemented to analyze quantum speedup on quantum simulator and physical quantum processor back-ends. The study compared classical and quantum SVM algorithms in terms of execution time and accuracy. The results explicitly prove quantum speed-up achieved by quantum classifiers on quantum back-ends for machine learning applications.

Indian Journal of Pure & Applied Physics•Apr 28, 2022•23 citations

Towards a Quantum-Inspired Binary Classifier

Prayag Tiwari, Massimo Melucci

Machine Learning classification models learn the relation between input as features and output as a class in order to predict the class for the new given input. Several research works have demonstrated the effectiveness of machine learning algorithms but the state-of-the-art algorithms are based on the classical theories of probability and logic. Quantum Mechanics (QM) has already shown its effectiveness in many fields and researchers have proposed several interesting results which cannot be obtained through classical theory. In recent years, researchers have been trying to investigate whether the QM can help to improve the classical machine learning algorithms. It is believed that the theory of QM may also inspire an effective algorithm if it is implemented properly. From this inspiration, we propose the quantum-inspired binary classifier, which is based on quantum detection theory. We used text corpora and image corpora to explore the effect of our proposed model. Our proposed model outperforms the state-of-the-art models in terms of precision, recall, and F-measure for several topics (categories) in the 20 newsgroup text corpora. Our proposed model outperformed all the baselines in terms of recall when the MNIST handwritten image dataset was used; F-measure is also higher for most of the categories and precision is also higher for some categories. Our proposed model suggests that binary classification effectiveness can be achieved by using quantum detection theory. In particular, we found that our Quantum-Inspired Binary Classifier can increase the precision, recall, and F-measure of classification where the state-of-the-art methods cannot.

IEEE Access•Jan 1, 2019•58 citations

Quantum Text Classifier -- A Synchronistic Approach Towards Classical and Quantum Machine Learning

Prabhat Kumar Santi, Kamakhya Mishra, Sibabrata Mohanty

Although it will be a while before a practical quantum computer is available, there is no need to hold off. Methods and algorithms are being developed to demonstrate the feasibility of running machine learning (ML) pipelines in QC (Quantum Computing). There is a lot of ongoing work on general QML (Quantum Machine Learning) algorithms and applications. However, a working model or pipeline for a text classifier using quantum algorithms isn't available. This paper introduces quantum machine learning w.r.t text classification to readers of classical machine learning. It begins with a brief description of quantum computing and basic quantum algorithms, with an emphasis on building text classification pipelines. A new approach is introduced to implement an end-to-end text classification framework (Quantum Text Classifier - QTC), where pre- and post-processing of data is performed on a classical computer, and text classification is performed using the QML algorithm. This paper also presents an implementation of the QTC framework and available quantum ML algorithms for text classification using the IBM Qiskit library and IBM backends.

arXiv:2305.12783•May 22, 2023•2 citations
Quantum computers might be more potent than the normal classical computers and Supercomputers.Some of the specific applications like Quantum simulation, Cryptography, Optimization etc. Normal classical computers are worked based on the binary system (0,1) Whereas in the Quantum computers are worked as Quantum bit also termed as Qubit.Quantum computers use qubit, which can represent 0, 1, or any superposition of these states.This property enables quantum computers to process information in unique ways.The Qubit state can be 0&1 at the same time.When we observe that it can collapses into one of the possible states.We propose to implement the predictive capability of the Quantum Machine Learning (QML) classifier on the MNIST Handwritten Digits dataset.We deploy the model on the IBM Quantum computer using Qiskit.
Quantum machine learning is a new field of study that aims to apply the advantages of quantum computing, such as superposition, which is one of the intriguing properties that could speed up computation, to machine learning. Like classical machine learning models, quantum machine learning models can learn from specific input data and perform specific prediction tasks. However, quantum machine learning models are currently in the form of quantum circuits with parameterizable gates. In this paper, the implementation of a quantum classification model is investigated using the two most well-known quantum machine learning development tools: Cirq with TensorFlow Quantum (TFQ) and Qiskit with PyTorch. The quantum classification circuit is trained to recognize images of handwritten digits using the MNIST dataset. However, because the quantum computer is still in development and is difficult to access and use, quantum simulators are the best alternative for the time being. The performance of the quantum classification model implemented by the two development tools is then compared in this paper experimentally using quantum simulators on two different hardware configurations. In addition, the experimental setups differ in the number of input qubits used to store the image’s classical pixel values. Finally, the wall time and CPU time used to run the training process, as well as classification accuracy, are examined. In terms of accuracy, Qiskit with PyTorch outperforms Cirq with TFQ only in the lower number of qubits but the results are similar in the higher number of qubits. The experiment results in terms of run-time are highly different. From the result, we find that Cirq is noticeably faster than Qiskit in every experiment by at least 90 times.
Nowadays, using machine learning for image classification is very common. However, due to the increasing demand for data processing and fast computing, the idea of enhancing machine learning with quantum computing has been proposed, known as quantum machine learning (QML). Quantum machine learning has the advantages of higher efficiency and accuracy. Quantum computing uses quantum bits (qubits) for data storage and computing, where a qubit can represent quantum states |0〉and |1〉simultaneously, enabling the processing of information for two states simultaneously, which is unparalleled in classical computing. Moreover, quantum machine learning can handle more complex data and process data faster. In classical machine learning, the processing of large-scale data and complex problems often faces problems of high computational complexity and low algorithm efficiency. Quantum computing can handle multiple computing tasks simultaneously, achieving faster computing. Therefore, in some scenarios that require efficient computing, quantum machine learning may be the best choice. In this study, we simulated quantum circuits using Qiskit and built a hybrid quantum-classical neural network model using VQNet to classify MNIST handwritten digits and CIFAR-10 datasets. The experiments showed that quantum machine learning has the advantages of efficiency, accuracy, and security over classical machine learning, which may be an improvement over classical machine learning. This research proposes a machine learning algorithm based on quantum computing, which promotes the development of quantum computing and quantum technology. At the same time, it provides a new solution and idea for image classification, enabling people to pursue faster and more accurate quantum machine learning instead of being limited to classical machine learning.[1]
Quantum Computing is a new way to create a different type of computer system from Quantum Mechanics. Quantum machine learning is one of the applications took the benefit from qauntum computers. In this experiment, we use the IBM Qiskit library to study how well a quantum machine learning classifier works. We made two different colored dots to represent the two-class dataset. The quantum circuit can be collected from the Qiskit library. The 1stand 2ndorder feature map schemes operated by oracle quantum oracle functions are applied before making a classification. Finally, we can call the quantum support vector machine or QSVM function to classify data. Kernel matrix from the studied qauntum model shows that quantum computing can be used to clearly classify classes of the dataset with 100 percent accuracy.
The evolution of quantum computers and quantum machine learning (QML) algorithms have started demonstrating exponential speed-ups. In machine learning problems, the efficient handling and manipulation of linear algebra subroutines defines the complexity of the task to be performed. Quantum computers handle big datasets in the form of vectors and matrix operations very efficiently. In this paper, quantum support vector machine (QSVM) algorithm is used to solve a classification problem using a benchmarking MNIST dataset of handwritten images of digits. Quantum SVM variational and kernel matrix algorithms are implemented to analyze quantum speedup on quantum simulator and physical quantum processor back-ends. The study compared classical and quantum SVM algorithms in terms of execution time and accuracy. The results explicitly prove quantum speed-up achieved by quantum classifiers on quantum back-ends for machine learning applications.
Machine Learning classification models learn the relation between input as features and output as a class in order to predict the class for the new given input. Several research works have demonstrated the effectiveness of machine learning algorithms but the state-of-the-art algorithms are based on the classical theories of probability and logic. Quantum Mechanics (QM) has already shown its effectiveness in many fields and researchers have proposed several interesting results which cannot be obtained through classical theory. In recent years, researchers have been trying to investigate whether the QM can help to improve the classical machine learning algorithms. It is believed that the theory of QM may also inspire an effective algorithm if it is implemented properly. From this inspiration, we propose the quantum-inspired binary classifier, which is based on quantum detection theory. We used text corpora and image corpora to explore the effect of our proposed model. Our proposed model outperforms the state-of-the-art models in terms of precision, recall, and F-measure for several topics (categories) in the 20 newsgroup text corpora. Our proposed model outperformed all the baselines in terms of recall when the MNIST handwritten image dataset was used; F-measure is also higher for most of the categories and precision is also higher for some categories. Our proposed model suggests that binary classification effectiveness can be achieved by using quantum detection theory. In particular, we found that our Quantum-Inspired Binary Classifier can increase the precision, recall, and F-measure of classification where the state-of-the-art methods cannot.
Although it will be a while before a practical quantum computer is available, there is no need to hold off. Methods and algorithms are being developed to demonstrate the feasibility of running machine learning (ML) pipelines in QC (Quantum Computing). There is a lot of ongoing work on general QML (Quantum Machine Learning) algorithms and applications. However, a working model or pipeline for a text classifier using quantum algorithms isn't available. This paper introduces quantum machine learning w.r.t text classification to readers of classical machine learning. It begins with a brief description of quantum computing and basic quantum algorithms, with an emphasis on building text classification pipelines. A new approach is introduced to implement an end-to-end text classification framework (Quantum Text Classifier - QTC), where pre- and post-processing of data is performed on a classical computer, and text classification is performed using the QML algorithm. This paper also presents an implementation of the QTC framework and available quantum ML algorithms for text classification using the IBM Qiskit library and IBM backends.