Predict the output
On the seeded simulator (seed 7019), this circuit runs for 1024 shots. About how many come out |000⟩? Estimate P(|000⟩) × 1024 and pick the closest option.
const c = circuit(3); // Prepare the data qubit in |+> = (|0> + |1>)/sqrt(2). c.h(0); // Spread it across the code block with two CNOTs. c.cx(0, 1); c.cx(0, 2); return c;
Commit your prediction for counts of |000⟩ over 1024 shots — then run it.