Predict the output
This circuit is sampled for 1024 shots on the seeded simulator (seed 8389). How many of the shots come out |011⟩? Estimate P(|011⟩) × 1024 and pick the closest option.
const gamma = Math.PI / 8; const beta = Math.PI / 8; const c = circuit(3); c.h(0); c.h(1); c.h(2); // edge (0, 1) c.cx(0, 1); c.rz(-2 * gamma, 1); c.cx(0, 1); // edge (1, 2) c.cx(1, 2); c.rz(-2 * gamma, 2); c.cx(1, 2); // edge (0, 2) c.cx(0, 2); c.rz(-2 * gamma, 2); c.cx(0, 2); c.rx(2 * beta, 0); c.rx(2 * beta, 1); c.rx(2 * beta, 2); c.measure(); return c;
Commit your prediction for counts of |011⟩ over 1024 shots — then run it.