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