New Trends in Quantum Machine Learning

New Trends in Quantum Machine Learning

New Trends in Quantum Machine Learning Lorenzo Buffoni1, 2 and Filippo Caruso1, 3 1Dipartimento di Fisica e Astronomia, Universit´adi Firenze, I-50019 Sesto Fiorentino, Italy 2Dipartimento di Ingegneria dell'Informazione, Universit´adi Firenze, I-50139 Firenze, Italy 3LENS, QSTAR and CNR-INO, I-50019 Sesto Fiorentino, Italy Here we will give a perspective on new possible interplays between Machine Learning and Quantum Physics, including also practical cases and applications. We will explore the ways in which machine learning could benefit from new quantum technologies and algorithms to find new ways to speed up their computations by breakthroughs in physical hardware, as well as to improve existing models or devise new learning schemes in the quantum domain. Moreover, there are lots of experiments in quantum physics that do generate incredible amounts of data and machine learning would be a great tool to analyze those and make predictions, or even control the experiment itself. On top of that, data visualization techniques and other schemes borrowed from machine learning can be of great use to theoreticians to have better intuition on the structure of complex manifolds or to make predictions on theoretical models. This new research field, named as Quantum Machine Learning, is very rapidly growing since it is expected to provide huge advantages over its classical counterpart and deeper investigations are timely needed since they can be already tested on the already commercially available quantum machines. I. INTRODUCTION trends of machine learning in the quantum domain, cov- ering all the main learning paradigms and listing some Machine learning (ML) [1{4] is a broad field of study, very recent results. Thus we will try to briefly define with multifaceted applications of cross-disciplinary the scope of each one of these ML domains, referring to breadth. ML ultimately aims at developing computer the literature for a complete overview of the specific top- algorithms that improve automatically through experi- ics. The three main classes of learning algorithms are the ence. The core idea of artificial intelligence (AI) tech- following ones: nology is that systems can learn from data, so as to • Supervised learning: In supervised learning identify distinctive patterns and make consequently de- [1, 33] one deals with an annotated dataset cisions, with minimal human intervention. The range of N f(xi; yi)gi=1. Each element xi is called an input applications of ML methodologies is extremely vast [5{ or feature vector. It can be the vector of pixel val- 8], and still growing at a steady pace due to the pressing ues of an image or a feature such as height, weight need to cope with the efficiently handling of big data [9]. and gender and so on. All input data xi of the Training and deployment of large-scale machine learn- same dataset share the same features (with differ- ing models faces computational challenges [10] that are ent values). The label yi it is the ground truth only partially met by the development of special purpose upon which we build the knowledge of our learn- classical computing units such as GPUs. This has led to ing algorithm. It can be a discrete class in a set of an interest in applying quantum computing to machine possible objects or a real number representing some learning tasks [11{15] and to the development of several property we want to predict, or even some complex quantum algorithms [16{19] with the potential to acceler- data structure. For example if we want to build ate training. Most quantum machine learning algorithms a spam classifier the labels will be yi = 1 (spam) need fault-tolerant quantum computation [20{22], which or yi = 0 (not spam). The goal of a supervised requires the large-scale integration of millions of qubits learning algorithm is to use the dataset to produce and is still not available today. It is however possible a model that, given an input vector x, can predict arXiv:2108.09664v1 [quant-ph] 22 Aug 2021 that quantum machine learning (QML) will provide the the correct label y. first breakthrough algorithms to be implemented on com- mercially available Noisy Intermediate Scale Quantum • Unsupervised learning: In unsupervised learn- (NISQ) devices [23{26]. Indeed, a number of interesting ing [34{36] the dataset is a collection of unlabeled N breaktrhoughs have alreasy been made at the interface of vectors fxigi=1. The goal of unsupervised learning Quantum Physics and Machine Learning [27]. For exam- is to take this input vector and extract some useful ple in many-body quantum physics Machine Learning has property from the single data or the overall data been successfully employed to speed up simulations [28], distribution of the dataset. Examples of unsuper- predict phases of matter [29] or find variational ansatz for vised learning are: clustering where the predicted many body quantum states [30]. Similarly in quantum property is the cluster assignment; dimensionality computation Machine Learning has been recently found reduction where the distribution of data is mapped success in quantum control [31] and to provide error cor- in a lower dimensional manifold; outlier detection rection [32]. where the property predicted is the 'typicality' of In this paper we will give our perspective on new possible the data with respect to its distribution; and gen- 2 erative models where we want to learn to gener- ate new points from the same distribution of the dataset. • Reinforcement learning: The ML subfield of reinforcement learning [5] assumes that the ma- chine 'lives' in an environment and can probe the state of the environment as a feature vector. The machine can perform different actions at different states bringing to different rewards. The goal of this machine (or agent) is to learn a policy/strategy. A policy is a function that associates to a partic- ular feature vector, representing the state of the environment, the best action to execute. The op- timal policy maximizes the expected average re- ward. Reinforcement learning has been widely em- ployed in scenarios where decision making and long- FIG. 1: Scheme of the various types of QML. The data to term goals are crucial, for example in playing chess, be processed can be either classical or quantum and the algo- controlling robots or logistics in complex environ- rithm that process the data itself can also be either classical ments. or quantum. That gives four possible combinations of algo- rithms, three of which (QQ, QC, CQ) usually fall under the Now it is important to point out that there is no rigor- umbrella of QML. ous universal definition of QML and instead it has as- sumed different meanings in the context where it has into a single qubit state jxi could be the following: been studied in literature. The main subjects are the data that can be either classical or quantum, and the al- RX (x)RY (θ3)RX (x)RY (θ2)RX (x)RY (θ1)RX (x) j0i −! jxi : gorithm used to perform ML on the data itself, which can (1) also be classical or quantum. One indeed can define four where RX and RY are rotation operator along the axes X macro categories of algorithms [37] as depicted in Fig.1, and Y , respectively, while the rotation angles fθ1; θ2; θ3g three of which are generally considered QML. There are are the trainable parameters of our learning model. Once N also a lot of gray areas where the algorithms are hybrid a dataset fxigi=1 is embedded, one can compute (using a 2 quantum-classical or only a subroutine or an optimiza- SWAP test) the overlaps j hxijxji j . Points (states) be- tion task is carried out by the quantum processor. An longing to the same class will have an overlap close to exhaustive list of all possible interplays between quantum 1 while points from different classes will have an overlap and classical ML algorithms is outside the scope of this close to 0, hence enabling the classification of the dataset. paper, so we will stick to this simplified representation The training can be done using software such as Penny- for the sake of clarity. lane [48] that computes the gradients of the parametric quantum gates. In Fig. 2 we show an embedding cir- cuit for an one-dimensional dataset that can be trained by small quantum processors with the circuit proposed II. SUPERVISED LEARNING above. In Ref. [49] we train an embedding of that dataset There are already in literature several examples of su- and test it with 10 validation points on a real quantum pervised learning applications for NISQ devices. For in- processor. The process has been carried out in the IBM stance, small gate-model devices and quantum annealers quantum platform using the Valencia QPU (Quantum have been used to perform quantum heuristic optimiza- Processing Unit) composed of 5 qubits. The number of tion [26, 38{42] and to solve classification problems [43{ samples was rather small, namely 100 samples per point. 46]. An interesting approach to classification was devised That is due to the queues to access the system and to the in Ref. [47], where classical data are embedded into a fact that we need to compute 100 overlaps to build the larger quantum (Hilbert) space describing the state of a Gram matrix for our 10 test points. As one can see in quantum system. The idea, which is similar in spirit to Fig. 3 our results [49], even if they contain some noise, classical Support Vector Machines (SVMs) [1], is to map are good and able to achieve a good classification bound- classical data into an high dimensional space where the ary between the two classes.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us