Predict the output
Run 1024 seeded shots of this circuit (seed 5040). Predict how many give |000⟩. Estimate P(|000⟩) × 1024 and pick the closest option.
const c = circuit(3); c.h(0); c.swap(0, 2); c.h(2); c.cp(-Math.PI / 2, 1, 2); c.h(1); c.cp(-Math.PI / 4, 0, 2); c.cp(-Math.PI / 2, 0, 1); c.h(0); c.measure(); return c;
Commit your prediction for counts of |000⟩ over 1024 shots — then run it.