Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying A Practical Guide to Quantum Machine Learning and Quantum Optimization
  • Table Of Contents Toc
A Practical Guide to Quantum Machine Learning and Quantum Optimization

A Practical Guide to Quantum Machine Learning and Quantum Optimization

By : Elías F. Combarro, Samuel González-Castillo
4.8 (15)
close
close
A Practical Guide to Quantum Machine Learning and Quantum Optimization

A Practical Guide to Quantum Machine Learning and Quantum Optimization

4.8 (15)
By: Elías F. Combarro, Samuel González-Castillo

Overview of this book

This book provides deep coverage of modern quantum algorithms that can be used to solve real-world problems. You’ll be introduced to quantum computing using a hands-on approach with minimal prerequisites. You’ll discover many algorithms, tools, and methods to model optimization problems with the QUBO and Ising formalisms, and you will find out how to solve optimization problems with quantum annealing, QAOA, Grover Adaptive Search (GAS), and VQE. This book also shows you how to train quantum machine learning models, such as quantum support vector machines, quantum neural networks, and quantum generative adversarial networks. The book takes a straightforward path to help you learn about quantum algorithms, illustrating them with code that’s ready to be run on quantum simulators and actual quantum computers. You’ll also learn how to utilize programming frameworks such as IBM’s Qiskit, Xanadu’s PennyLane, and D-Wave’s Leap. Through reading this book, you will not only build a solid foundation of the fundamentals of quantum computing, but you will also become familiar with a wide variety of modern quantum algorithms. Moreover, this book will give you the programming skills that will enable you to start applying quantum methods to solve practical problems right away.
Table of Contents (27 chapters)
close
close
1
Part I: I, for One, Welcome our New Quantum Overlords
4
Part II: When Time is Gold: Tools for Quantum Optimization
10
Part III: A Match Made in Heaven: Quantum Machine Learning
16
Part IV: Afterword and Appendices
17
Chapter 13: Afterword: The Future of Quantum Computing
19
Bibliography
20
Index
1
Appendix A: Complex Numbers
5
Appendix E: Production Notes

4.3 Using Ocean to formulate and transform optimization problems

As we have just seen, the BinaryQuadraticModel class can be used to define both Ising and QUBO problems. But dimod also offers other models and utilities that will make our lives a little bit easier. Let’s start by studying how we can conveniently define problems with linear restrictions.

4.3.1 Constrained quadratic models in Ocean

You surely remember that a problem like

is an instance of binary linear programming. In Section 3.4.1, we studied this family of problems in detail and we showed that they can be transformed into the QUBO and Ising models by using slack variables and penalty terms.

So, imagine that you want to solve the preceding problem in a quantum annealer. Do you need to perform all those boring transformations in order to obtain the QUBO coefficients and then use them to define a BinaryQuadraticModel object? No! Fortunately, dimod provides the ConstrainedQuadraticModel class, which simplifies...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
A Practical Guide to Quantum Machine Learning and Quantum Optimization
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon