Predict the output
Run 1024 seeded shots of this circuit (seed 1854). Predict how many give |01⟩. Estimate P(|01⟩) × 1024 and pick the closest option.
const c = circuit(2); c.x(1); // |00> -> |01> c.h(0); // -> (|01> + |11>)/sqrt(2) c.cx(0, 1); // -> (|01> + |10>)/sqrt(2) c.z(0); // -> (|01> - |10>)/sqrt(2) return c;
Commit your prediction for counts of |01⟩ over 1024 shots — then run it.