COp

Classical Optimiser Loop

Near-Term Hybrid Algorithms

The classical half of every variational algorithm: an optimiser (COBYLA, SPSA, Adam, gradient-based methods) proposes parameters, the quantum device returns a measured cost, and the loop repeats until convergence or budget exhaustion. The loop is the bottleneck nobody puts in headlines — each iteration may need thousands of circuit executions for one noisy cost estimate, and total shot counts for useful problems routinely reach billions.

Key factShot scaling: estimating an energy to precision epsilon needs O(1/epsilon^2) measurements per iteration; chemical accuracy (epsilon ~ 1.6 mEh) implies ~10^4-10^6 shots per point before optimiser iterations are counted.
Leader lensWhen evaluating a variational demo, ask for the total number of circuit executions, not the circuit depth. The loop, not the circuit, is usually the real cost.