Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Classical optimizer

A classical optimizer is an ordinary-computer routine that adjusts variables to improve an objective. In variational quantum algorithms, it chooses circuit parameters using estimates returned by quantum measurements.

Edition released Entry updated Coverage: Overview
On this page

Plain-language explanation

The optimizer may use gradients, approximate gradients or only objective values. Its behavior depends on initialization, step sizes, noise and the shape of the objective landscape. A quantum device does not automatically remove these classical search difficulties. Different optimizer choices can materially change the reported result, so they belong in an honest explanation of a hybrid application.

This reveals why a quantum algorithm can spend considerable time outside the quantum processor. The quality of the classical search can be as important as the circuit design.

Example

A molecular calculation estimates the energy for one parameter setting. The optimizer proposes another setting, waits for new estimates and continues. If measurement fluctuations are larger than the expected improvement, it may make unreliable decisions or need additional measurements before progressing.

Scope and limits

The optimizer generally does not know the true answer in advance. A reported stopping point can reflect a budget limit or local convergence rather than a proof of global optimality.

Variational ansatz is a related idea. The ansatz defines the candidate states; the optimizer selects parameter values within that family. Better optimization cannot compensate for every limitation of the chosen state family.

Sources

  • Peruzzo and colleagues · Reference · DOI link
    Verification scope

    Recorded source check ·

    VQE construction and small proof-of-principle chemistry

    Demonstration does not establish useful commercial advantage

  • IBM Quantum · Reference · quantum.cloud.ibm.com
    Verification scope

    Recorded source check ·

    Variational trial states and chemistry ansatz

    Tutorial examples are not general optimality guarantees

  • PennyLane / Xanadu · Documentation · docs.pennylane.ai
    Verification scope

    Recorded source check ·

    Differentiation and training interfaces

    Conceptual reference; versions and supported capabilities must be checked before implementation