Home / Quantum from Scratch / Ep 14

Quantum from Scratch · Episode 14 of 19

Quantum machine learning

Quantum Machine Learning Explained: Is Quantum AI Real?

Go deeper

What I say in the video

"Quantum AI" is mostly hype. Here's the one part that isn't.

Most AI boils down to one job: crunching huge grids of numbers.

In 2009, a quantum algorithm called HHL promised to solve certain grids exponentially faster.

The fine print: loading your data in can eat the speedup, and reading the full answer out eats it too.

Quantum AI's poster child was Netflix-style recommendations. In 2018, an 18-year-old nearly matched it on a normal computer.

So where's the real edge? Data that's already quantum, like molecules and materials.

That's where quantum machine learning could actually win.

In plain words

Is quantum AI real, or mostly hype? Here's the one part of quantum machine learning that holds up.

What this Short covers:

  1. Most AI comes down to matrix math: multiplying and solving huge grids of numbers.
  2. HHL (Harrow, Hassidim, Lloyd, published 2009) is a quantum algorithm for linear systems that promised an exponential speedup for certain (sparse, well-conditioned) problems.
  3. The fine print: loading classical data into qubits can cancel the speedup, and the answer comes out as a quantum state, so reading out the full result costs many repeats.
  4. In 2018, Ewin Tang, then 18, published a classical algorithm that nearly matched the quantum recommendation algorithm (Kerenidis–Prakash), removing its exponential advantage.
  5. Where quantum machine learning could really win: data that is already quantum, such as molecules and materials.
What I simplified

Fine print for the physics crowd: "grids of numbers" = matrices. HHL (Harrow, Hassidim, Lloyd) solves linear systems Ax = b; the exponential speedup needs a sparse, well-conditioned matrix, fast state preparation, and gives you a quantum state, not the full vector (arXiv Nov 2008, Phys. Rev. Lett. 2009). Ewin Tang's 2018 classical algorithm is only polynomially slower than the Kerenidis–Prakash quantum recommendation algorithm, so the exponential gap is gone, not the quantum algorithm itself. "Data that's already quantum" = learning from quantum systems, where an exponential advantage was proven (Huang et al., Science 2022); a practical win on real molecules is still ahead, hence "could".

Sources (8)

One new quantum idea, every week

The next episode in your inbox, with its sources. Free, and one click to unsubscribe.