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