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

All sections

Saved
Algorithms and useful work

Which solver gives the best result before one fixed deadline?

The best answer depends on how many complete attempts fit

Source research checked . Teaching calculations are ideal models.

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.

Synthetic decision model

Start with the 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.

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

Synthetic the best answer depends on how many complete attempts fit plot: Quality / probability versus Strategy.
Synthetic baseline case. Horizontal axis: Strategy. Vertical axis: Quality / probability. Curves show Expected best quality, Top-quality probability. These are computed teaching examples, not measured hardware results.

Compare the input regimes

Each case uses invented inputs. The results follow from this model and do not describe measured hardware.

Baseline regime
Complete inputs
Time budget, seconds
80
Setup per strategy, seconds
10
A seconds per run
4
B seconds per run
15
A high-quality probability
0.04
B high-quality probability
0.3
Quality levels
0.4, 0.7, 1
A fraction of non-top outcomes at lowest quality
0.55
B fraction of non-top outcomes at lowest quality
0.3
  1. Subtract setup before counting complete runs: A fits 17; B fits 4. An unfinished run contributes no result.
  2. For independent repeats, the probability all answers lie below a quality level is the single-run cumulative probability raised to the number of runs. This gives the distribution of the best answer.
  3. The top-quality probabilities are 0.500413 and 0.7599. Summing the quality-level increments times their exceedance probabilities gives expected best values 0.850118 and 0.927387.
Baseline regime · synthetic calculated results
Calculated quantitySynthetic result
Completed A runs17
Completed B runs4
A probability of top-quality answer0.50041319232
B probability of top-quality answer0.7599
A expected best quality0.850118178094
B expected best quality0.927386557
Complete single-run quality distributions
QualityA probabilityB probability
0.40.5280.21
0.70.4320.49
10.040.3

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.

Comparison regime
Complete inputs
Time budget, seconds
180
Setup per strategy, seconds
20
A seconds per run
6
B seconds per run
20
A high-quality probability
0.07
B high-quality probability
0.4
Quality levels
0.4, 0.7, 1
A fraction of non-top outcomes at lowest quality
0.55
B fraction of non-top outcomes at lowest quality
0.3
  1. Subtract setup before counting complete runs: A fits 26; B fits 8. An unfinished run contributes no result.
  2. For independent repeats, the probability all answers lie below a quality level is the single-run cumulative probability raised to the number of runs. This gives the distribution of the best answer.
  3. The top-quality probabilities are 0.84845 and 0.983204. Summing the quality-level increments times their exceedance probabilities gives expected best values 0.954535 and 0.994961.
Comparison regime · synthetic calculated results
Calculated quantitySynthetic result
Completed A runs26
Completed B runs8
A probability of top-quality answer0.848449748158
B probability of top-quality answer0.98320384
A expected best quality0.954534916373
B expected best quality0.994960821401
Complete single-run quality distributions
QualityA probabilityB probability
0.40.51150.18
0.70.41850.42
10.070.4

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.

Extended regime
Complete inputs
Time budget, seconds
300
Setup per strategy, seconds
32
A seconds per run
6
B seconds per run
26
A high-quality probability
0.106
B high-quality probability
0.52
Quality levels
0.4, 0.7, 1
A fraction of non-top outcomes at lowest quality
0.55
B fraction of non-top outcomes at lowest quality
0.3
  1. Subtract setup before counting complete runs: A fits 44; B fits 10. An unfinished run contributes no result.
  2. For independent repeats, the probability all answers lie below a quality level is the single-run cumulative probability raised to the number of runs. This gives the distribution of the best answer.
  3. The top-quality probabilities are 0.992775 and 0.999351. Summing the quality-level increments times their exceedance probabilities gives expected best values 0.997832 and 0.999805.
Extended regime · synthetic calculated results
Calculated quantitySynthetic result
Completed A runs44
Completed B runs10
A probability of top-quality answer0.992774784133
B probability of top-quality answer0.999350749379
A expected best quality0.99783243524
B expected best quality0.999805223664
Complete single-run quality distributions
QualityA probabilityB probability
0.40.49170.144
0.70.40230.336
10.1060.52

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.

Try the reasoning: Which strategy maximizes the expected best score, and which maximizes top-quality probability? Would a different deadline change the choice?

Back to this lab in the catalog