Abstract
Machine learning is an exciting area where ever-growing problems such as anomaly detection using sensor data, natural language processing, image processing, etc., are solved using complex yet fascinating algorithms. Such algorithms learn the function that maps input to output from the training examples. The algorithms are evaluated with the validation data and then used to predict the output for an unknown dataset. For the past few years, scholars have been researching to improve such classical machine learning algorithms using quantum computing. Some of the latest research is the optimization of computationally expensive algorithms with quantum computing and transforming stochastic procedures into the semantics of quantum theory. The quest for the learning-based algorithm is aspiring: the discipline seeks to comprehend what learning is and studies how algorithms approximate learning. Quantum machine learning takes these aspirations further by looking at the subatomic level to aid learning. Machine learning-based algorithms minimize a constrained multivariate function. Different algorithms have different hyper-parameters that need to be tuned for the trained model to generalize well. Such optimization has high time and space complexity, which is central to learning theory. This contribution gives an organized overview of the evolving arena of quantum machine learning. It presents the methods as well as practical details. We start this chapter by introducing the major components of Quantum Computers, where we provide an overview of quantum computing with an in-depth explanation of the superposition of state, which will be crucial for all quantum algorithms. Next, we exploit a fascinating phenomenon called entanglement in quantum computations. Parallelism is the key to speeding up the training process of learning algorithms. One of the significant advantages of quantum computing is quantum parallelism which we will explore through Grover's search algorithm. Next, we go over the learning mechanism of a traditional machine learning algorithm, namely a Support Vector Machine (SVM) trained on classical computers. Furthermore, we exploit the Quantum SVM (QSVM) trained on quantum computers. Finally, we solve the famous malignant breast cancer classification problem using the quantum SVM algorithm. We study various simulations in Python language on the mentioned dataset to analyze their time complexity and performances on standard evaluation metrics, namely accuracy, precision, recall, and F1-score. Two simulations are conducted using classical machine learning algorithms using the Python library Scikit-learn. Finally, the last simulation is based on IBM's real quantum computer using its quantum machine learning library called Qiskit.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
R.P. Feynman, Simulating physics with computers. Int. J. Theor. Phys. 21(6), 467–488 (1982)
D. Deutsch, Quantum theory, the Church-Turing principle and the universal quantum computer. Proc. R. Soc. A 400(1818), 97–117 (1985)
P. Shor, Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM J. Comput. 26, 1484 (1997)
L.K. Grover, A fast quantum mechanical algorithm for database search, in Proceedings of STOC0-96, 28th Annual ACM Symposium on Theory of Computing (1996), pp. 212–219
D. Bacon, W. van Dam, Recent progress in quantum algorithms. Commun. ACM 53(2), 84–93 (2010)
C. Bennett, E. Bernstein, G. Brassard, U. Vazirani, Strengths and weaknesses of quantum computing. SIAM J. Comput. 26(5), 1510–1523 (1997)
C.C. McGeoch, C. Wang, Experimental evaluation of anadiabiatic quantum system for combinatorial optimization, in Proceedings of CF-13, ACM International Conference on Computing Frontiers (2013), pp. 23:1–23:11.
T.F. Rønnow, Z. Wang, J. Job,S. Boixo, S.V. Isakov, D. Wecker, J.M. Mar-tinis, D.A. Lidar, M. Troyer, Defining and detecting quantum speedup (2014). arXiv:1401.2910
P. Bruza, R. Cole, Quantum logic of semantic space: An ex-ploratory investigation of context effects in practical reasoning, in We Will Show Them: Essays in Honour of Dov Gabbay, ed. by S. Arte-mov, H. Barringer, A.S. d’Avila Garcez, L. Lamb, J. Woods (College Publications, 2005)
D. Aerts, M. Czachor, Quantum aspects of semantic analysis and symbolic artificial intelligence. J. Phys. A Math. Gen. 37, L123–L132 (2004)
J. Sun, B. Feng, W. Xu, Particle swarm optimization with particles having quantum behavior, in Proceedings of CEC-04, Congress on Evolutionary Computation, vol. 1 (2004), pp. 325–331
A. Tipsmark, R. Dong, A. Laghaout, P. Marek, M. Ježek, U.L. Andersen, Experimental demonstration of a Hadamard gate for coherent state qubits. Phys. Rev. A 84(5), 050301 (2011)
V. Havlíček, A.D. Córcoles, K. Temme, A.W. Harrow, A. Kandala, J.M. Chow, J.M. Gambetta, Supervised learning with quantum-enhanced feature spaces. Nature 567(7747), 209–212 (2019)
https://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+(diagnostic)
J. Soni, N. Prabakar, H. Upadhyay, Visualizing high-dimensional data using t-distributed stochastic neighbor embedding algorithm, in Principles of Data Science (Springer, Cham, 2020), pp. 189–206
J. Soni, N. Prabakar,KeyNet: enhancing cybersecurity with deep learning-based LSTM on keystroke dynamics for authentication, in Intelligent Human Computer Interaction. IHCI 2021. Lecture Notes in Computer Science, vol. 13184, ed. by J.H. Kim, M. Singh, J. Khan, U.S. Tiwary, M. Sur, D. Singh (Springer, Cham, 2022). https://doi.org/10.1007/978-3-030-98404-5_67
J. Soni, N. Prabakar, H. Upadhyay. Behavioral analysis of system call sequences using LSTM Seq-Seq, cosine similarity and jaccard similarity for real-time anomaly detection, in 2019 International Conference on Computational Science and Computational Intelligence (CSCI) (IEEE, Dec. 2019), pp. 214–219
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this chapter
Cite this chapter
Soni, J., Prabakar, N., Upadhyay, H. (2023). Quantum Computing-Enabled Machine Learning for an Enhanced Model Training Approach. In: Pandey, R., Srivastava, N., Singh, N.K., Tyagi, K. (eds) Quantum Computing: A Shift from Bits to Qubits. Studies in Computational Intelligence, vol 1085. Springer, Singapore. https://doi.org/10.1007/978-981-19-9530-9_12
Download citation
DOI: https://doi.org/10.1007/978-981-19-9530-9_12
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-9529-3
Online ISBN: 978-981-19-9530-9
eBook Packages: EngineeringEngineering (R0)