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.
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
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
- Subtract setup before counting complete runs: A fits 17; B fits 4. An unfinished run contributes no result.
- 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.
- 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.
| Calculated quantity | Synthetic result |
|---|---|
| Completed A runs | 17 |
| Completed B runs | 4 |
| A probability of top-quality answer | 0.50041319232 |
| B probability of top-quality answer | 0.7599 |
| A expected best quality | 0.850118178094 |
| B expected best quality | 0.927386557 |
| Quality | A probability | B probability |
|---|---|---|
| 0.4 | 0.528 | 0.21 |
| 0.7 | 0.432 | 0.49 |
| 1 | 0.04 | 0.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
- Subtract setup before counting complete runs: A fits 26; B fits 8. An unfinished run contributes no result.
- 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.
- 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.
| Calculated quantity | Synthetic result |
|---|---|
| Completed A runs | 26 |
| Completed B runs | 8 |
| A probability of top-quality answer | 0.848449748158 |
| B probability of top-quality answer | 0.98320384 |
| A expected best quality | 0.954534916373 |
| B expected best quality | 0.994960821401 |
| Quality | A probability | B probability |
|---|---|---|
| 0.4 | 0.5115 | 0.18 |
| 0.7 | 0.4185 | 0.42 |
| 1 | 0.07 | 0.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
- Subtract setup before counting complete runs: A fits 44; B fits 10. An unfinished run contributes no result.
- 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.
- 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.
| Calculated quantity | Synthetic result |
|---|---|
| Completed A runs | 44 |
| Completed B runs | 10 |
| A probability of top-quality answer | 0.992774784133 |
| B probability of top-quality answer | 0.999350749379 |
| A expected best quality | 0.99783243524 |
| B expected best quality | 0.999805223664 |
| Quality | A probability | B probability |
|---|---|---|
| 0.4 | 0.4917 | 0.144 |
| 0.7 | 0.4023 | 0.336 |
| 1 | 0.106 | 0.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?