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

All sections

Saved
Error correction and systems

Will the decoder respond in time when slow jobs arrive in bursts?

A quiet average can hide a decoder’s busiest minute

Source research checked . Teaching calculations are ideal models.

A decoder is a classical computation attached to a quantum experiment. Its response can become part of a time-critical feedback path. Average throughput describes whether work is usually sustainable, while individual response times reveal what happens to the jobs that encounter a backlog. Both are needed to interpret a claim about operating speed.

This laboratory uses a deterministic arrival trace and makes the first two service times in each block longer. A single worker can have an average service time below the arrival spacing and still miss deadlines after those bursts. A second worker changes the schedule, but it does not make either individual service operation faster. The distinction separates hardware acceleration from queue management.

The exact trace is supplied with each worked case, making the result reproducible without a random seed. It is intentionally a classical queue simulation. Real decoders can have batch dependencies, shared memory, communication bottlenecks and different requirements for when an answer becomes necessary. The Model page can use this trace to explain what a latency histogram adds to a mean-speed number, while leaving quantum error-correction performance to its own evidence.

Synthetic decision model

Start with the assumptions

  • Jobs can use any available identical worker.
  • There are no inter-job dependencies or transfer costs.
  • The burst pattern and service times are stipulated.

start_i = max(arrival_i, earliest worker-free time)

finish_i = start_i + service_i

response_i = finish_i - arrival_i; miss if response_i > deadline

Synthetic a quiet average can hide a decoder’s busiest minute plot: Response time versus Job number.
Synthetic baseline case. Horizontal axis: Job number. Vertical axis: Response time. Curves show One worker, Two workers, Deadline. 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
Arrival spacing
1
Normal service time
0.45
Burst service time
1.6
Burst period
10
Response deadline
2.5
Jobs in trace
60
Burst jobs at start of each period
2
  1. Create 60 arrivals separated by 1 time units. The first two jobs in every 10-job block use burst service 1.6.
  2. For each arrival, select the first available worker; start at max(arrival time, worker-free time). Completion minus arrival is the response time.
  3. The one-worker queue misses 0 deadlines. The two-worker schedule misses 0 under exactly the same arrival and service trace.
Baseline regime · synthetic calculated results
Calculated quantitySynthetic result
Mean service / arrival spacing0.68
One-worker maximum response time2.2
One-worker missed deadlines0
Two-worker maximum response time1.6
Two-worker missed deadlines0
One-worker maximum wait before service1.2
First twelve jobs of the 60-job trace; complete trace follows the stated periodic rule
JobService timeOne-worker responseTwo-worker response
11.61.61.6
21.62.21.6
30.451.650.45
40.451.10.45
50.450.550.45
60.450.450.45
70.450.450.45
80.450.450.45
90.450.450.45
100.450.450.45
111.61.61.6
121.62.21.6

The average utilization proxy is 0.68, while the maximum one-worker response is 2.2. A mean below one does not rule out burst-related deadline failures. The second worker is a scheduling experiment; real decoding may have dependencies, memory contention and communication costs omitted here.

Comparison regime
Complete inputs
Arrival spacing
1
Normal service time
0.575
Burst service time
2.5
Burst period
12
Response deadline
2.6
Jobs in trace
60
Burst jobs at start of each period
2
  1. Create 60 arrivals separated by 1 time units. The first two jobs in every 12-job block use burst service 2.5.
  2. For each arrival, select the first available worker; start at max(arrival time, worker-free time). Completion minus arrival is the response time.
  3. The one-worker queue misses 20 deadlines. The two-worker schedule misses 0 under exactly the same arrival and service trace.
Comparison regime · synthetic calculated results
Calculated quantitySynthetic result
Mean service / arrival spacing0.895833333333
One-worker maximum response time4
One-worker missed deadlines20
Two-worker maximum response time2.5
Two-worker missed deadlines0
One-worker maximum wait before service3
First twelve jobs of the 60-job trace; complete trace follows the stated periodic rule
JobService timeOne-worker responseTwo-worker response
12.52.52.5
22.542.5
30.5753.5751.075
40.5753.150.65
50.5752.7250.575
60.5752.30.575
70.5751.8750.575
80.5751.450.575
90.5751.0250.575
100.5750.60.575
110.5750.5750.575
120.5750.5750.575

The average utilization proxy is 0.895833, while the maximum one-worker response is 4. A mean below one does not rule out burst-related deadline failures. The second worker is a scheduling experiment; real decoding may have dependencies, memory contention and communication costs omitted here.

Extended regime
Complete inputs
Arrival spacing
1
Normal service time
0.725
Burst service time
3.58
Burst period
12
Response deadline
2.8
Jobs in trace
60
Burst jobs at start of each period
2
  1. Create 60 arrivals separated by 1 time units. The first two jobs in every 12-job block use burst service 3.58.
  2. For each arrival, select the first available worker; start at max(arrival time, worker-free time). Completion minus arrival is the response time.
  3. The one-worker queue misses 60 deadlines. The two-worker schedule misses 10 under exactly the same arrival and service trace.
Extended regime · synthetic calculated results
Calculated quantitySynthetic result
Mean service / arrival spacing1.20083333333
One-worker maximum response time15.8
One-worker missed deadlines60
Two-worker maximum response time3.58
Two-worker missed deadlines10
One-worker maximum wait before service14.8
First twelve jobs of the 60-job trace; complete trace follows the stated periodic rule
JobService timeOne-worker responseTwo-worker response
13.583.583.58
23.586.163.58
30.7255.8852.305
40.7255.612.03
50.7255.3351.305
60.7255.060.755
70.7254.7850.725
80.7254.510.725
90.7254.2350.725
100.7253.960.725
110.7253.6850.725
120.7253.410.725

The average utilization proxy is 1.200833, while the maximum one-worker response is 15.8. A mean below one does not rule out burst-related deadline failures. The second worker is a scheduling experiment; real decoding may have dependencies, memory contention and communication costs omitted here.

Try the reasoning: Find a regime with a mean service time below the arrival spacing but a missed deadline. Which burst causes it?

Back to this lab in the catalog