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

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Quantum optimization

Quantum optimization uses quantum processes as part of a method for finding low-cost or high-value solutions to a specified mathematical objective.

Edition released Coverage: Overview · Technical · Research
On this page

Definition and plain explanation

An optimization problem includes variables, an objective and constraints. A quantum method may search for a solution, sample candidate solutions or estimate information used by a classical optimizer. Quantum annealing, QAOA and Grover-type search use different mechanisms and provide different guarantees. None supplies a general efficient solution to every NP-hard problem.

Mechanism and input model

A discrete objective can be encoded in a diagonal Hamiltonian whose eigenvalues equal costs. Preparing a low-energy state then produces good candidates when measured. The mapping must include constraints and its coefficient precision. A variational method also needs a classical parameter-selection process, repeated measurements and a stopping rule. The cost of encoding a real business problem can dominate a small illustrative circuit.

Solved binary problem

Let C(x0,x1)=3x0+2x1-4x0x1 for bits x0,x1. The four costs are C(00)=0, C(01)=2, C(10)=3 and C(11)=1. If the constraint x0+x1=1 is imposed, only 01 and 10 are feasible, and 01 is optimal with cost 2. Ignoring the constraint would incorrectly return 00. Adding penalty A(x0+x1-1)^2 with A=4 gives penalized costs 4,2,3,5, preserving the feasible optimum.

Evaluating an advantage claim

Compare time to a defined solution quality or success probability with strong classical solvers on the same instances. Include parameter training, embedding, repeated runs, readout, repair of invalid candidates and verification. A lower expected energy can coexist with a lower probability of obtaining the single best feasible solution; choose the metric that matches the intended task.

Misconceptions and limitations

An exponentially large search space is not sufficient evidence that a quantum method is better. Classical solvers can exploit convexity, sparsity, decomposition or structure. A favorable average over one instance distribution does not transfer automatically to another. An exact optimum found on a small example demonstrates correctness of that example, not scalable commercial usefulness.

Feasibility and objective value are different outputs

An optimization task specifies both allowed candidates and a rule for comparing their values. A low numerical objective on an invalid candidate is not a good solution. A quantum routine returning samples must therefore report feasible-sample probability as well as the objective statistics conditional on feasibility. Conditioning can be scientifically appropriate, but it cannot erase the cost of rejected samples.

Suppose a sampler produces a feasible candidate with probability 0.2, and among feasible candidates it returns an optimum with probability 0.5. The unconditional optimum probability per sample is 0.1, not 0.5. Under independent sampling, the probability of at least one optimum after n samples is 1-(0.9)^n. To exceed 0.95, n must satisfy n>=ln(0.05)/ln(0.9), giving a smallest integer 29. Reporting only the conditional optimum rate would suggest five or fewer samples under a different calculation and conceal the feasibility cost.

A solved exact baseline for four candidates

For the synthetic objective C(x0,x1)=3x0+2x1-4x0x1, enumeration gives C(00)=0, C(01)=2, C(10)=3 and C(11)=1. The unconstrained minimizer is 00. If the constraint x0+x1=1 is imposed, only 01 and 10 remain, and the constrained minimizer is 01 with value 2. The change in answer comes from a different mathematical problem, not from an improved optimizer.

This tiny example has an exact classical baseline requiring only four evaluations. A quantum implementation can illustrate encoding, interference or sampling, but it cannot support a claim of computational advantage on the basis of this instance alone. The appropriate achievement is a controlled demonstration of a method or component.

Approximation, scaling and industrial interpretation

For larger tasks, classical baselines include exact solvers, approximation algorithms, heuristics and problem-specific methods. The comparison depends on whether the goal is certified optimality, a feasible solution within a time limit, a distribution of good candidates or an estimate of a value. An approximation ratio may be meaningful for one sign convention and objective family but not transfer unchanged to another. Constant shifts in the objective preserve the optimizer while changing some naive ratios, so reported metrics must be chosen carefully.

Industrial constraints can include uncertainty, changing inputs and penalties that are not captured by a simple benchmark. A useful quantum application record states the mathematical reduction and the limitations of that reduction. It does not convert a favorable optimization score into a guarantee of business value.

The best answer depends on how many complete attempts fit

