Predict the output
Sampling this circuit 1024 times on the seeded simulator (seed 2117), how many shots land on |0⟩? Estimate P(|0⟩) × 1024 and pick the closest option.
const c = circuit(1);
// H = e^{iπ/2} Rz(π/2) Rx(π/2) Rz(π/2). Circuit order applies left-to-right,
// and grading ignores the global phase.
c.rz(Math.PI / 2, 0);
c.rx(Math.PI / 2, 0);
c.rz(Math.PI / 2, 0);
return c;Commit your prediction for counts of |0⟩ over 1024 shots — then run it.