Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Quantum Computing Experimentation with Amazon Braket

You're reading from   Quantum Computing Experimentation with Amazon Braket Explore Amazon Braket quantum computing to solve combinatorial optimization problems

Arrow left icon
Product type Paperback
Published in Jul 2022
Publisher Packt
ISBN-13 9781800565265
Length 420 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Alex Khan Alex Khan
Author Profile Icon Alex Khan
Alex Khan
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Introduction
2. Section 1: Getting Started with Amazon Braket FREE CHAPTER
3. Chapter 1: Setting Up Amazon Braket 4. Chapter 2: Braket Devices Explained 5. Chapter 3: User Setup, Tasks, and Understanding Device Costs 6. Chapter 4: Writing Your First Amazon Braket Code Sample 7. Section 2: Building Blocks for Real-World Use Cases
8. Chapter 5: Using a Quantum Annealer – Developing a QUBO Function and Applying Constraints 9. Chapter 6: Using Gate-Based Quantum Computers – Qubits and Quantum Circuits 10. Chapter 7: Using Gate Quantum Computers – Basic Quantum Algorithms 11. Chapter 8: Using Hybrid Algorithms – Optimization Using Gate-Based Quantum Computers 12. Chapter 9: Running QAOA on Simulators and Amazon Braket Devices 13. Section 3: Real-World Use Cases
14. Chapter 10: Amazon Braket Hybrid Jobs, PennyLane, and other Braket Features 15. Chapter 11: Single-Objective Optimization Use Case 16. Chapter 12: Multi-Objective Optimization Use Case 17. Other Books You May Enjoy Appendix: Knapsack BQM Derivation

A party optimization example

In this example, imagine that you are throwing a party and inviting five friends. We will give them unique names from Alice to Frank, as shown in Figure 5.8. You have made an estimate of how much each of your friends contributes to the energy of a party. These are the linear or diagonal terms in the table in Figure 5.8. Your values are from -1 (a negative contribution to the party) to +1 (a maximum positive contribution to the party). For example, Alice has the most positive contribution to a party of 0.5, while Eve who does not contribute to the energy at parties has a value of -1.

Now, you also realize that not only do each of your friends individually contribute to a party’s energy but their energy contribution changes, depending on who else is at the party with them. You are feeling quite sophisticated for having determined that pair-wise relationships or quadratic relationships are important in this case. You recall how each pair of friends...

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