variational quantum eigensolver (VQE)
Imagine you are trying to find the lowest point in a foggy valley, but you can only feel the slope under your feet and take small steps. VQE works in much that spirit. It is a hybrid algorithm — part quantum, part ordinary classical computer — built to estimate the lowest energy state (the ground state) of a quantum system, such as a molecule. The quantum computer prepares a trial state using a shallow, tunable circuit whose knobs are a set of numbers (parameters), then measures it to estimate that state's energy. A classical optimizer running on a normal computer reads the estimate, nudges the parameters to try to lower it, and the loop repeats until the energy stops dropping.
Why bother with this back-and-forth? Because of a guarantee from physics called the variational principle: the energy you measure for any trial state can never dip below the true ground-state energy. So if you keep adjusting the circuit to push the measured energy down, you are squeezing toward the real answer from above — you always know you have an upper bound, never a false low. The circuit stays short on purpose, which matters because today's hardware is noisy and loses its quantum behavior quickly. By offloading the heavy optimization to a classical computer, VQE asks the fragile quantum part to do only a little, which is why it is one of the leading candidates for getting genuine value out of current NISQ-era machines.
VQE adjusts the circuit's parameters theta to lower the measured energy E(theta), which the variational principle keeps at or above the true ground-state energy E_ground.
VQE is promising but not proven: noise, measurement overhead, and 'barren plateaus' (flat optimization landscapes where the slope vanishes) can stall it, and there is no general guarantee it beats the best classical methods for a given problem — so treat reported speedups as case-by-case, not a blanket quantum advantage.