Variational Quantum Eigensolver (VQE)

Research Depth 128 in the knowledge graph I know this Set as goal
Unlocks 5 downstream topics
VQE variational NISQ quantum-chemistry hybrid-algorithm

Core Idea

The variational quantum eigensolver (VQE) is a hybrid quantum-classical algorithm that finds the ground-state energy of a Hamiltonian by variationally optimizing a parameterized quantum circuit (ansatz). The quantum computer prepares a trial state |psi(theta)> and measures the expectation value <psi(theta)|H|psi(theta)>; a classical optimizer updates theta to minimize this energy. By the variational principle, the measured energy is always an upper bound on the true ground-state energy. VQE is designed for near-term noisy intermediate-scale quantum (NISQ) devices, requiring shallow circuits that tolerate noise, at the cost of requiring many measurement repetitions and classical optimization iterations.

Explainer

Quantum chemistry is one of the most promising near-term applications of quantum computing. The core computational problem is finding the ground-state energy of a molecular Hamiltonian — determining how electrons arrange themselves to minimize energy. For small molecules, classical computers handle this well, but the Hilbert space grows exponentially with the number of electrons, making exact classical solutions intractable beyond about 50 electrons. Quantum computers can represent quantum states natively, but fault-tolerant algorithms like quantum phase estimation require error-corrected qubits that are not yet available at scale. VQE fills this gap by running on noisy, near-term hardware.

The algorithm has a simple structure. Step 1: Choose a parameterized quantum circuit U(theta) — the ansatz — that maps |0>^n to a trial state |psi(theta)> = U(theta)|0>^n. Step 2: Prepare |psi(theta)> on the quantum computer and estimate E(theta) = <psi(theta)|H|psi(theta)> by decomposing H into a sum of Pauli strings and measuring each term's expectation value. Step 3: Feed E(theta) to a classical optimizer, which proposes new parameters theta'. Step 4: Repeat until convergence. The final E(theta*) is an upper bound on the ground-state energy, with equality when the ansatz can express the true ground state.

The decomposition of H into measurable terms is a key practical step. A molecular Hamiltonian in second-quantized form is mapped to qubits using transformations like Jordan-Wigner or Bravyi-Kitaev, producing a sum of O(N^4) Pauli strings for N spin-orbitals. Each Pauli string's expectation value is estimated from repeated measurements (shots). The total number of measurements required can be very large — this measurement overhead is a significant bottleneck. Techniques like grouping commuting Pauli terms and using classical shadows reduce this cost.

VQE's main challenges are barren plateaus (exponentially vanishing gradients for deep or random circuits, making optimization intractable), noise (gate errors bias the energy estimate, though error mitigation techniques can partially compensate), and local minima in the optimization landscape. Despite these challenges, VQE has been demonstrated on real quantum hardware for small molecules (H2, LiH, BeH2) and remains a leading candidate for achieving quantum advantage in chemistry. The broader principle it embodies — using the quantum computer as a state preparation and measurement device while offloading optimization to a classical computer — is the template for all NISQ-era variational algorithms.

Practice Questions 3 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsGreen's TheoremSurface Integrals and Flux of Vector FieldsSurface Integrals and Flux of Vector FieldsDivergence Theorem: Flux and OutflowDivergence TheoremElectric FluxGauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesThe Electromagnetic SpectrumBlackbody Radiation and Planck's LawPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthHeisenberg Uncertainty PrincipleWavefunction and the Born RuleThe Schrödinger EquationSchrödinger Equation: Time-Dependent FormWavefunctions and Boundary ConditionsBoundary Value Problems in ElectrostaticsParticle in a Box (Infinite Square Well)Quantum NumbersSpin-1/2 SystemsPauli MatricesQuantum GatesQuantum CircuitsVariational Quantum Eigensolver (VQE)

Longest path: 129 steps · 672 total prerequisite topics

Prerequisites (3)

Leads To (3)