Predict the output
This circuit is sampled for 1024 shots on the seeded simulator (seed 9047). How many of the shots come out |0000⟩? Estimate P(|0000⟩) × 1024 and pick the closest option.
const c = circuit(4); c.h(0); c.cx(0, 1); c.h(2); c.cx(2, 3); // Bilateral CNOT: each party maps kept -> sacrificial on their own side. c.cx(0, 2); // Alice: kept q0 controls sacrificial q2 c.cx(1, 3); // Bob: kept q1 controls sacrificial q3 c.measure(); return c;
Commit your prediction for counts of |0000⟩ over 1024 shots — then run it.