Predict the output
Sampling this circuit 1024 times on the seeded simulator (seed 1272), how many shots land on |1⟩? Estimate P(|1⟩) × 1024 and pick the closest option.
// theta = 2*pi/3 gives cos(pi/3)=1/2 on |0> and sin(pi/3)=sqrt(3)/2 on |1>. const c = circuit(1); c.ry((2 * Math.PI) / 3, 0); return c;
Commit your prediction for counts of |1⟩ over 1024 shots — then run it.