|q⟩ Bad Qubits

← Question Bank

Predict the output
This circuit is sampled for 1024 shots on the seeded simulator (seed 537). How many of the shots come out |01⟩? Estimate P(|01⟩) × 1024 and pick the closest option.
⚛ The apparatus
const c = circuit(2);
c.h(0);     // (|00⟩ + |10⟩)/√2
c.z(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.