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