Predict the output
Run 1024 seeded shots of this circuit (seed 1537). Predict how many give |000⟩. Estimate P(|000⟩) × 1024 and pick the closest option.
const gamma = Math.PI / 4;
const beta = Math.PI / 8;
const edges = [[0, 1], [1, 2], [0, 2]];
const c = circuit(3);
for (let q = 0; q < 3; q++) c.h(q);
for (const [i, j] of edges) {
c.cx(i, j);
c.rz(2 * gamma, j);
c.cx(i, j);
}
for (let q = 0; q < 3; q++) c.rx(2 * beta, q);
c.measure();
return c;Commit your prediction for counts of |000⟩ over 1024 shots — then run it.