Experimental Realization of the Markov Chain Monte Carlo Algorithm on a Quantum Computer

This paper demonstrates the successful experimental implementation of a quantum Markov Chain Monte Carlo algorithm on Quantinuum's H2 and Helios quantum computers, proving that accurate results can be achieved on current Noisy Intermediate Scale Quantum (NISQ) hardware by directly operating on physical qubits.

Baptiste Claudon, Sergi Ramos-Calderer, Jean-Philip Piquemal

Published Tue, 10 Ma
📖 4 min read🧠 Deep dive

Imagine you are trying to find the average height of everyone in a massive, crowded stadium. You can't ask everyone, so you need to take a sample.

The Old Way (Classical Computers):
Traditionally, computers do this by sending out a "random walker." Imagine a person wandering through the stadium, flipping a coin to decide whether to move left or right. They keep walking until they've visited enough seats to get a good idea of the crowd's average height. This is called a Markov Chain Monte Carlo (MCMC). It works, but it's slow. The walker might get stuck in a corner or wander in circles for a long time before seeing the whole stadium.

The New Way (Quantum Computers):
Quantum computers are like having a magical superpower: superposition. Instead of sending one walker, a quantum computer can send out a "ghostly cloud" of walkers that explores every path in the stadium simultaneously. This allows them to find the answer much faster—specifically, they can do it with a "quadratic speedup," meaning if the classical method takes 100 steps, the quantum method might only need 10.

What Did These Scientists Do?

This paper is about testing if this magical superpower actually works on real, current-day quantum computers.

The researchers (from Qubit Pharmaceuticals and Singapore) tried to run these "quantum random walkers" on two specific quantum computers made by a company called Quantinuum (the H2 and Helios machines). These machines are what scientists call NISQ devices (Noisy Intermediate-Scale Quantum).

Think of NISQ devices like a brand-new, high-performance race car that still has a few loose bolts and a slightly foggy windshield. They are powerful, but they make mistakes (noise) easily. The goal of this experiment was to see if we could drive this car fast enough to win the race before the engine overheats.

The Three Experiments (The "Encodings")

To make the quantum computer understand the "random walker," the scientists had to translate the math into a language the machine speaks. They tried three different translation methods (called "encodings"):

  1. The "Mix-and-Match" Method (Linear Combination of Unitaries):

    • The Analogy: Imagine you have a recipe that says, "Mix 75% of this ingredient with 25% of that one." The quantum computer doesn't have a "mix" button, so the scientists built a special machine that flips a coin to decide which ingredient to use, then combines the results.
    • The Result: It worked! They successfully created the "stationary state" (the perfect average distribution of the crowd) and used it to calculate an average value.
  2. The "Mirror Maze" Method (Szegedy's Walk):

    • The Analogy: This is like setting up a mirror maze where every path reflects perfectly. The scientist designed a specific set of mirrors (quantum gates) so that if you walk through, you naturally end up in the right spot without getting lost.
    • The Result: This also worked perfectly. The computer found the right spot exactly 50% of the time, just as the math predicted.
  3. The "Dual Space" Method (Controlled-SWAP):

    • The Analogy: This is the most complex one. Instead of just tracking the walker, they tracked the walker and a "shadow" version of the walker at the same time. It's like having a dance partner who mirrors your every move to ensure you don't trip. This method is designed to be very efficient for complex problems.
    • The Result: They tested if the "shadow" stayed in sync with the walker. It mostly did, though the noise in the machine caused a few missteps.

The Big Takeaway

The most exciting part of this paper is the conclusion:

Even though these quantum computers are "noisy" (they make mistakes), the scientists managed to run complex algorithms that involved hundreds of steps (gates) and still got the right answer most of the time.

  • The "Loose Bolts" Problem: In the past, people thought quantum computers were too fragile to do anything useful until we built perfect, error-free machines (which might take decades).
  • The "Good Enough" Reality: This paper proves that we don't have to wait for perfection. Even with current, imperfect machines, we can run useful simulations for chemistry, physics, and finance.

The Bottom Line

Think of this paper as a test drive of a prototype self-driving car. The car isn't perfect yet; it swerves a little and gets confused by rain. But the driver proved that, with the right software, the car can actually navigate a complex city and get you to your destination.

This gives scientists and companies hope. It means we can start using these "imperfect" quantum computers today to solve real-world problems like designing new drugs or optimizing financial portfolios, rather than waiting for the "perfect" version to arrive in the distant future.