How and when quantum computers will improve machine learning? – Medium
The different strategies toward quantum machine learningThey say you should start an article with a cool fancy image. Google 72 qubits chip Sycamore Google
There is a strong hope (and hype) that Quantum Computers will help machine learning in many ways. Research in Quantum Machine Learning (QML) is a very active domain, and many small and noisy quantum computers are now available. Different approaches exist, for both long term and short term, and we may wonder what are their respective hopes and limitations, both in theory and in practice?
It all started in 2009 with the publications of the HHL Algorithm [1] proving an exponential acceleration for matrix multiplication and inversion, which triggered exciting applications in all linear algebra-based science, hence machine learning. Since, many algorithms were proposed to speed up tasks such as classification [2], dimensionality reduction [3], clustering [4], recommendation system [5], neural networks [6], kernel methods [7], SVM [8], reinforcement learning [9], and more generally optimization [10].
These algorithms are what I call Long Term or Algorithmic QML. They are usually carefully detailed, with guarantees that are proven as mathematical theorems. We can (theoretically) know the amount of speedup compared to the classical algorithms they reproduce, which are often polynomial or even exponential, with respect to the number of input data for most of the cases. They come with precise bounds on the results probability, randomness, and accuracy, as usual in computer science research.
While they constitute theoretical proof that a universal and fault-tolerant quantum computer would provide impressive benefits in ML, early warnings [11] showed that some underlying assumptions were very constraining.
These algorithms often require loading the data with a Quantum Random Access Memory, or QRAM [12], a bottleneck part without which exponential speedups are much more complex to obtain. Besides, they sometimes need long quantum circuits and many logical qubits (which, due to error correction, are themselves composed of many more physical qubits), that might not be arriving soon enough.
When exactly? When we will reach the Universal Fault-Tolerant Quantum Computer, predicted by Google in 2029, or by IonQ in only 5 years. More conservative opinion claim this will not happen before 20+ years, and some even say we will never reach that point. Future will tell!
More recently, a mini earthquake amplified by scientific media has cast doubt on the efficiency of Algorithm QML: the so-called dequantization papers [13] that introduced classical algorithms inspired from the quantum ones to obtain similar exponential speedups, in the field of QML at least. This impressive result was then hindered by the fact that the equivalent speedup only concerns the number of data, and comes at a cost of a terrible polynomial slowdown with respect to other parameters for now. This makes these quantum-inspired classical algorithms currently unusable in practice [14].
In the meantime, something very exciting happened: actual quantum computers were built and became accessible. You can play with noisy devices made of 5 to 20 qubits, and soon more. Quite recently Google performed a quantum circuit with 53 qubits [15], the first that could not be efficiently simulable by a classical computer.
Researchers have then been looking at new models that these noisy intermediate scale quantum computers (NISQ) could actually perform [16]. They are all based on the same idea of variational quantum circuits (VQC), inspired by classical machine learning.
The main difference with algorithmic QML is that the circuit is not implementing a known classical ML algorithm. One would simply hope that the chosen circuit will converge to successfully classify data or predict values. For now, there are several types of circuits in the literature [17] and we start to see interesting patterns in the success. The problem itself is often encoded in the loss function we try to decrease: we sum the error made compared to the true values or labels, or compared to the quantum states we aim for, or to the energy levels, and so on, depending on the task. Active research tries to understand why some circuits work better than others on certain tasks, and why quantumness would help.
Another core difference is that many providers [18, 19, 20] allow you to program these VQC so you can play and test them on actual quantum computers!
In recent years, researchers have tried to find use cases where Variational QML would succeed at classical problems, or even outperforms the classical solutions [21, 22]. Some hope that the variational nature of the training confers some resilience to hardware noise. If this happens to be the case, it would be beneficial not to wait for Error Correction models that require many qubits. One would only need Error Mitigation techniques to post-process the measurements.
On the theoretical side, researchers hope that quantum superposition and entangling quantum gates would project data in a much bigger space (the Hilbert Space of n qubits has dimension 2^n) where some classically inaccessible correlations or separations can be done. Said differently, some believe that the quantum model will be more expressive.
It is important to notice that research on Variational QML is less focused on proving computational speedups. The main interest is to reach a more expressive or complex state of information processing. The two approaches are related but they represent two different strategies. Unfortunately, less is proven compared to Algorithmic QML, and we are far from understanding the theoretical reasons that would prove the advantage of these quantum computations.
Of course, due to the limitations of the current quantum devices, experiments are often made on a small number of qubits (4 qubits in the above graph) or on simulators, often ideal or limited to 30+ qubits. It is hard to predict what will happen when the number of qubits will grow.
Despite the excitement, VQC also suffers from theoretical disturbance. It is proven that when the number of qubits or the number of gates becomes too big, the optimization landscape will be flat and hinder the ability to optimize the circuit. Many efforts are made to circumvent this issue, called Barren Plateaus [23], by using specific circuits [24] or smart initialization of the parameters [25].
But Barren Plateaus are not the only caveat. In many optimization methods, one must compute the gradient of a cost function with respect to each parameter. Said differently, we want to know how much the model is improved when I modify each parameter. In classical neural networks, computing the gradients is usually done using backpropagation because we analytically understand the operations. With VQC, operations become too complex, and we cannot access intermediate quantum states (without measuring and therefore destroying them).
The current state-of-the-art solution is called the parameter shift rule [27, 28] and requires to apply the circuit and measure its result 2 times for each parameter. By comparison, in classical deep learning, the network is applied just once forward and once backward to obtain all thousand or millions gradients. Hopefully, we could parallelize the parameter shift rule on many simulators or quantum devices, but this could be limited for a large number of parameters.
Finally, researchers tend to focus more and more on the importance of data loading into a quantum state [29], also called feature map [30]. Without the ideal amplitude encoding obtained with the QRAM, there are doubts that we will be able to load and process high dimensional classical data with an exponential or high polynomial factor. Some hope remains on data independent tasks such as generative models [21, 31] or solving partial differential equations.
Note that the expression Quantum Neural Networks has been used to show the similarities with classical Neural Networks (NN) training. However they are not equivalent, since the VQC dont have the same hidden layers architecture, and neither have natural non linearities, unless a measurement is performed. And theres no simple rule to convert any NN to a VQC or vice versa. Some now prefer to compare VQC to Kernel Methods [30].
We now have a better understanding of the advantages and weaknesses of the two main strategies towards quantum machine learning. Current research is now focused on two aspects:
Finally, and most importantly, improve the quantum devices! We all hope for constant incremental improvements or a paradigm shift in the quality of the qubits, their number, the error correction process, to reach powerful enough machines. Please physicists, can you hurry?
PS: lets not forget to use all this amazing science to do good things that will benefit everyone.
Jonas Landman is a Ph.D. student at the University of Paris under the supervision of Prof. Iordanis Kerenidis. He is Technical Advisor at QC Ware and member of QuantX. He has previously studied at Ecole Polytechnique and UC Berkeley.
Read more:
How and when quantum computers will improve machine learning? - Medium
- Are We in a Quantum Computing Bubble? - MSN - July 20th, 2025 [July 20th, 2025]
- Quantum computing is so fire No, seriously. BofA says it could be humanity's biggest breakthrough since the discovery of fire - Fortune - July 20th, 2025 [July 20th, 2025]
- 2 Top Quantum Computing Stocks to Buy in July - The Motley Fool - July 20th, 2025 [July 20th, 2025]
- Bitcoin News: How Quantum Computing Threatens the Math Behind Satoshi Nakamoto's Creation - CoinDesk - July 20th, 2025 [July 20th, 2025]
- Should You Invest $1,000 in Quantum Computing Competitor Rigetti Computing? - The Motley Fool - July 20th, 2025 [July 20th, 2025]
- Google solves septillionyear problem This quantum chip is the end of computers - El Diario 24 - July 20th, 2025 [July 20th, 2025]
- Researchers Push for Open-Source Quantum Tools to Break Critical Industry Bottlenecks - The Quantum Insider - July 20th, 2025 [July 20th, 2025]
- Quantum Leap or Overpriced Hype? D-Wave's $400M Raise and the Future of Quantum Computing - AInvest - July 20th, 2025 [July 20th, 2025]
- Want to Invest in Quantum Computing Without the Crazy Risk? Buy These 3 Stocks. - The Globe and Mail - July 20th, 2025 [July 20th, 2025]
- Quantum computing edges closer to biotech reality in Moderna-IBM pact - R&D World - July 20th, 2025 [July 20th, 2025]
- Scientists achieve 'magic state' quantum computing breakthrough 20 years in the making quantum computers can never be truly useful without it -... - July 20th, 2025 [July 20th, 2025]
- Guest Post -- Practical Quantum Advantage in the Context of Quantum AI: Rise of the Hybrid Systems - The Quantum Insider - July 20th, 2025 [July 20th, 2025]
- Warren Buffett Is Invested in These Three Magnificent Quantum Computing Stocks. Here's the Best of the Bunch. - Yahoo Finance - July 20th, 2025 [July 20th, 2025]
- After Plummeting by 18%, Could This Quantum Computing Stock Stage a Second-Half Comeback? - The Motley Fool - July 20th, 2025 [July 20th, 2025]
- Scientists make 'magic state' breakthrough after 20 years without it, quantum computers can never be truly useful - Live Science - July 18th, 2025 [July 18th, 2025]
- D-Wave Quantum Skyrocketed Today. Is the Stock a Buy? - Yahoo Finance - July 18th, 2025 [July 18th, 2025]
- EIFO and the Novo Nordisk Foundation Acquire the Worlds Most Powerful Quantum Computer - Novo Nordisk Fonden - July 18th, 2025 [July 18th, 2025]
- Israel and US to forge $200m tech hub for AI and quantum science development - The Times of Israel - July 18th, 2025 [July 18th, 2025]
- Quantum code breaking? You'd get further with an 8-bit computer, an abacus, and a dog - theregister.com - July 18th, 2025 [July 18th, 2025]
- Is quantum computing the next big thing in stocks? - TheStreet - July 18th, 2025 [July 18th, 2025]
- What to do while pursuing the promise of quantum computing - Brookings - July 18th, 2025 [July 18th, 2025]
- Microsoft and Atom Computing Partner on Level 2 Quantum System for Nordic Users - The Quantum Insider - July 18th, 2025 [July 18th, 2025]
- Progress Toward Practical Areas of Quantum Technology - CSIS | Center for Strategic and International Studies - July 18th, 2025 [July 18th, 2025]
- Hybrid classical and quantum computing for enhanced glioma tumor classification using TCGA data - Nature - July 18th, 2025 [July 18th, 2025]
- Oxford Ionics And Iceberg Quantum Partner to Accelerate Fault-Tolerant Quantum Computing - The Quantum Insider - July 18th, 2025 [July 18th, 2025]
- Are We Truly Prepared for the Era of Quantum Computing? - Security Boulevard - July 18th, 2025 [July 18th, 2025]
- New quantum computer with great potential to boost Nordic research and innovation - Novo Nordisk Fonden - July 18th, 2025 [July 18th, 2025]
- Launching a Quantum Computer, Photonics Meets Electronics in a First-of-its-Kind Chip - Photonics Spectra - July 18th, 2025 [July 18th, 2025]
- Huge investment to build in Denmark the first level-2 quantum computer - The Copenhagen Post - July 18th, 2025 [July 18th, 2025]
- D-Wave Quantum Skyrocketed Today. Is the Stock a Buy? - The Motley Fool - July 18th, 2025 [July 18th, 2025]
- Oxford Ionics and Iceberg Quantum Partner to Design Fault-Tolerant Quantum Architecture - Quantum Computing Report - July 18th, 2025 [July 18th, 2025]
- Cornell And IBM Demonstrate Error-Resistant Quantum Computing Advance - Quantum Zeitgeist - July 18th, 2025 [July 18th, 2025]
- Quobly and Inria Partner to Advance Scalable, Sovereign Quantum Systems in France - Quantum Computing Report - July 18th, 2025 [July 18th, 2025]
- How IBM and Moderna (MRNA) Are Using Quantum Computing to Design Vaccines Faster - TipRanks - July 18th, 2025 [July 18th, 2025]
- Why D-Wave Quantum Stock Skyrocketed 74.3% in the First Half of 2025 -- and What Comes Next - The Motley Fool - July 18th, 2025 [July 18th, 2025]
- D-Wave Quantum Skyrocketed Today. Is the Stock a Buy? - Nasdaq - July 18th, 2025 [July 18th, 2025]
- IBM and Moderna Team Up on Quantum Study. What It Means for the World of Medicine. - Barron's - July 18th, 2025 [July 18th, 2025]
- Silicon Spin Qubits: Scaling Toward the Million-Qubit Era - EE Times Europe - July 18th, 2025 [July 18th, 2025]
- Why D-Wave Quantum Stock Skyrocketed 74.3% in the First Half of 2025 -- and What Comes Next - The Globe and Mail - July 18th, 2025 [July 18th, 2025]
- Universal Quantum and TUHH Partner on Scalable Quantum Software for 100 000-Qubit Machines - The Quantum Insider - July 16th, 2025 [July 16th, 2025]
- IonQ, D-Wave, and Rigetti Face Off Ahead of Earnings Whos Nearest to Commercial Breakthrough? - TipRanks - July 16th, 2025 [July 16th, 2025]
- Granite Geek: As quantum mechanics turns 100, it is sneaking into everyday life - Monadnock Ledger-Transcript - July 16th, 2025 [July 16th, 2025]
- The rise of women in quantum science in India and the legacy of Satyendra Nath Bose - Physics World - July 16th, 2025 [July 16th, 2025]
- BDx and Anyon launch hybrid quantum AI testbed in Singapore - Light Reading - July 16th, 2025 [July 16th, 2025]
- What Is RSA Encryption, And Did China Really Break It? - SlashGear - July 14th, 2025 [July 14th, 2025]
- D-Wave Quantum (QBTS) Loses 11.8% as 2 Tech Giants Could Threaten its Competitive Edge - MSN - July 14th, 2025 [July 14th, 2025]
- Cracking the quantum code: light and glass are set to transform computing - Cyprus Mail - July 14th, 2025 [July 14th, 2025]
- Revolutionary Quantum-AI Drone Tech Transforms Military Defense and Weather Forecasting - Stock Titan - July 12th, 2025 [July 12th, 2025]
- How Post-Quantum Cryptography Affects Security and Encryption Algorithms - Cisco Blogs - July 12th, 2025 [July 12th, 2025]
- QUANTUM COMPUTING INVESTIGATION INITIATED BY FORMER LOUISIANA ATTORNEY GENERAL: Kahn Swick & Foti, LLC Investigates the Officers and Directors of... - July 12th, 2025 [July 12th, 2025]
- TRIUMF, Perimeter Institute, and D-Wave Collaborate on Quantum-AI for Particle Physics Simulation - Quantum Computing Report - July 12th, 2025 [July 12th, 2025]
- The next leap for the technology sector: quantum computing - TechRadar - July 12th, 2025 [July 12th, 2025]
- Forget ransomware - most firms think quantum computing is the biggest security risk to come - MSN - July 12th, 2025 [July 12th, 2025]
- Quantum Computers Could Break Encryption : Are We Ready for the Digital Apocalypse? - Geeky Gadgets - July 12th, 2025 [July 12th, 2025]
- Texas wants to lead in the next big thing in computing. But is it too late? - Austin American-Statesman - July 12th, 2025 [July 12th, 2025]
- Post-quantum cryptographic inventory the latest PQC buzzword and why you need to know it - Cybernews - July 12th, 2025 [July 12th, 2025]
- Billionaires Are Buying This Quantum Computing Stock Hand Over Fist (Hint: It's Not IonQ or D-Wave Quantum) - Yahoo Finance - July 10th, 2025 [July 10th, 2025]
- Is Rigetti Computing the Top Quantum Computing Stock for the Second Half of 2025? - Nasdaq - July 10th, 2025 [July 10th, 2025]
- CHAMP-ION Project: Why Europe Isnt Backing Down in the Quantum Computer Race - embedded.com - July 10th, 2025 [July 10th, 2025]
- Tiny quantum drumhead sends sound with 1-in-a-million losspoised to rewrite tech - ScienceDaily - July 10th, 2025 [July 10th, 2025]
- The Q-Day Countdown: What It Is and Why You Should Care - Security Boulevard - July 10th, 2025 [July 10th, 2025]
- Finland breaks quantum record with 1-millisecond qubit coherence - Interesting Engineering - July 10th, 2025 [July 10th, 2025]
- Quantum Breakthrough: Qubit Coherence Hits Record Millisecond Milestone - The Debrief - July 10th, 2025 [July 10th, 2025]
- Japan needs to take the quantum-technology leap - The Japan Times - July 10th, 2025 [July 10th, 2025]
- NPL quantum circuits imaging could unlock stable quantum computers - Innovation News Network - July 8th, 2025 [July 8th, 2025]
- Should You Buy Rigetti Computing Stock for Less Than $15? - The Motley Fool - July 8th, 2025 [July 8th, 2025]
- Individual defects in superconducting quantum circuits imaged for the first time - Phys.org - July 8th, 2025 [July 8th, 2025]
- What's the Story? Quantum computing meets telecom - Light Reading - July 8th, 2025 [July 8th, 2025]
- Photonic powerhouse: Light is driving the quantum revolution - Laser Focus World - July 8th, 2025 [July 8th, 2025]
- Quantum Computers Pose Long-Term Threat to Bitcoin Security - AInvest - July 8th, 2025 [July 8th, 2025]
- Quantum Computing 'Q-Day' Threatens Bitcoin (BTC) & Ethereum (ETH) as Singapore Tightens Crypto Regulations - Blockchain News - July 8th, 2025 [July 8th, 2025]
- 2 Top Quantum Computing Stocks to Buy in July - Yahoo Finance - July 6th, 2025 [July 6th, 2025]
- Cracking the quantum code: light and glass are set to transform computing - ScienceBlog.com - July 6th, 2025 [July 6th, 2025]
- Helgoland 2025: the inside story of what happened on the quantum island - Physics World - July 6th, 2025 [July 6th, 2025]
- A shortcut to quantum randomness: Hacked qubit blocks achieve the unexpected - Interesting Engineering - July 6th, 2025 [July 6th, 2025]
- Physicists use 5,564-qubit quantum computer to model the death of our universe - The Brighter Side of News - July 6th, 2025 [July 6th, 2025]
- Small, room-temperature quantum computers that use light on the horizon after breakthrough, scientists say - Live Science - July 4th, 2025 [July 4th, 2025]
- Quantum computers are surprisingly random but that's a good thing - New Scientist - July 4th, 2025 [July 4th, 2025]
- Quantum computers could bring lost Bitcoin back to life: Heres how - Cointelegraph - July 4th, 2025 [July 4th, 2025]
- The Quantum Computing Industry Is Crowded. Why D-Wave, IonQ, and Rigetti Are a Buy. - Barron's - July 4th, 2025 [July 4th, 2025]