Predict the output
This circuit is sampled for 1024 shots on the seeded simulator (seed 9405). How many of the shots come out |000⟩? Estimate P(|000⟩) × 1024 and pick the closest option.
const c = circuit(3); c.h(0); // (|0> + |1>)/sqrt(2) on qubit 0 c.cx(0, 1); // entangle -> (|00> + |11>)/sqrt(2) c.cx(0, 2); // -> (|000> + |111>)/sqrt(2) return c;
Commit your prediction for counts of |000⟩ over 1024 shots — then run it.