Abstract

Quantum Computer is a computer machine using principles of quantum mechanics in doing its computation. The Quantum Computer Machine itself is still in the development stage and has not been deployed yet, however TensorFlow provides a library for hybrid quantum-classical machine learning called TensorFlow Quantum (TFQ). One of the quantum computing models is the Quantum Neural Network (QNN). QNN is adapted from classical neural networks capable of processing qubit data and passing quantum circuits. QNN is a machine learning model that allows quantum computers to classify image data. The image data used is classical data, but classical data cannot reach a superposition state. So in order to carry out this protocol, the data must be readable into a quantum device that provides superposition. QNN uses a supervised learning method to predict image data. Quantum Neural Network (QNN) with a supervised learning method for classifying handwritten numeric image data is implemented using a quantum computer circuit simulation using the Python 3.6 programming language. The quantum computer circuit simulation is designed using library Cirq and TFQ. The classification process is carried out on Google Colab. The results of training on the QNN model obtained a value of 0.337 for the loss value and 0.3427 for the validation loss value. Meanwhile, the hinge accuracy value from the training results is 0.8603 for the hinge accuracy value with training data and 0.8669 for the hinge accuracy validation value. Model testing is done by providing 100 handwritten number images that are tested, with 53 image data of number three and 47 image data of number six. The results obtained for the percentage of testing accuracy are 100% for the number three image and 100% for the number six image. Thus, the total percentage of testing is 100%.

Highlights

  • Quantum Computer is a computer machine which uses quantum mechanics for doing its computation [10], [11]

  • The Quantum Computer Machine itself is still in the development stage and has not been deployed yet, TensorFlow provides a library for hybrid quantum-classical machine learning called TensorFlow Quantum (TFQ)

  • Quantum Neural Network (QNN) is adapted from classical neural networks capable of processing qubit data and passing quantum circuits

Read more

Summary

INTRODUCTION

Quantum Computer is a computer machine which uses quantum mechanics for doing its computation [10], [11]. One model of quantum computing is quantum neural network (QNN). QNN is adapted from classical neural network which is able to proceed qubit data and surpass quantum circuit. QNN is a machine learning model that allows quantum computers to classify image data. QNN uses a supervised learning method to predict image data [7], [9]. Based on the background above, the following problems are formulated: How to implement the supervised learning method to classify handwritten numeric image data in the Quantum Neural Network (QNN) model in order to achieve a superposition state?. The paper focuses on implementing the quantum neural network (QNN) by using supervised learning method in order to classify numeric handwritten data image. QNN is modelled by using computer quantum simulator circuit which is designed by making use of python-based library Cirq and TFQ.

RESEARCH METHODOLOGY
Preprocessing Data
Results of Model Training
Results of Model Testing
10. Answer
Findings
CONCLUSION
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call