The capstone keeps prepared, retained, leaked, coherent, and observed counts together. 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 retained shots also define phase visibility

Of the 80 retained shots, 48 remain coherent, giving coherent fraction 3/5.

48/80=3548/80=\frac{3}{5}
Retained phase budgetThe phase-loss helper checks the coherent fraction.3/5coherent2/5dephasedphase loss

The capstone ledger closes all stages

The final audit carries 52 zero reads, 28 one reads, and 20 leaked shots, so the open-system budget closes.

52+28+20=10052+28+20=100
Capstone open-system auditChannel, leakage, phase, and readout slots are cross-checked.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