Choosing the problem instances for a quantum optimization experiment is a research decision in its own right. A small instance may be useful for checking an algorithm, while a larger one may be more informative about the resources needed by a proposed computational approach.
Two preliminary measurements can help characterize an instance: how well it can be solved using classical methods, and the circuit resources required after compilation for the intended processor.
A small reference experiment
On a triangle with unit edge weights, every nonconstant binary assignment cuts two edges, while the two constant assignments cut none. The maximum cut is two; uniform independent bits give an expected cut of 1.5. An experiment reporting an average of 1.7 has reported a statistic across samples, not a feasible assignment with score 1.7. Define expected score, best of a specified number of samples and probability of reaching the exact optimum as distinct quantities. The same independent scoring function should evaluate every decoded sample.
Establish the classical reference
Begin with the original mathematical objective and constraints. Solve the same model that the quantum experiment is intended to address. For small instances, an exact method can establish the optimum and an accompanying proof or bound can certify it. For larger ones, report the best feasible solution found and any available lower or upper bound, with the computational budget.
The trajectory of a search is also useful. An optimizer that finds a good answer quickly and then makes little further progress provides different information from one that continues to improve over a much longer budget. Time to the final recorded value is a measure of that particular run, rather than proof that the instance is easy or difficult for all algorithms.
Record the time definition, seeds, hardware and any costs outside the search itself. If the experiment uses a constrained model, validate the returned decisions independently rather than comparing objective values of feasible and infeasible answers.
For a fixed experimental panel, include cases with accessible exact answers to check the scoring pipeline and separate test cases selected before comparing methods. Selecting only instances on which a preferred method has already performed well makes the experiment less informative.
Inspect the compiled quantum circuit
Next, construct the intended quantum circuit and compile it for the target device. The native gate count and depth can differ substantially from the logical circuit, particularly when the problem graph requires interactions between qubits that are distant on the processor.
Record the gate counts, depth, target connectivity, compilation budget and verification information. If using a noise model or published calibration data, state the assumptions separately. A simple product of estimated per-operation success probabilities can be a useful screening measure under an independent-error assumption, but it does not determine the actual distribution of measurement outcomes or the quality of the optimization result.
Combining the two views
The measurements suggest different experimental roles for different instances.
| Classical reference | Quantum circuit resources | Possible experimental purpose |
|---|---|---|
| Exact answer accessible | Modest | Validate the workflow against a certificate. |
| Exact answer accessible | Large | Study compilation overhead or the effect of circuit structure. |
| Improvement continues under the budget | Modest | Investigate algorithm behavior against strong classical references. |
| Improvement continues under the budget | Large | Study resource requirements and consider a decomposition into smaller subproblems. |
The categories are relative to the chosen budgets and hardware. The purpose is to design a collection of instances that answers the actual research question.
What to measure after execution
An experiment can report the distribution of feasible solution quality, the probability of attaining a specified target and the computational effort required. If the quantum routine is part of a hybrid algorithm, measure the effect on the full search, including classical processing and repeated calls to the device. The same evaluation criteria should apply to the classical reference.
The 4colors Optimizer for QUBO provides a classical solver for binary quadratic models. The 4colors Quantum Compiler helps examine the circuit implementation for a specified quantum processor. We also undertake Quantum Proof of Concept projects to design and evaluate hybrid computational approaches around the structure of an industrial problem.