1. Home
  2. Quantum Computing
  3. Can Quantum Computers Speed Up Machine Learning?
Quantum Computing

Can Quantum Computers Speed Up Machine Learning?

Published on November 8, 2026 · by Qubira 8 min read
Can Quantum Computers Speed Up Machine Learning?

Every few months a headline announces that quantum computers will supercharge artificial intelligence, and every few months a machine learning engineer rolls their eyes and goes back to renting GPUs. Both reactions are understandable. The honest answer to whether quantum computers can speed up machine learning is somewhere between “maybe, for narrow things” and “nobody has shown it yet”, and it is more interesting than either extreme.

3
Our read, in shortQuantum machine learning is a legitimate research field and a poor bet for anything you need to ship. There are real theoretical speedups for specific linear algebra tasks, but loading data, noisy hardware and clever classical rivals have so far eaten the advantage. Today's AI will keep running on GPUs for a long time.

Why people expect a quantum boost in the first place

Machine learning, underneath the buzzwords, is mostly linear algebra: huge matrices multiplied, inverted and decomposed again and again, plus optimization, which means hunting for the lowest point in a very bumpy landscape. Quantum computers have a few genuinely different ways of handling both. A register of n qubits can hold amplitudes over 2n basis states at once, so a handful of qubits can in principle represent a vector that would take an enormous classical array. And certain quantum algorithms, such as the one by Harrow, Hassidim and Lloyd for solving systems of linear equations, promised exponential speedups on exactly the sort of operation machine learning leans on.

If that sounds too good to be true, you are reading it correctly, and the next sections explain why. If the idea of amplitudes and superposition is still hazy, our explainer on what a qubit is covers the basics, and the pillar guide to quantum computing puts the whole field in one place.

The catch that sinks many speedups: getting data in and out

Here is the problem that experienced researchers raise first. Those exponential speedups usually assume the input vector is already sitting inside the quantum computer as a quantum state, and that you only need a summary of the answer at the end. But your data starts life as ordinary numbers in memory. Preparing a quantum state that encodes a large classical dataset can itself take time proportional to the size of the data, which is the very cost you were hoping to avoid. Some proposals assume a special memory called QRAM that could load data efficiently; nobody has built one at scale, and building one is arguably a harder problem than the algorithm it supports.

The output is no kinder. A quantum computer gives you a measurement, a single sample from a distribution, not the whole result vector. To estimate a number precisely you repeat the experiment many times, and to read out all the entries of a big vector you would be back to a classical amount of work. In practice, the winning cases are the ones where you want a small piece of information about a giant object, and those are rarer in everyday machine learning than the headlines suggest.

Dequantization: the classical side fights back

The second blow came from an unexpected direction. In 2018, a then-teenager named Ewin Tang, working with Scott Aaronson, set out to prove that a well-known quantum recommendation-system algorithm was exponentially faster than any classical method. Instead they found a classical algorithm that did essentially as well, as long as it was allowed comparable access to the data. Tang and others then extended the technique to several other celebrated quantum machine learning proposals.

The lesson is subtle and worth keeping. These results did not prove quantum computers are useless for learning; they showed that some of the earliest speedups depended on assumptions about data access that also help classical algorithms. A claimed quantum advantage in this area should always be compared with the best classical method given the same assumptions, not with a naive baseline. That habit is exactly the one we apply when reading claims about quantum supremacy and quantum advantage.

Variational circuits and quantum kernels: the near-term approach

Since fault-tolerant machines are not here, much of the practical research focuses on small noisy devices running hybrid algorithms. The usual recipe is a variational quantum circuit: a short sequence of quantum gates with adjustable angles, whose output is measured and fed to a classical optimizer that tweaks the angles to reduce a loss, much like training a tiny neural network. Another recipe uses a quantum computer as a kernel, mapping each data point into a high-dimensional quantum feature space and letting a classical algorithm such as a support vector machine do the rest.

Both ideas are neat, and both are plagued by familiar problems. Training variational circuits runs into so-called barren plateaus, regions where the gradient vanishes so completely that the optimizer has nowhere to go, and the problem gets worse as circuits grow. Noise on current hardware washes out signals quickly. And there is a quieter issue: when researchers carefully compare small quantum models with equally small classical ones on standard benchmarks, the classical models often do as well or better. Reported quantum wins tend to appear on tailor-made datasets, which tells you more about the dataset than about the machine.

Theory (specific algorithms)
Real but narrow
Data loading
Major bottleneck
Today's noisy hardware
Toy problems only
Beating GPUs on real tasks
Not demonstrated

Our own qualitative reading, not benchmark data.

A fair side-by-side with the hardware you actually use

