QuantumAtlas

Quantum Algorithms Database

Quantum Monte Carlo Integration

Applies quantum amplitude estimation specifically to numerical integration problems, offering a quadratic speedup over classical Monte Carlo integration methods.

Year

1999 (Abrams and Williams); 2001-2002 (Novak; Heinrich); 2015 (Montanaro); 2018 (finance)

Inventor(s)

Daniel Abrams and Colin Williams; Erich Novak; Stefan Heinrich; Ashley Montanaro; Patrick Rebentrost, Brajesh Gupt, and Thomas Bromley

Speedup Type

Quadratic Speedup

Difficulty

★★★☆☆

Overview

Many problems in science and finance come down to computing an integral over a high-dimensional space: the expected payoff of a financial contract, the energy of a physical system, the probability of a rare failure. Classical Monte Carlo integration estimates the integral by averaging the integrand at random points, and its error shrinks only as one over the square root of the number of samples. Quantum Monte Carlo integration, based on amplitude estimation, shrinks the error as one over the number of quantum queries, a quadratic improvement.

This page concentrates on the integration workflow: how a function and a probability distribution are turned into quantum circuits, how the integral becomes an amplitude, and what the main costs are. For the underlying estimation primitive, see the pages on quantum amplitude estimation and quantum mean estimation.

The problem it solves

Numerically estimating the value of a complex integral, a task that classically often relies on random (Monte Carlo) sampling when direct calculation isn't feasible.

History and background

Abrams and Williams described quantum algorithms for numerical integrals and stochastic processes in 1999, and Novak and Heinrich analyzed the quantum complexity of integration in 2001 and 2002, showing that for smooth functions in many dimensions, the quantum query complexity improves quadratically over the best randomized classical algorithms. Montanaro gave a general quantum speedup of Monte Carlo methods in 2015.

Finance has been the main application driver. Rebentrost, Gupt, and Bromley described derivative pricing with quantum Monte Carlo in 2018, Stamatopoulos and coauthors implemented option pricing circuits in 2020, and Woerner and Egger treated risk analysis in 2019. Chakrabarti, Krishnakumar, Mazzola, Stamatopoulos, Woerner, and Zeng published a resource analysis in 2021 titled A Threshold for Quantum Advantage in Derivative Pricing, which found that useful advantage would need thousands of logical qubits and extremely fast logical gates.

How it works

Encodes the function being integrated into a quantum circuit's amplitudes, then uses amplitude estimation to extract the integral's value with quadratically fewer samples than classical Monte Carlo methods.

To integrate a function f over a region with probability distribution p, you want the expected value of f. Suppose f takes values between 0 and 1 after scaling. A quantum circuit can prepare a superposition over points x with amplitudes equal to the square root of p of x, then use a rotation to mark an ancilla qubit as good with probability f of x. The probability that the ancilla ends up good is then exactly the integral of f against p.

Amplitude estimation measures that probability to precision epsilon using about 1 over epsilon applications of the circuit, whereas random sampling would need 1 over epsilon squared samples. All of the difficulty of the original integral sits inside the circuit that loads the distribution and evaluates f coherently, so the speedup only helps if that circuit is not too expensive.

Loading the distribution is itself a task. For standard distributions such as normal or log-normal, there are efficient procedures. In 2002 Grover and Rudolph showed how to create a superposition corresponding to any efficiently integrable distribution. For distributions learned from data, a generative model such as a quantum GAN can be trained to approximate the distribution, and then used as the loader.

Step by step

  1. Discretize the integration domain into a grid of 2 to the n points, one for each basis state of n qubits, truncating tails if the domain is unbounded.
  2. Build a state-preparation circuit that loads the probability distribution into the amplitudes, for example using the Grover-Rudolph method or a trained generative model.
  3. Build an arithmetic circuit that computes the integrand f of x into a register, and a controlled rotation that sets an ancilla qubit to good with probability proportional to f.
  4. Combine these into a single circuit A, and construct the Grover operator from A and a reflection about the good subspace.
  5. Run amplitude estimation, in its canonical or iterative form, to estimate the probability of the good state with the desired accuracy and confidence.
  6. Rescale the estimate to get the integral, and apply any bias corrections for discretization and truncation errors.

