Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Quantum Machine Learning and Optimisation in Finance

You're reading from   Quantum Machine Learning and Optimisation in Finance Drive financial innovation with quantum-powered algorithms and optimisation strategies

Arrow left icon
Product type Paperback
Published in Dec 2024
Publisher Packt
ISBN-13 9781836209614
Length 494 pages
Edition 2nd Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jacquier Antoine Jacquier Antoine
Author Profile Icon Jacquier Antoine
Jacquier Antoine
Alexei Kondratyev Alexei Kondratyev
Author Profile Icon Alexei Kondratyev
Alexei Kondratyev
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Chapter 1 The Principles of Quantum Mechanics FREE CHAPTER 2. Part I Analog Quantum Computing – Quantum Annealing
3. Chapter 2 Adiabatic Quantum Computing 4. Chapter 3 Quadratic Unconstrained Binary Optimisation 5. Chapter 4 Quantum Boosting 6. Chapter 5 Quantum Boltzmann Machine 7. Part II Gate Model Quantum Computing
8. Chapter 6 Qubits and Quantum Logic Gates 9. Chapter 7 Parameterised Quantum Circuits and Data Encoding 10. Chapter 8 Quantum Neural Network 11. Chapter 9 Quantum Circuit Born Machine 12. Chapter 10 Variational Quantum Eigensolver 13. Chapter 11 Quantum Approximate Optimisation Algorithm 14. Chapter 12 Quantum Kernels and Quantum Two-Sample Test 15. Chapter 13 The Power of Parameterised Quantum Circuits 16. Chapter 14 Advanced QML Models 17. Chapter 15 Beyond NISQ 18. Bibliography
19. Index 20. Other Books You Might Enjoy

Introduction

Why quantum computing? Quantum computing and AI will revolutionise and disrupt our society in the same way that classical digital computing did in the second half of the 20th century and the internet did in the first two decades of the 21st century.

Quantum computing (or, more generally, quantum information theory) has been the subject of extensive research since the 1960s, but it was only in the last decade that progress on the hardware side has made it possible to test quantum computing algorithms, and it was only in the last several years that quantum computing’s supremacy was finally claimed as an experimental fact (when a landmark experiment was conducted on Google’s 53-qubit Sycamore quantum chip [16]).

The story of quantum computing is, in this respect, similar to the story of AI: AI was born in the 1950s but then experienced two “winters”, when interest in AI and machine learning declined considerably (following the Lighthill report in the UK, the Speech Understanding Research debacle in the US in the 1970s, and the LISP collapse in the 1990s), before becoming widely used and adopted to the point that we can no longer imagine our lives without it.

Even though we cannot rule out a “quantum computing winter” before quantum computing technology becomes embedded in everyday life to the same extent as the internet, smartphones, and AI, the range of quantum computing breakthroughs we have witnessed in the last few years makes it somewhat unlikely.

With recent advances in the field, we have finally reached the era of Noisy Intermediate-Scale Quantum (NISQ) computing [259]. NISQ-era computers are powerful enough to test quantum computing algorithms and solve non-trivial real-world problems – and establish quantum speedup and quantum advantage over comparable classical hardware.

However, it is likely that the first real-world production-level business applications will be a hybrid quantum-classical protocol, where most of the computation and data processing is done classically, but the hardest problems are outsourced to the quantum chip. In finance, discrete portfolio optimisation problems, which are NP-hard, are such examples and clear objectives to tackle.

Why quantum machine learning? It is a combination of quantum computing and AI that will likely generate the most exciting opportunities, including a whole range of possible applications in finance, but also in medicine, chemistry, physics, etc. We have already witnessed the first promising results achieved with parameterised quantum circuits trained as either generative models (such as a quantum circuit born machine, which can be used as a synthetic data generator) or discriminative models (such as a quantum neural network that can be trained as a classifier). The possible use cases include market generators, data anonymisers, credit scoring, and the generation of trading signals.

All the models and techniques mentioned so far rely on the existence of universal, gate model quantum computers. However, there is another type of quantum hardware – quantum annealers – which realise the principle of adiabatic quantum computing. Quantum annealers are analog quantum computers that are very well suited for solving complex optimisation problems that are NP-hard for classical computers. Optimisation problems form a large class of hard-to-solve financial problems, not to mention the fact that many supervised and reinforcement learning tools used in finance are trained via solving optimisation problems (minimisation of a cost function, maximisation of reward).

An example of discriminative machine learning problems solved using quantum annealers would be building a strong classifier from several weak ones – the quantum boosting algorithm. The strong classifier is highly resilient against overtraining and errors in the correlations of the physical observables in the training data. The quantum annealing-trained classifiers perform similarly to state-of-the-art classical machine learning methods. However, in contrast to these methods, the annealing-based classifiers are simple functions of directly interpretable experimental parameters with clear physical meaning and demonstrate some advantage over traditional machine learning methods for small training datasets.

Another application of quantum annealing is in generative learning. In deep learning, a well-known approach for training a deep neural network starts with training a generative deep Boltzmann machine, typically using the Contrastive Divergence (CD) algorithm, and then fine-tuning the weights using backpropagation or other discriminative techniques. However, generative training is often time consuming due to the slow mixing of Boltzmann (Gibbs) sampling. The quantum sampling-based training approach can achieve comparable or better accuracy with significantly fewer iterations of generative training than conventional CD-based training.

The main focus of this book is therefore on tackling practical real-world applications of Quantum Machine Learning (QML) algorithms executable on NISQ hardware rather than adopting the more traditional quantum computing textbook approach, diligently describing standard quantum computing algorithms (Shor’s, Grover’s, ), the quantum hardware demands of which are well beyond the capabilities of NISQ computers. The focus is also on the hybrid quantum-classical computational protocols that reflect the most productive way of harnessing the power of quantum computing – it is in tandem with classical computing that quantum computing solutions can provide maximum benefits to the users. In this book, we cover all major QML algorithms that have been the subject of intensive research by the industry and that have shown early signs of potential quantum advantage. We also provide a balanced view of both analog and digital quantum computers and do not try to make a call on which quantum computing technology (superconducting qubits, trapped ions, neutral atoms, etc.) will be the eventual winner. The material is presented in a hardware-agnostic way with a strong emphasis on the fundamental characteristics of the algorithms rather than their hardware realisations, although we do not ignore the question of algorithms’ embedding and the practical limitations of the existing quantum computing hardware.

Why finance? It is reasonable to expect that the incredibly fast rate of quantum hardware improvements we have witnessed over the last several years will lead to the widespread adoption of quantum computing techniques in finance. The finance industry is already investigating the potential of QML to solve classically hard practical problems and assist in achieving digital transformation. We might have moved past the point of quantum computing supremacy, but our quest to establish quantum computing advantage has just begun.

Quantitative finance is a discipline rich in interesting but computationally hard problems. Many such problems are interdisciplinary in nature and often require the transformation and adoption of mathematical and computational techniques developed in other fields. Here, we can mention, for example, the application of the theory of stochastic differential equations to option pricing [241], methods of optimal control theory to management science and economics [284], machine learning techniques to portfolio construction, and optimisation [208].

This is why we turn to finance when we are looking for a wide range of real-world use cases to test (and improve!) quantum computing algorithms. The book provides many examples of the quantum computing techniques and algorithms applied to solving practical financial problems such as portfolio optimisation, credit card default prediction, credit approvals, and the generation of synthetic market data. At the same time, the methods and techniques are formulated and presented in the most general form – we hope our readers will discover many new exciting quantum computing use cases in finance and beyond.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime