Quantum Algorithms Database
Quantum Natural Gradient Descent
An improved optimization technique for training variational quantum algorithms like VQE and QAOA, accounting for the underlying geometry of quantum state space to converge faster.
Year
2019 (arXiv); 2020 (published in Quantum)
Inventor(s)
James Stokes, Josh Izaac, Nathan Killoran, and Giuseppe Carleo
Speedup Type
Heuristic (No Proven Speedup)
Difficulty
★★★★☆
Overview
Variational quantum algorithms such as VQE and QAOA tune the angles of a parameterized circuit to minimize a cost. The usual method is gradient descent, which moves the angles in the direction of steepest descent as measured by ordinary Euclidean distance in parameter space. But two different sets of angles can produce nearly identical quantum states, or very different ones, and the plain gradient ignores this.
Quantum natural gradient corrects for that. It measures steps by how much the quantum state changes, not by how much the angles change, using the Fubini-Study metric tensor, which is a quantum version of the Fisher information matrix. The method often converges in fewer iterations than ordinary gradient descent, at the price of extra circuit evaluations to estimate the metric.
The problem it solves
Efficiently tuning the adjustable parameters in hybrid quantum-classical algorithms (like VQE), where standard optimization techniques often converge slowly or get stuck.
History and background
Natural gradient descent was introduced in classical machine learning by Shun-ichi Amari in 1998, using the Fisher information of a probability model to precondition the gradient. In quantum physics, a related idea appeared in variational Monte Carlo as stochastic reconfiguration, introduced by Sorella in 1998 and developed by Carleo and Troyer for neural-network quantum states.
Stokes, Izaac, Killoran, and Carleo combined these threads in 2019 and published Quantum Natural Gradient in the journal Quantum in 2020. Their paper showed how to estimate the metric tensor of a parameterized circuit on hardware, including a block-diagonal approximation that needs far fewer circuits. Yamamoto and others noted connections to imaginary-time evolution, and subsequent work proposed stochastic versions such as QN-SPSA by Gacon and coauthors in 2021 that reduce the cost further. Implementations are available in software such as PennyLane.
How it works
Adjusts the classical optimization step size and direction based on the quantum state space's natural geometric structure (the quantum Fisher information metric), rather than treating all parameter directions equally.
Imagine climbing down a hill while measuring distance in steps of the same size in every compass direction. If the terrain is a long narrow valley, the steepest direction by that measure zigzags across the valley instead of heading along it. A better method uses a measure of distance that stretches along the valley, so that the descent direction points where the real terrain slopes.
In a variational circuit, the real terrain is the space of quantum states. A small change in one angle might rotate the state a lot, and a small change in another might hardly move it. The Fubini-Study metric tensor records how much the state changes per unit change of each pair of angles. Multiplying the gradient by its inverse, the natural gradient step, moves the parameters so that the state changes by a controlled amount in the most useful direction.
For a single pure state the Fubini-Study metric is one quarter of the quantum Fisher information. Its entries depend on overlaps between derivatives of the state with respect to the parameters. For common layered circuits these can be measured with small modifications of the circuit, using the same type of shifts used for gradients.
Step by step
- Choose a parameterized circuit and a cost function, such as the energy of a Hamiltonian.
- Compute the gradient of the cost with respect to each parameter, for example with the parameter-shift rule.
- Estimate the metric tensor of the circuit at the current parameters, either the full matrix or a block-diagonal approximation, using additional circuit evaluations.
- Add a small regularization term to the metric to keep it invertible, then solve the linear system for the natural gradient direction.
- Update the parameters by a step of size equal to the learning rate times the natural gradient direction.
- Repeat until the cost converges or the gradient becomes small.
A worked example
Suppose a two-parameter circuit has a cost landscape that is a long narrow valley, so that plain gradient descent needs hundreds of small steps because its direction oscillates across the valley. The metric tensor shows that one parameter changes the state ten times more than the other. The natural gradient rescales the step to account for that, and the descent follows the valley and converges in a few dozen steps.
For a circuit with 100 parameters, the full metric has 10,000 entries, each requiring several circuit evaluations, which makes each natural-gradient step far more expensive than a plain gradient step. The block-diagonal approximation estimates only the blocks for each layer, which cuts the cost to a number comparable with the gradient itself.
Complexity and resources
| Item | Detail |
|---|---|
| Metric estimation (full) | On the order of the square of the number of parameters circuit evaluations per step |
| Metric estimation (block-diagonal) | On the order of the number of parameters, comparable to the gradient cost |
| Stochastic versions (QN-SPSA) | A constant number of circuit evaluations per step |
| Classical linear algebra | Inverting a matrix of size equal to the number of parameters, usually cheap |
| Convergence | Often far fewer iterations than plain gradient descent, but no general guarantee |
What hardware it needs
- A near-term quantum device capable of running parameterized circuits and measurement variants.
- More shots per step than plain gradient descent, to estimate the metric reliably.
- A classical optimizer that can solve small linear systems each iteration.
Applications
- Training VQE circuits for molecules and materials.
- Optimizing QAOA angles for combinatorial problems.
- Training quantum neural networks and quantum machine learning models.
- Variational simulation of imaginary-time evolution, where the metric enters naturally.
Limitations and caveats
- The cost per step is higher, which can offset the benefit of fewer steps on noisy hardware.
- Noise in the metric estimate can make the update unstable, so regularization is needed.
- It does not avoid barren plateaus, where gradients vanish.
- Benefits depend on the circuit and cost, and there are cases where it does not help.
Common misconceptions
- Quantum natural gradient is not a quantum speedup. It is a better classical optimizer for quantum circuits.
- It does not guarantee a global minimum.
How it compares
- Plain gradient descent and Adam are simpler and cheaper per step.
- Gradient-free methods such as COBYLA are robust to noise but scale poorly with the number of parameters.
- Quantum imaginary-time evolution and variational imaginary time use the same metric, with a physical interpretation.
Real-world impact
Has demonstrated meaningfully faster convergence for training variational quantum algorithms in practice, directly improving the practicality of NISQ-era quantum chemistry and optimization applications.
Why it matters
Training variational circuits is one of the main bottlenecks of near-term quantum algorithms, and a better optimizer can cut the number of expensive quantum evaluations. Quantum natural gradient is a clear example of using geometry to improve training.
It also shows the cross-fertilization between quantum computing and machine learning, since the method grew from information geometry on one side and variational Monte Carlo on the other.
Frequently asked questions
What is quantum natural gradient?
An optimization method for variational quantum circuits that scales gradient steps by the inverse of the Fubini-Study metric, so that steps correspond to equal changes in the quantum state.
Is it faster than ordinary gradient descent?
It often needs fewer iterations, but each iteration costs more because the metric must be estimated.
What is the Fubini-Study metric?
A measure of distance between quantum states that depends on their overlap. For a parameterized circuit it gives a matrix of how the state changes with each parameter.
Does it solve barren plateaus?
No. If gradients vanish exponentially, the natural gradient does not fix that.
Where can I use it?
It is implemented in software such as PennyLane for training variational circuits.
Keep learning
- Related algorithm: Variational Quantum Eigensolver (VQE)
- Related algorithm: Quantum Approximate Optimization Algorithm (QAOA)
- Related algorithm: Quantum Gradient Descent
- Related algorithm: Quantum Imaginary Time Evolution (QITE)
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.