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