A residual compares new counts with the calibrated prediction without changing the state model. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
The baseline prediction is exact
The calibrated baseline expects 57 zero reads and 23 one reads.
Nzero=57,None=23
Residual rows compare expected and new counts
The residual is computed as a count difference; it does not rewrite the quantum state model.