A shot-total scaling scan holds the true state and assignment matrix fixed, then scales only the number of shots to show how expected counts grow proportionally. The observed probabilities (13/20, 7/20) stay constant while shot totals 20, 40, and 80 give expected counts (13, 7), (26, 14), and (52, 28) exactly for the stated toy readout model; real hardware readout has shot noise, calibration drift, assignment-matrix uncertainty, and threshold variation.
Changing the shot total scales expected counts after the observed probabilities are fixed. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Shot totals scale counts after probabilities are fixed
The true state and assignment matrix stay fixed. The observed probabilities are computed once, then shot totals scale expected counts.
pobs=(2013,207)
Three shot totals keep the same observed fractions
The first two columns stay fixed across the scan. Only the count columns scale with the number of shots.