The open-system audit forces device channels to run before readout assignment. 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 device channel changes counts before readout

The prepared count is 100. The bit-flip stage changes the device ledger to 80 zero and 20 one.

Nafter channel=(80,20)\vec N_{\text{after channel}}=(80,20)
Channel before readoutThe audit carries the post-channel ledger.1zero0one4/5zero1/5one4/5kept1/5lost4/5kept1/5lost3/5coherent2/5dephasedtrue probabilitieszero 4/5one 1/5assignmentobserved probszero 13/20one 7/20over 80 shots52 zero reads28 one readsprep -> error -> phase -> readchannel inputafter errorzero leakageone leakagephase loss

Readout assignment waits for the retained ledger

After leakage, assignment uses 80 retained shots, not the original 100 prepared shots.

Nassignment shots=80N_{\text{assignment shots}}=80
Assignment applied lastThe audit rejects pre-leak assignment totals.1zero0one4/5zero1/5one4/5kept1/5lost4/5kept1/5lost3/5coherent2/5dephasedtrue probabilitieszero 4/5one 1/5assignmentobserved probszero 13/20one 7/20over 80 shots52 zero reads28 one readsprep -> error -> phase -> readchannel inputafter errorzero leakageone leakagephase loss