A quantum routine may be intended to improve one part of a classical optimization algorithm rather than replace it. How can we design an experiment that establishes whether that contribution is useful?

The complete problem comes first

Consider an industrial optimization problem involving the selection and placement of cargo units. A candidate load plan must respect restrictions on payload, balance and structural loading. The original objective may reward the cargo carried or reflect other operational costs.

The full mathematical model can contain many interacting decisions. A classical search can improve a feasible plan by releasing a subset of its decisions and exploring alternative assignments, while temporarily keeping the other decisions fixed.

This creates a smaller subproblem. There may be several ways to solve it, including established mathematical programming methods, specialized classical heuristics and quantum routines suited to a particular representation.

The relevant result is the improvement each method makes to the complete original problem, set against the cost of generating and accepting its candidate.

Illustration. Suppose a feasible load has value 40. Releasing two placements allows a different feasible combination worth 45. The contribution of the subproblem is five units of the original objective, even if its internal encoded objective uses penalties and a different scale. If a decoded candidate violates a retained capacity rule, it must pass the same repair or rejection policy as any classical candidate before its value is counted.

Start with a controlled subproblem comparison

Take a representative collection of feasible starting solutions and define the rule used to select neighborhoods. Preserve the same original objective, constraints, decoding, repair and acceptance policy for every method. A fixed collection of neighborhoods measures the subroutine in isolation; neighborhoods selected adaptively inside the optimizer measure the complete search. Record the original subproblem, the fixed decisions and any transformations needed by a computational platform.

Where a reference solution is tractable, establish it with an appropriate exact method. Otherwise use a strong classical reference and report its status accurately. A best-known solution is not necessarily optimal.

A quantum method may require a binary model, an encoding of constraints or a circuit whose output needs decoding. These choices are part of the computational method and should be recorded. The candidate must be checked against the original constraints and evaluated using the original objective, after decoding.

This controlled comparison can tell us about the quality of candidates and the costs of producing them. It provides a starting point for understanding how a routine behaves.

Account for the whole subroutine

The time spent executing a quantum circuit is only one component of the cost of a quantum subroutine.

A call may involve preparing a subproblem, constructing and compiling a circuit, submitting it for execution, sampling, decoding results and performing classical postprocessing. Some work can be reused between calls, while other work must be repeated. Cloud queue time and billable device time are also distinct quantities.

For a scientific comparison, record these costs separately. Then identify the total resource measure relevant to the intended application. In a planning operation that needs an answer by a certain time, elapsed time may be particularly important. In a research experiment, device usage and circuit resources may be useful additional measures.

The same care applies to classical methods. Model construction, initialization and other relevant computation belong in an equivalent accounting of their costs.

Return to the complete optimization problem

An isolated subproblem experiment does not capture every effect on the wider search. Two routines may produce different candidates of similar quality, leading the algorithm into different parts of the search space.

To investigate the complete process, run comparable versions of the optimization algorithm, changing the subproblem method while keeping other design choices fixed where possible. Use multiple starting solutions and record random seeds, and record how the quality of feasible solutions develops over the available computation time.

This second experiment can reveal whether the improvements in the subproblem carry through to the whole problem. It can also show whether the cost of invoking a routine changes the number of neighborhoods the algorithm can explore.

From a result to a research decision

An evaluation of this kind can inform the next stage of algorithm development. It may identify a suitable subproblem family, a more useful representation or particular resource requirements that future hardware would need to meet.

At 4colors, our publicly reported aircraft-loading research examined hybrid methods on gate-based and photonic quantum hardware against classical references. The project illustrates the kind of industrial problem that motivates this evaluation approach.

For organizations investigating their own applications, our Quantum Proof of Concept offering brings mathematical modeling, classical reference methods, quantum algorithm development and experimental evaluation together.

Discuss a Quantum Proof of Concept.

Related reading: How to evaluate a quantum computing proof of concept and Quantum optimization use cases.

Project: Making better use of aircraft cargo capacity.