A worked example

Take the price of a European call option, whose payoff is the maximum of the asset price at expiry minus the strike, or zero. Model the asset price as log-normal. Load a discretized log-normal distribution into the amplitudes of a register of eight qubits, which gives 256 price levels. Compute the payoff with a comparator and a rotation, and estimate the expected payoff with amplitude estimation.

To reach an error of one cent on a payoff scale of one hundred dollars, the relative accuracy is 10 to the minus 4, so classical Monte Carlo needs about 10 to the 8 samples while the quantum estimation needs about 10 to the 4 applications of the circuit. Each application, though, includes the entire pricing model, and resource studies show that the depth of that circuit is the main cost.

Complexity and resources

ItemDetail
Quantum cost for error epsilonAbout 1 over epsilon applications of the state-preparation and payoff circuit
Classical Monte CarloAbout 1 over epsilon squared samples
Quasi-Monte CarloCan reach roughly 1 over N convergence for smooth integrands, narrowing the quantum advantage
Resource estimates for derivative pricingThousands of logical qubits and millions to tens of millions of sequential non-Clifford layers
Discretizationn qubits for 2 to the n grid points per dimension, with additional registers for arithmetic

What hardware it needs

  • Fault-tolerant quantum hardware with fast logical gates, since the circuits are deep and must be repeated many times.
  • Efficient arithmetic and state-loading circuits, which dominate the qubit and gate count.
  • A classical pipeline for model calibration, discretization, and error analysis.

Applications

  • Pricing options and other derivatives, and computing risk measures such as value at risk and credit exposure.
  • High-dimensional integrals in physics, such as lattice gauge calculations.
  • Rare-event probability estimation in reliability engineering.
  • Bayesian inference, where posterior expectations are integrals.

Limitations and caveats

  • The quadratic speedup is modest and can be eaten by the overhead of error correction and by slow logical gates.
  • Classical variance reduction and quasi-Monte Carlo methods often improve classical convergence substantially.
  • The state-preparation circuit may cost as much as the sampling it replaces.
  • Path-dependent products need many qubits to represent the whole path.

Common misconceptions

  • Quantum Monte Carlo integration is not the same as the quantum Monte Carlo methods used in physics simulation on classical computers.
  • It does not reduce the cost to a single evaluation. It reduces the number of repetitions quadratically.
  • The advantage is not available on today's noisy devices.

How it compares

  • Classical Monte Carlo is simple and parallelizable, with error shrinking like one over the square root of the number of samples.
  • Quasi-Monte Carlo uses low-discrepancy sequences and can be much faster for smooth, low-effective-dimension integrands.
  • Quantum mean estimation handles general random variables with bounded variance and is the abstract version of this task.

Real-world impact

Directly applicable to the same finance, engineering, and scientific computing problems that already rely heavily on classical Monte Carlo integration — one of the more concretely useful near-term quantum algorithm categories.

Why it matters

Monte Carlo integration is among the most widely used numerical methods in the world, so it is the clearest candidate for a broadly applicable quantum speedup. Banks and technology companies have studied it in detail because the speedup, though quadratic, is provable.

The resource estimates also set realistic expectations. They show how much faster and larger fault-tolerant hardware must become before this application is worth running.

Frequently asked questions

What is quantum Monte Carlo integration?

A method for estimating integrals by encoding them as an amplitude in a quantum circuit and using amplitude estimation, which improves the error scaling from 1 over root N to 1 over N.

Is it the same as quantum Monte Carlo in physics?

No. Quantum Monte Carlo in physics is a family of classical sampling methods for quantum systems. This is a quantum algorithm for numerical integration.

What is the main application?

Financial derivative pricing and risk analysis, which rely heavily on Monte Carlo simulation.

How much hardware is needed?

Resource studies suggest thousands of logical qubits and very deep circuits, so a fault-tolerant machine is required.

Can classical methods compete?

Yes. Quasi-Monte Carlo and variance reduction can narrow the gap considerably for many integrands.

Keep learning

This page is written for educational purposes. Complexity statements describe the best known results at the time of review (September 30, 2026), and research in this area moves quickly, so check recent papers before relying on a specific bound.

← Back to Algorithms Database