A fast solver can make many modest attempts while a slower solver spends more effort on each attempt. Comparing only their best single-run success probabilities ignores that operational difference. Comparing only runtime ignores the quality distribution. A fixed wall-clock deadline gives the two quantities a common setting. The constructed strategies return one of three quality levels with known probabilities. The distribution of the best answer after repeated independent runs follows from the probability that every answer stays below a threshold. That gives both the chance of reaching top quality and the expected best score. These are related but distinct summaries of the same campaign. The lab includes a one-time setup cost before counting complete runs. It does not grant either strategy free tuning or changing instances. The cases can enrich an optimization guide by showing how a quality-versus-time claim should be framed. A real benchmark would need actual distributions from matched instances, confidence intervals and a clear policy for incomplete runs. The synthetic result supplies a comparison design, not evidence for a quantum solver advantage.

Model: Completed runs = floor((deadline-setup)/time per run), with minimum zero; P(best answer below threshold) = P(one answer below threshold)^runs; Expected best quality is a sum of quality increments times exceedance probabilities Assumptions: Runs are independent and their distributions do not change. Both strategies use the same quality scale and fixed problem. Incomplete runs return no usable answer.

B has the higher expected best quality under the declared deadline. The quality scale, distributions and runtimes are invented. This comparison is meaningful only if both methods solve the same fixed instance and use the same scoring rule; repeated attempts must not silently receive new tuning information.

Limitations: Repeated tuning can violate identical-run assumptions. A mean best score can hide a tail of poor outcomes.

Specified synthetic inputs
QuantityValue
Time budget, seconds80
Setup per strategy, seconds10
A seconds per run4
B seconds per run15
A high-quality probability0.04
B high-quality probability0.3
Quality levels0.4,0.7,1
A fraction of non-top outcomes at lowest quality0.55
B fraction of non-top outcomes at lowest quality0.3
Calculated baseline results · Approximate values use up to 6 significant digits.
Calculated quantitySynthetic result
Completed A runs17
Completed B runs4
A probability of top-quality answer0.500413
B probability of top-quality answer0.7599
A expected best quality0.850118
B expected best quality0.927387
Complete single-run quality distributions · Approximate values use up to 6 significant digits.
QualityA probabilityB probability
0.40.5280.21
0.70.4320.49
10.040.3

A best-known answer is not automatically optimal

Use one fictional minimization problem. A feasible solution satisfies every constraint. Its objective is an upper bound on the minimum. A certified lower bound limits how much better any feasible answer could be.

Model: Certified lower bound ≤ optimum ≤ best feasible objective Finding 7 improves on 8 but leaves open whether 6 is attainable. Only the final row proves 7 optimal under these exact assumptions. QOBLIB accepts feasible heuristic results; acceptance alone is not an optimality certificate.

Invented values, not leaderboard results. Real solver tolerances, instance definitions and resource budgets must remain explicit. Optimality alone does not demonstrate quantum advantage.

Synthetic example results
Evidence availableCertified lower boundFeasible objectiveRemaining gap
Initial answer682
Better answer671
Matching certificate770

Media reference: A complete hypothetical scheduling task

A concrete scheduling task can require each job to occupy exactly one time slot, each machine to process at most one job at a time and specified precedence relations to hold. The output is a feasible schedule with a declared makespan target. Comparing solvers requires the same instance information, feasibility checks, time budget and permitted approximation. A lower objective value from an infeasible assignment is not an improvement. A scheduling manager could use a valid result to allocate equipment or reduce completion time; that decision supplies the application context before any choice of quantum algorithm or claim of advantage.

Sources

  • Edward Farhi; Jeffrey Goldstone; Sam Gutmann · · Research paper · Publication status unspecified · arXiv
    Verification scope

    A Quantum Approximate Optimization Algorithm
    Edward Farhi; Jeffrey Goldstone; Sam Gutmann · Research paper · Preprint recorded · arXiv

    Metadata and abstract checked ·

    Problem- and depth-specific approximation results; no general efficient solution of NP-hard problems follows.

  • Roman Orus; Samuel Mugel; Enrique Lizaso · Review article · Preprint recorded · arXiv
    Verification scope

    Available excerpt checked ·

    Historical prospective survey. Commercial forecasts are not adopted as established results; examples are mathematical, not financial advice.

  • Research paper · Peer-reviewed publication recorded · nature.com · DOI 10.1038/s41467-023-37587-6
    Verification scope

    Available excerpt checked ·

    Publisher abstract and selected introduction available in search; direct open failed. Findings concern generic ground-state chemistry and stated heuristics, not impossibility of every chemistry advantage.

  • Reference · zib-aopt.github.io
    Verification scope

    Citation identity checked ·

    This check establishes the source title and link. Scientific claim review is separate.