It helps to put the two approaches next to each other, because the comparison explains why practitioners stay unimpressed. A modern GPU is a mature, cheap, massively parallel machine built for exactly the matrix arithmetic that deep learning needs. It has software stacks, debugging tools and millions of users. A quantum processor today has tens to a few thousand noisy qubits, depending on the platform, cannot hold a large dataset and cannot run for long before errors creep in.

AspectGPU / classical MLQuantum ML (today)
Data handlingBillions of examples in memorySmall datasets; loading is a bottleneck
Model sizeBillions of parametersA few dozen to hundreds of circuit parameters
ReliabilityDeterministic, mature toolingNoisy; results are statistical samples
Cost per experimentCents to dollarsCloud queue time, limited access
Proven advantage on real tasksYes, it powers current AINone demonstrated
Best useTraining and running modern modelsResearch, education, niche theory

Where quantum could genuinely help AI

Here is where we think the optimism is better placed, and it is not where most headlines point. The most convincing role for quantum computers is to generate or simulate things that are naturally quantum. Simulating molecules and materials is the textbook case: if a future machine can compute the energy of a molecule accurately, that data could feed a classical machine learning model to predict chemistry or screen drug candidates. In this picture quantum is a data source for AI rather than a replacement for it. We go through the other realistic applications in what quantum computing is actually good for today.

Optimization is the other long shot. Many machine learning pipelines contain combinatorial subproblems, such as scheduling, feature selection or routing. Quantum annealers and gate-based approaches have been tried on such tasks, with mixed and heavily debated results, a story we cover in quantum annealing versus gate-based machines. If a fault-tolerant machine ever arrives, the gains would likely appear first in these structured problems, and that depends on solving quantum error correction first.

What it does not look like is a quantum computer training a chatbot. Large language models need to push colossal amounts of ordinary data through billions of parameters, a workload that rewards bandwidth and brute force, which is the opposite of what qubits offer.

⚠️ Read "quantum AI" claims carefully. When a company says its product uses quantum computing to improve AI, ask three questions: what exactly runs on the quantum chip, how big is the dataset, and what classical method was it compared against? If the answers are vague, the quantum part is probably branding.

How to explore it without wasting money

If you are curious, the best investment is time, not hardware. Free tools are plentiful: Qiskit and PennyLane let you build a small variational classifier on a simulator in an afternoon, and our guide to trying a quantum computer for free shows how to run circuits on real devices. Our write-up of a first Qiskit circuit is a gentle starting point if you have never written one.

A solid grounding in linear algebra and probability will serve you better than any quantum library, and a good textbook is cheaper than any cloud credit. If you prefer paper, these quantum machine learning books on Amazon are a reasonable place to browse; look for recent editions, since the field has changed quickly. And if your real interest is practical AI at home, you will get far more from a capable PC for local models than from any quantum service.

Our bottom line

We would summarize the situation like this. Quantum machine learning has real mathematics behind it, a handful of interesting theoretical speedups, and a long list of reasons those speedups have not materialized: data loading, noise, barren plateaus and ever-improving classical algorithms. For anything you need to build this year, use classical tools. For anything you want to understand, quantum machine learning is a lovely way to learn how both fields think, as long as you keep asking the unromantic question of what it beats and by how much.

FAQ

Can quantum computers speed up machine learning?
In theory, for some narrow problems, yes. In practice, no one has shown a quantum computer beating a good classical method on a real machine learning task. The biggest obstacles are getting large datasets into a quantum state and the limited, noisy hardware that exists today.
What is quantum machine learning?
It is a research field that tries to use quantum circuits as part of a learning algorithm, for example as a feature map, a kernel or a small trainable model, or to speed up linear algebra routines that machine learning relies on.
Will quantum computers train ChatGPT-style models?
Not in any foreseeable plan. Training a large language model means moving enormous amounts of classical data through billions of parameters, which is precisely the kind of workload where quantum computers have no known advantage and GPUs are extremely good.
What is the data loading problem?
Many quantum speedups assume your data is already encoded in a quantum state. Preparing that state from classical data can take as long as the classical algorithm itself, which can erase the speedup the quantum step was supposed to deliver.
What does dequantization mean?
It refers to results, starting with Ewin Tang's 2018 work, showing that some celebrated quantum machine learning speedups can be matched by new classical algorithms that use similar assumptions about data access. It shrank the list of problems where quantum looked clearly better.
Can I try quantum machine learning myself?
Yes. Libraries such as Qiskit and PennyLane let you build small variational circuits and run them on simulators or, through cloud services, on real hardware. It is a good way to learn, but expect toy problems.
Where could quantum help AI first?
Most researchers look at problems where the quantum part is naturally quantum, such as simulating molecules to generate training data for chemistry models, or at optimization subroutines. Generic image or text models are the least likely candidates.