Quantum Computing To My Grandmother
Ray G. Butler
CEO / Director of Data Science at Butler Scientifics. Affiliated Professor of Statistics and Data Science, UPC/Euncet.
I've been mulling over quantum computing for months and why it's going to be so groundbreaking. Today, reading this article from FastCompany,
I wanted to learn why the designs of solutions for a classical computing architecture and a quantum computing architecture are different.
And ChatGPT has helped me understand it. Look at this:
Me: Show me an example of designing a solution for a quantum computer and the same solution for a classical computer.
ChatGPT4: Sure, let's consider a common problem in both classical and quantum computing: optimizing a complex function.
For simplicity, let's use the task of finding the minimum of a given function, a problem commonly encountered in various fields like finance, logistics, and machine learning.
Classical Computing Solution: Gradient Descent
Problem: Find the minimum of a function f(x).
Solution: Use the Gradient Descent algorithm.
1. Initialize: Start with a random point x0.
2. Iterate:
x_new = x_old - eta x gradient of f(x_old)
where eta is the learning rate.
3. Convergence: Repeat until the changes in x are below a certain threshold.
This method iteratively adjusts the input to minimize the function, leveraging calculus to navigate the function's landscape.
领英推荐
Quantum Computing Solution: Quantum Annealing or Variational Quantum Eigensolver (VQE)
Problem: The same as above, but we leverage quantum properties for optimization.
1. Quantum Annealing:
2. Variational Quantum Eigensolver (VQE):
Both quantum methods exploit quantum phenomena like superposition and entanglement. Quantum Annealing is particularly powerful for problems with rugged energy landscapes, while VQE is more versatile and can be adapted to various optimization problems.
Key Differences:
This example illustrates how the same problem can be approached differently in classical and quantum computing, each with its own strengths and limitations.
My perception
I recently had the opportunity to explain to a group of clinical laboratory experts the difference between designing a classic algorithmic solution and doing so using machine learning algorithms.
One of the main messages was that classic algorithmic presented serious difficulties in responding to complex problems and that, there, AI or similar does it much better.
Reading this comparison between quantum and classic solutions, I get the feeling that we will be able to solve very complex problems again without the need to access as much data as AI-based solutions require, but only with a "process model".
How do you feel about that? :)