Path: blob/main/notebooks/summer-school/2021/lec5.1.ipynb
3855 views
Building a Quantum Classifier
In this lecture, Amira integrates everything presented in the previous lectures to perform Quantum Machine Learning. This talk gives a high level overview of what it means to build a quantum machine learning model via the presentation of a quantum classifier. Amira presents the limitations of this model, discusses whether it is advantageous compared to classical versions, and how to think about more interesting and complex models. After a small recap on the theoretical perfomances of quantum computing thanks to the properties of interference or exponential state space, Amira explains what we think of when talking about quantum machine learning: classical data that is somehow processed by a quantum computer.
Indeed, quantum machine learning takes place in the general framework of classical machine learning where we try to find any piece of calculation that is proven to have some kind of advantage when run on a quantum computer. The question now is to think of what can be done with our near-term quantum computers. This leads to the concept of variational models or ansatz that are quantum circuits containing trainable parameters. Amira then explains how this model can be used to build a quantum classifier. The goal is finally to train a quantum circuit on labelled samples in order to predict labels for new data. To do so, Amira explains in details during the rest of the lecture the different required steps: encode the classical data into a quantum state, apply a parameterized model, measure the circuit to extract labels and finally use optimization techniques like a quanutm equivalent of gradient descent to update model parameters. The lecture conlcudes on the discussion about the advantages of such techniques for present or future applications regarding the development of quantum computers.
Suggested links
Download the lecturer's notes here
Read IBM - Qiskit on Quantum Neural Networks
Read IBM - Qiskit on Neural Network Classifier & Regressor
FAQ
Other resources
Read Maria Schuld and Francesco Petruccione on Supervised Learning with Quantum Computers
Read Sim et al. on Expressibility and entangling capability of parameterized quantum circuits for hybrid quantum-classical algorithms
Read Havlíček et al. on Supervised learning with quantum-enhanced feature spaces
Read Schuld et al. on Circuit-centric quantum classifiers
Read Schuld et al. on The effect of data encoding on the expressive power of variational quantum machine learning models