Professional Documents
Culture Documents
Modeling of Supervised Machine Learning Using Mechanism of Quantum Computing
Modeling of Supervised Machine Learning Using Mechanism of Quantum Computing
bit. A Classical bit can be in either a 0 or 1 in state at time moment. A quantum computer
proposed new standard in terms of mechanism that is a quantum bit or ”qubit” instead of a
classical bit 0 and 1. A quantum bit will be in two states (0 and 1) at same time to represent
data, but bit will hold single state at a time moment and a qubit can take together states of 0
and 1 simultaneously at any one moment is called as superposition. In similar way, two qubits
in this state can provide the four state values of 00, 01, 10, and 11 all at one time and 3-qubit
can be in superposition of eight states such as (000,001......111). Bloch sphere is single qubit
representation as shown in Figure 1. Bloch sphere represents 1 qubit space in which electron
will spin in up position is activation state represented as 1 and electron spin in down position
will represented as 0. Sphere representation of Qubit is well known as the Bloch sphere, and
it will visualize the state of a single qubit. Figure 1 shows 1-qubit Bloch sphere representation
with real value amplitudes[16].
State |0i will be represented by,
1
0
and State |1i will be represented as
0
1
2
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
|0i qubit is superposition of the qubit two states together for 0 and 1 denoted by the addition
of the state vectors of 0 and 1 shown in Eq (1):
Ψ state represents superposition of 0 and 1. Ψ state will measured for multiple qubits as per
mechanism. Eq (1), (2), (3) represents 1qubit, 2qubit, 3qubit. 2- qubit state is represented in
following manner, four states and shown in Figure 2.
Eq. (1) in which α and β are the complex values. a n-qubit is superposition of ’n’ states at a
moment of time shown below in Eq(3).
3
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
on various interdisciplinary areas and their integration with quantum computing for complex
problem solution is discussed. [11][12] gives briefer on quantum tools and subroutines required
for supervised and unsupervised machine learning and also discussed about implementation
platform for it. [13] is elaboration optimization methods in the area of machine learning. [14] and
[15] discussed on state discrimination and robust control nature of universal quantum machines.
Peter wittek [16] and maria Schuld[17] these books highlights on classical-quantum approach of
machine learning with encoding techniques, variational circuits, quantum tools and subroutines
required for QML algorithm implementation. Machine learning methods comparison is well
discussed in both books in very well manner. [18] also brief on the theory of mechanism and its
use. Mathematical concepts are explained to understand quantum theory as well.
3. QML Benefits
Quantum computers will supercharge the classical machine learning algorithms. Quantum
computing will perform such tasks which classical computer cannot perform on operational
ability of machine. Quantum machine learning is capable to consider higher dimension feature
space such as n-dimensional feature space [2]. Classical machine learning can plot data on
multiple dimensions but it would take more time and sometimes it will fail on operational power
of system. Machine learning is well established on classical computers and researchers are still
working on improvement of ML algorithms. First section of paper briefs on quantum computing
concept qubit and quantum mechanisms such as superposition and entanglement. Next section
of the paper will do survey and comparison analysis of quantum machine learning and its need.
Classical machine learning has some computational difficulties in terms of operational methods
of classical computer. Proposed techniques in quantum computing domain will overcome
computational difficulties and represent data on very high dimensional feature space by making
use of quantum mechanisms. Quantum mechanics such as superposition and entanglement
will help to represent and process data on higher dimensional space which will make sense of
how quantum machine learning will reproduce better results over classical ml methodologies.
To understand quantum concept, we should be brief on following points: Quantum Qubit,
Superposition, Entanglement. The benefits of quantum computers motivate the standard by
introducing qubit or a quantum bit, the Quantum information called as Quantum bit. Single
number has 0 or 1 used to represent the state of a bit on a classical computer. Based upon above
literature review following points are identified as operation ability to classical machine could be
achieved using quantum hardware. Machine learning from quantum perspective will definitely
help to solve and optimize complex problem and get the solution or prediction in less time. Few
research papers are discussed about big data processing in quadratic time over classical models.
4
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
5
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
will be calculated and if required model processing will be updated. Figure 3 shows overview of
modeling Quantum classifier which will output class label as prediction [6]. Quantum classifier
on complex data points would be a great choice which requires complicated measurement to
study and learn behavior of data. [9]
6
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
as qubit state to the feature vector as shown. Like as dis-cussed in beginning section of
paper 2-qubit has four states into it such as 00, 01,10,11 and these is 2-D in size. In case
of amplitude encoding input, vector will be rotated along any one of the axis x, y, z and
particle behaviour will be tested and accordingly α state will be measured. This is very
import to encode data in quantum space for betterment of quantum data analysis.
Overall discussion focuses on how quantum learning will be time efficient and computationally
better over classical ml models. Various application such as Machine learning in data related
to molecular science, networking standards are used and quantum computing have proposed in
these specific domains. This rigorous survey is helping out to find research gap in quantum and
classical machine learning standard in some extent.
7
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
5.4.1. Uplaod data set and find the various features of it. In Section 5.1 paltform selection and
quantum cloud services are discussed. Quantum implementation of machine learning simulated
on IBM quantum platform using Python Language tool. Dataset mentioned in section 5.3 and
all features are selected.
5.4.2. Select the features of dataset and prepare feature set. Given dataset has four features.
All 4 features are taken and prepared feature set out of it. We can have ’n’ number of features.
5.4.3. Qubit selection and entanglement methods Number of qubits for simulation are depends
upon number of features selected. Those are discussed in section 5.4.2
5.4.4. Train model and provide sample train data. Train model for given dataset according to
the set standard of classical machine learning.
5.4.5. Apply various techniques to do encoding of data. Section 5.2 discussed on encoding
methods for classical to quantum conversion of data. Figure 6 in result analysis shows sample
train data.
5.4.6. Use quantum feature map techniques. There are various techniques used to make
quantum feature map which is encoding of data to represent in quantum space. as shown
in Figure 5 zzFeaturemap [19] is considered for feature map inplementation.
5.4.7. Design the quantum circuit for selected features. Figure 6 shows quantum circuit design
based upon selected features of given data.
8
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
points of further research and how quantum technology can be used to overcome the operational
ability of classical machine on several front would be proposed.
7. Conclusion
Quantum mechanics is used to build weird analysis for complex pattern generation in data.
Integration of Quantum computing and machine learning would help to solve complex machine
learning tasks. Quantum systems can generate complex patterns that are very hard to
generate on classical machines mechanism. But quantum systems can also learn and recognize
the patterns that can’t be recognized classically. Quantum ML can be built on many
other parameters such as hyperplane generation on high-dimensions feature space, multiclass
classification, faster vector generation, ML optimization. This domain integration also helps to
model unsupervised and reinforcement learning. This paper discussed how machine learning will
be modelled using quantum technology and discussed about articulation of quantum machine
learning using classical- quantum model for implementation based upon the available cloud
quantum services.
References
[1] Maria Schuld, Ilya Sinayskiya and Francesco Petruccionea 2014 An introduction to quantum machine learning
(Quantum Research Group, School of Chemistry and Physics, University of KwaZulu-Natal, Durban,
KwaZulu-Natal, 4001, South Africa )
[2] Vojtech Havlicek, Antonio D. Corcoles, Kristan Temme, Aram W. Harrow, Abhinav Kandala, Jerry M. Chow,
and Jay M. Gambetta 20018 Supervised learning with quantum enhanced feature spaces (IBM T.J. Watson
Research Center, Yorktown Heights, NY 10598, USA and Center for Theoretical Physics, Massachusetts
Institute of Technology, USA)
[3] Maria Schuld, Ryan Sweke, and Johannes Jakob Meyer 2020 The effect of data encoding on the
expressive power of variational quantum machine learning models ( Xanadu, Toronto, ON, M5G 2C8,
Canada Dahlem Center for Complex Quantum Systems, Freie Universitt Berlin, 14195 Berlin, Germany
arXiv:2008.08605v1)
[4] Samuel yen-chi chen, chao-han huck yang, jun qi, pin-yu chen, xiaoli ma and hsi-sheng goan 2020 Variational
Quantum Circuits for Deep Reinforcement Learning (IEEE Transactions on Information Theory, Digital
Object Identifier 10.1109/ACCESS.2020.3010470 )
[5] Somayeh Bakhtiari Ramezani; Alexander Sommers; Harish Kumar Manchukonda; Shahram Rahimi;Amin
Amirlatifi 2020 Machine Learning Algorithms in Quantum Computing: A Survey ( International Joint
Conference on Neural Networks (IJCNN) 978-1-7281-6926-2/20/ )IEEE
9
AICECS 2021 IOP Publishing
Journal of Physics: Conference Series 2161 (2022) 012023 doi:10.1088/1742-6596/2161/1/012023
[6] Ismael C. S. Araujo; Adenilton J. da Silva 2020 Quantum ensemble of trained classifiers (International Joint
Conference on Neural Networks (IJCNN) DOI: 10.1109/IJCNN48605.2020.9207488)
[7] Giuseppe Carleo, Ignacio Cirac, Kyle Cranmer, Laurent Daudet, Maria Schuld, Naftali Tishby, Leslie Vogt-
Maranto, and Lenka Zdeborová 2019 Machine learning and the physical sciences (Reviews of Modern
Physics. DOI: 10.1103/RevModPhys.91.04500. Rev. Mod. Phys. 91, 045002)
[8] M. Schuld, M. Fingerhuth and F. Petruccione 2019 Implementing a distance-based classifier with a quantum
interference circuit EPL, Volume 119, Number 6 DOI: 10.1209/0295-5075/119/60002
[9] Amira Abbas, Maria Schuld, Francesco Petruccione 2020 On quantum ensembles of quan-tum classifiers (
Springer Nature Switzerland AG 2020) doi:10.1007/s42484-020-00018-6
[10] Adriana Marais, Betony Adams, Andrew K. Ringsmuth, Marco Ferretti, J. Michael Gruber, Ruud Hendrikx,
Maria Schuld, Samuel L. Smith, Ilya Sinayskiy, Tjaart P. J. Kruger, Francesco Petruccione, and Rienk
van Grondelle 2017The future of quantum biology (Journal of Royal Society Interface) 15: 20180640.
http://dx.doi.org
[11] Farid Ablayev, Marat Ablayev, Joshua Zhexue Huang, Kamil Khadiev, Nailya Salikhova, and Dingming
Wu 2020 On Quantum Methods for Machine Learning Problems Part I: Quantum Tools” Big Data
Mining And Analytics (ISSN 2096-0654 ll04/06llpp 41 – 55 Volume 3, Number 1, March 2020 DOI:
10.26599/BDMA.2019.9020016)
[12] Farid Ablayev, Marat Ablayev, Joshua Zhexue Huang, Kamil Khadiev, Nailya Salikhova, and Dingming Wu
2020 On Quantum Methods for Machine Learning Problems Part II: Quantum Classification Algorithms”
Big Data Mining And Analytics ISSN 2096-0654 ll05/06llpp56–67 Volume 3, Number 1, March 2020 DOI:
10.26599/BDMA.2019.9020018
[13] Yangyang Li, Mengzhuo Tian, Guangyuan Liu, Cheng Peng, And Licheng Jiao 2020 Quantum Optimization
and Quantum Learning: A Survey (Digital Object Identifier 10.1109/ACCESS.2020)
[14] Marco Fanizza, Andrea Mari, and Vittorio Giovannetti 2019 Optimal Universal Learning Machines for
Quantum State Discrimination IEEE Transactions on Information Theory, VOL. 65, No. 9
[15] Daoyi Dong, Xi Xing, Hailan Ma, Chunlin Chen, Zhixin Liu, and Herschel Rabitz Zhixin Liu, and Herschel
Rabitz 1998 Learning-Based Quantum Robust Control: Algorithm, Applications, and Experiments (IEEE
Transactions on Cybernetics.)
[16] P. Wittek 2007 Quantum Machine Learning
[17] I. S. Maria Schuld and F. Petruccionea 2016 An introduction to quantum machine learning (Springer)
[18] E. Riefel and W. Polak 2007 Quantum Computing: A Gentle Introduction (Education)
[19] IBM Quantum Lab Website: https://lab.quantum-computing.ibm.com/ (Website)
10