Multiple choice
Execute the circuit and measure. How likely is the outcome |1⟩?
const c = circuit(1); c.x(0); return c;
Commit your prediction for P(|1⟩) — then run it.
const c = circuit(1); c.x(0); return c;
Commit your prediction for P(|1⟩) — then run it.