An imaginary phase changes the state without changing direct measurement probabilities. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
An imaginary phase preserves direct probabilities
The phase gate turns the down branch into an imaginary branch. The direct probabilities remain 1/2 and 1/2.
Pzero=21,Pone=21
Both direct rows keep one half
The phase changes the branch relation, while the direct probability rows stay equal.