Comparing Two Numbers Using A Quantum Algorithm
Quantum computing doesn’t need to be complicated
You have two integers! Write a quantum algorithm that tells you which one is greater.
Quantum computing is treated as an extension of quantum physics in most lectures, scientific papers, books, and even blog posts. Unfortunately, this makes it not a topic suitable for beginners!
However, I've made it my mission to explain quantum computing and quantum machine learning in a way that is accessible to everyone. In a way that developers, programmers, and interested students of any discipline with at least some programming experience can understand.
In the previous post, we solved this problem for single-digit binary numbers. In today’s post, we do this for numbers of any size!
Do you want to get started with Quantum Machine Learning? Have a look at Hands-On Quantum Machine Learning With Python.
Get the first three chapters for free here.
The brand-new Volume 2: Combinatorial Optimization is all about how to solve optimization problems using the Variational Quantum Eigensolver and the Quantum Approximate Optimization Algorithm.