QuantumAtlas

Research Explained · Algorithms

Hardware-Efficient Variational Quantum Eigensolver for Small Molecules and Quantum Magnets

Abhinav Kandala, Antonio Mezzacapo, Kristan Temme, Maika Takita, Markus Brink, Jerry M. Chow, and Jay M. Gambetta

IBM T. J. Watson Research Center · 2017 · Difficulty ★★★☆☆

Reference

Kandala, A., Mezzacapo, A., Temme, K., Takita, M., Brink, M., Chow, J. M., & Gambetta, J. M. (2017). Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature, 549, 242-246.

This page is an independent explanation. For exact wording, figures, and data, read the original paper.

The short version

IBM researchers ran the variational quantum eigensolver on a superconducting processor using circuits built from the device's own native gates. They computed the ground-state energies of hydrogen, lithium hydride, and beryllium hydride, using up to six qubits, and of a small magnet model.

Key findings

  • A trial state made of layers of native single-qubit rotations and entangling gates can be prepared with short circuits and is flexible enough to represent ground states of small systems.
  • The method reached energies for hydrogen and lithium hydride close to the exact values, and a less accurate value for beryllium hydride, using up to six qubits.
  • The energy of a four-qubit Heisenberg-type magnet model was also computed.
  • The work demonstrated the first variational calculation of a molecule as large as beryllium hydride on a quantum device.

Background: why this paper was written

The variational eigensolver of 2014 had been demonstrated on a photonic chip with two qubits, and a group at Google and UC Santa Barbara had computed the energy of molecular hydrogen on superconducting qubits in 2016. These experiments used trial states derived from chemistry, such as unitary coupled cluster, which need deep circuits with many two-qubit gates, and so they are limited to the smallest molecules.

IBM's team asked a different question: what if the trial state is chosen to suit the hardware instead of the chemistry? A circuit built from the gates that the device performs best could be short, with fewer errors, even if it does not follow the structure of the molecule. The cost might be that the trial state is less well matched to the problem.

What the researchers did

The ansatz consists of alternating layers: a layer of single-qubit rotations about two axes on every qubit, with parameters to be optimized, and a layer of fixed entangling gates between connected qubits, repeated for a chosen depth. This structure is called hardware-efficient because the entanglers are the native two-qubit gates of the device, the cross-resonance gate on IBM's fixed-frequency transmons, and the depth can be set to what the coherence allows.

The molecular Hamiltonians were reduced to a few qubits, up to six, by using symmetries, and written as sums of Pauli operators. For each setting of the parameters, the team measured the expectation value of each Pauli term and summed them to estimate the energy, and they used the SPSA algorithm, which is a noisy-gradient optimizer, to update the parameters. They repeated this at several bond lengths to trace out the energy curve for each molecule.

They compared the results with exact values obtained classically and studied the effect of circuit depth. A deeper circuit has more parameters and can represent the ground state better, but it also suffers more from noise. For hydrogen and lithium hydride, the measured energies came close to the exact energies at the optimal depth, and for beryllium hydride the error was larger. The paper also applied the method to a small Heisenberg-like magnet to show that it is not limited to chemistry.

Results

The experiment demonstrated that the variational method works end to end on superconducting hardware for molecules with up to six qubits.

The measured energies were not always within chemical accuracy, about 1.6 millihartree, and the error grew with the size of the molecule, which showed the limits imposed by noise.

Later work by IBM and others added error mitigation, which improved the accuracy of such experiments, and the hardware-efficient ansatz became a common choice.

Key facts and numbers

ItemDetail
Year and venue2017, Nature
HardwareIBM superconducting transmon device, up to six qubits used for molecules
MoleculesH2, LiH, BeH2, and a four-qubit magnet model
OptimizerSPSA
Target accuracyChemical accuracy of about 1.6 millihartree, not always reached

Limitations and caveats

A hardware-efficient ansatz has no connection to the physics of the problem, so the number of parameters needed can grow quickly, and McClean and coauthors showed in 2018 that such circuits are prone to barren plateaus.

The molecules are small and classical methods solve them exactly. The experiment is a demonstration of capability, not an advantage.

Measurement cost, noise, and optimizer difficulty all grow with system size, and accuracy beyond a few qubits remained out of reach for this approach.

Why it matters

The paper set the standard recipe for variational experiments on superconducting hardware, introduced the hardware-efficient ansatz widely used in later studies, and, with its limits, showed why trainability and noise are central problems in near-term algorithms.

What happened next

The paper is among the most cited experiments in quantum computing and it shaped the early study of variational algorithms, including the use of hardware-aware circuits. IBM's Qiskit includes the ansatz as a standard template.

It also connected experiments with theory on error mitigation, since the 2019 follow-up by Kandala and coauthors used zero-noise extrapolation to improve results from the same kind of circuit.

How to read the original paper

The paper is clear and includes the circuit diagrams and energy curves. The supplementary information has the details of the Hamiltonian mapping and the calibration.

Compare it with the 2014 photonic VQE paper and with McClean's barren plateau paper on this site to see the strengths and weaknesses of the approach.

Original abstract (paraphrased)

Quantum computers can be used to address electronic-structure problems and problems in materials science and condensed matter physics that can be formulated as interacting fermions problems. The paper implements a variational quantum eigensolver using trial states prepared with a short-depth, hardware-efficient circuit, and applies it to find the ground-state energies of molecules including hydrogen, lithium hydride, and beryllium hydride, and of a quantum magnet model, on a superconducting quantum processor.

Frequently asked questions

What is a hardware-efficient ansatz?

A trial circuit made of layers of the device's native single-qubit and two-qubit gates, designed to be short and easy to run, even though it does not follow the structure of the problem.

What molecules were computed?

Hydrogen, lithium hydride, and beryllium hydride, plus a small quantum magnet model, using up to six qubits.

Did this show quantum advantage?

No. Classical computers solve these molecules exactly, and the experiment demonstrated the method.

Keep exploring

Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.

← Back to all research papers