Predict the output
On the seeded simulator (seed 8762), this circuit runs for 1024 shots. About how many come out |01⟩? Estimate P(|01⟩) × 1024 and pick the closest option.
const c = circuit(2); c.h(0); // (|00⟩ + |10⟩)/√2 c.x(1); // (|01⟩ + |11⟩)/√2 c.cx(0, 1); // |11⟩ → |10⟩ ⇒ (|01⟩ + |10⟩)/√2 return c;
Commit your prediction for counts of |01⟩ over 1024 shots — then run it.