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

All sections

Saved
Error correction and systems

How large a reserve keeps a bursty computation supplied?

Enough resources across the day may still be too late

Source research checked . Teaching calculations are ideal models.

A quantum computation may need a special resource in bursts while its production machinery works at a steadier pace. Total production can exceed total demand and still fail to serve the schedule, because the resource arrives after the moment it was needed. A supply-rate number by itself cannot settle that timing question.

The constructed schedule treats production and demand as tokens at discrete boundaries. Three slots have no production, and repeated demand bursts create deficits. The smallest initial reserve is determined by the deepest cumulative deficit. After adding that reserve, the highest resulting inventory gives a boundary-capacity requirement. This makes two design questions visible: how much stock must exist before the computation starts, and how much can accumulate later.

If the tokens represent quantum states, the classical balance is only a first layer. States may age, occupy protected qubits, fail a quality test or be consumed by failed operations. The example therefore belongs beside a resource factory explanation with its scope stated clearly. It offers an exact demand-planning calculation without implying that quantum states are interchangeable durable objects in a warehouse.

Synthetic decision model

Start with the assumptions

  • Supply and demand are netted simultaneously at each boundary.
  • Stored tokens neither expire nor lose quality in this calculation.
  • All requested tokens have the same resource meaning.

Cumulative net supply at slot t = sum_{i<=t}(supply_i-demand_i)

Minimum initial reserve = max(0, -minimum cumulative net supply)

Boundary capacity = maximum(initial reserve + cumulative net supply), including time zero

Synthetic enough resources across the day may still be too late plot: Resource tokens versus Schedule slot.
Synthetic baseline case. Horizontal axis: Schedule slot. Vertical axis: Resource tokens. Curves show Inventory with reserve, Zero reserve balance. 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
Supply per slot
10
Base demand per slot
5
Burst demand
15
Burst period
4
Schedule slots
30
Zero-supply slots, one-based
10, 11, 20
  1. Supply is zero in slots 10, 11 and 20; all other slots produce 10 tokens. Demand includes the declared periodic bursts.
  2. Cumulative net production reaches a minimum of -5. An initial reserve of max(0, -minimum) = 5 prevents a negative end-of-slot balance.
  3. Add that reserve to every cumulative value. The largest start/end boundary inventory is 25; final stock is 20. Supply and demand are netted simultaneously at each boundary.
Baseline regime · synthetic calculated results
Calculated quantitySynthetic result
Total produced tokens270
Total requested tokens255
Minimum initial reserve5
Required capacity at slot boundaries25
Final inventory with that reserve20
Supply-minus-demand over campaign15
Complete 30-slot boundary schedule
SlotSupplyDemandInventory with reserve
110510
210515
310520
4102010
510515
610520
710525
8102015
910520
100515
110510
1210200
131055
1410510
1510515
1610205
1710510
1810515
1910520
200200
211055
2210510
2310515
2410205
2510510
2610515
2710520
28102010
2910515
3010520

The toy schedule needs 5 stored tokens before it begins, even though net production across the campaign is 15. A reserve addresses timing, not state quality. If tokens represent prepared quantum resources, finite storage lifetime and extra storage qubits require a separate physical model.

Comparison regime
Complete inputs
Supply per slot
11
Base demand per slot
7
Burst demand
30
Burst period
6
Schedule slots
30
Zero-supply slots, one-based
10, 11, 20
  1. Supply is zero in slots 10, 11 and 20; all other slots produce 11 tokens. Demand includes the declared periodic bursts.
  2. Cumulative net production reaches a minimum of -63. An initial reserve of max(0, -minimum) = 63 prevents a negative end-of-slot balance.
  3. Add that reserve to every cumulative value. The largest start/end boundary inventory is 83; final stock is 0. Supply and demand are netted simultaneously at each boundary.
Comparison regime · synthetic calculated results
Calculated quantitySynthetic result
Total produced tokens297
Total requested tokens360
Minimum initial reserve63
Required capacity at slot boundaries83
Final inventory with that reserve0
Supply-minus-demand over campaign-63
Complete 30-slot boundary schedule
SlotSupplyDemandInventory with reserve
111767
211771
311775
411779
511783
6113757
711761
811765
911769
100762
110755
12113729
1311733
1411737
1511741
1611745
1711749
18113723
1911727
200720
2111724
2211728
2311732
2411376
2511710
2611714
2711718
2811722
2911726
3011370

The toy schedule needs 63 stored tokens before it begins, even though net production across the campaign is -63. A reserve addresses timing, not state quality. If tokens represent prepared quantum resources, finite storage lifetime and extra storage qubits require a separate physical model.

Extended regime
Complete inputs
Supply per slot
13
Base demand per slot
7
Burst demand
48
Burst period
6
Schedule slots
30
Zero-supply slots, one-based
10, 11, 20
  1. Supply is zero in slots 10, 11 and 20; all other slots produce 13 tokens. Demand includes the declared periodic bursts.
  2. Cumulative net production reaches a minimum of -99. An initial reserve of max(0, -minimum) = 99 prevents a negative end-of-slot balance.
  3. Add that reserve to every cumulative value. The largest start/end boundary inventory is 129; final stock is 0. Supply and demand are netted simultaneously at each boundary.
Extended regime · synthetic calculated results
Calculated quantitySynthetic result
Total produced tokens351
Total requested tokens450
Minimum initial reserve99
Required capacity at slot boundaries129
Final inventory with that reserve0
Supply-minus-demand over campaign-99
Complete 30-slot boundary schedule
SlotSupplyDemandInventory with reserve
1137105
2137111
3137117
4137123
5137129
6135587
713793
813799
9137105
100798
110791
12135549
1313755
1413761
1513767
1613773
1713779
18135537
1913743
200736
2113742
2213748
2313754
24135512
2513718
2613724
2713730
2813736
2913742
3013550

The toy schedule needs 99 stored tokens before it begins, even though net production across the campaign is -99. A reserve addresses timing, not state quality. If tokens represent prepared quantum resources, finite storage lifetime and extra storage qubits require a separate physical model.

Try the reasoning: Would the same reserve suffice if each slot demanded its tokens before new supply arrived? State the within-slot ordering explicitly.

Back to this lab in the catalog