Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Quantum Computing Algorithms

You're reading from  Quantum Computing Algorithms

Product type Book
Published in Sep 2023
Publisher Packt
ISBN-13 9781804617373
Pages 342 pages
Edition 1st Edition
Languages
Author (1):
Barry Burd Barry Burd
Profile icon Barry Burd

Table of Contents (19) Chapters

Preface 1. Introduction to Quantum Computing 2. Part 1 Nuts and Bolts
3. Chapter 1: New Ways to Think about Bits 4. Chapter 2: What Is a Qubit? 5. Chapter 3: Math for Qubits and Quantum Gates 6. Chapter 4: Qubit Conspiracy Theories 7. Part 2 Making Qubits Work for You
8. Chapter 5: A Fanciful Tale about Cryptography 9. Chapter 6: Quantum Networking and Teleportation 10. Part 3 Quantum Computing Algorithms
11. Chapter 7: Deutsch’s Algorithm 12. Chapter 8: Grover’s Algorithm 13. Chapter 9: Shor’s Algorithm 14. Part 4 Beyond Gate-Based Quantum Computing
15. Chapter 10: Some Other Directions for Quantum Computing 16. Assessments 17. Index 18. Other Books You May Enjoy

Quantum annealing

With rising concerns about climate change, it’s useful to think about the way temperature varies by geographic location. Figure 10.1 has a fictional map of temperatures in a particular region.

Figure 10.1 – A temperature map

Figure 10.1 – A temperature map

Our goal is to find the coldest spot on this map. One strategy would be to start at an arbitrary point and work our way to points of ever-decreasing temperature. This is called a greedy method because the algorithm always moves in a direction that yields a better value.

The arrow in Figure 10.1 shows a possible path using the greedy approach. The arrow starts at the top of the map, moves downward until it hits the center of the northernmost region, and then stops. The arrow stops because, having reached this point, movement in any direction would raise the temperature. The algorithm has found a local extreme point without ever getting near the coldest spot on the map.

Annealing is a way of moving slowly toward and...

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 $15.99/month. Cancel anytime}