Example
A qubit table stores amplitudes; measurement uses squared magnitudes. 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.
classical 0state=[1,0] probs=(1,0)
Build the concrete table
Compute the highlighted logic-table value.
classical 0classical 1state=[1,0] probs=(1,0)state=[0,1] probs=(0,1)
Build the concrete table
Compute the highlighted logic-table value.
classical 0classical 1balanced qubitstate=[1,0] probs=(1,0)state=[0,1] probs=(0,1)state=[1/sqrt(2),1/sqrt(2)]
Build the concrete table
Compute the highlighted logic-table value.
classical 0classical 1balanced qubitmeasure balanced qubitstate=[1,0] probs=(1,0)state=[0,1] probs=(0,1)state=[1/sqrt(2),1/sqrt(2)]probs=(1/2,1/2)
Read the table verdict
Compute the highlighted logic-table value.
classical 0classical 1balanced qubitmeasure balanced qubitverdictstate=[1,0] probs=(1,0)state=[0,1] probs=(0,1)state=[1/sqrt(2),1/sqrt(2)]probs=(1/2,1/2)probabilities sum to 1
logic-computation
Every row is intentionally ordered and pinned to the lesson specification.