Example
Hadamard spreads one basis state across two exact amplitudes. This is a toy exact table; real quantum algorithms also use complex amplitudes and interference.
highlighted = computed this step
Build the concrete table
Compute the highlighted logic-table value.
H on |0>[1/sqrt(2),1/sqrt(2)]
Build the concrete table
Compute the highlighted logic-table value.
H on |0>H on |1>[1/sqrt(2),1/sqrt(2)][1/sqrt(2),-1/sqrt(2)]
Build the concrete table
Compute the highlighted logic-table value.
H on |0>H on |1>measure H|0>[1/sqrt(2),1/sqrt(2)][1/sqrt(2),-1/sqrt(2)]P(0)=1/2 P(1)=1/2
Build the concrete table
Compute the highlighted logic-table value.
H on |0>H on |1>measure H|0>measure H|1>[1/sqrt(2),1/sqrt(2)][1/sqrt(2),-1/sqrt(2)]P(0)=1/2 P(1)=1/2P(0)=1/2 P(1)=1/2
logic-computation
Every row is intentionally ordered and pinned to the lesson specification.