/ quantum courseBack to lab
PATHWAY PROGRESS0/27 passed

09 / Scientific applications · LESSON 20 / 27 · 25 MIN

Variational quantum eigensolver.

Build the prepare-measure-optimize loop and evaluate its limits.

Energy objective

Prepare a parameterized ansatz and estimate E(θ)=⟨ψ(θ)|H|ψ(θ)⟩. For normalized states, the variational principle gives E(θ)≥E₀. Measuring Pauli terms on repeated preparations supplies energy estimates.

A concrete example

For H=Z and |ψ(θ)⟩=Ry(θ)|0⟩, E(θ)=cos θ. θ=π gives |1⟩ and energy −1, the ground energy. For suitable Pauli rotations, the derivative is half the difference of energies at θ±π/2.

Practical optimization

Shot noise, imperfect ansätze, barren plateaus and hardware errors can obstruct optimization. Compare against classical methods with equivalent accuracy and include optimizer and measurement costs. A low estimated energy needs uncertainty reporting.

CHECK YOUR UNDERSTANDING

Lesson quiz

Answer all 2 questions correctly. Unlimited retries.

0/2 answered

1. Minimum energy of H=Z is…
2. Which part usually updates VQE parameters?

Checking your account…