The H gate creates equal amplitudes using exact one over square root of two. 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 H gate makes an equal superposition

Starting from zero, the H gate produces amplitudes one over square root of 2 and one over square root of 2.

H0=120+121H\lvert 0\rangle = \frac{1}{\sqrt{2}}\lvert 0\rangle + \frac{1}{\sqrt{2}}\lvert 1\rangle
Hadamard gateThe H output uses exact one over square root of two.state1 zero0 onestate1/sqrt(2) zero1/sqrt(2) oneHgate

Each equal branch has probability one half

The exact square of one over square root of 2 is 1/2.

(12)2=12\left(\frac{1}{\sqrt{2}}\right)^{2} = \frac{1}{2}
Hadamard gateNo decimal approximation is used.state1 zero0 onestate1/sqrt(2) zero1/sqrt(2) oneHgate

The equal branches still close the budget

The H output has two equal probability rows. Together they use the whole probability budget.

PzeroPonesum1212112121101\begin{array}{c|c|c}P_{\text{zero}}&P_{\text{one}}&\text{sum}\\\frac{1}{2}&\frac{1}{2}&1\\\frac{1}{2}&\frac{1}{2}&1\\1&0&1\end{array}
Hadamard gateThe drawn output is the first equal-branch row.state1 zero0 onestate1/sqrt(2) zero1/sqrt(2) oneHgate