Multiple choice
This circuit is measured once in the computational basis. What is P(|011⟩)?
const c = circuit(3); c.x(2); c.h(0); c.h(1); c.cp(Math.PI / 2, 1, 2); c.cp(Math.PI, 0, 2); c.swap(0, 1); c.h(1); c.cp(-Math.PI / 2, 1, 0); c.h(0); c.measure(); return c;
Commit your prediction for P(|011⟩) — then run it.