|q⟩ Bad Qubits

← Question Bank

Predict the output
Run 1024 seeded shots of this circuit (seed 8842). Predict how many give |000⟩. Estimate P(|000⟩) × 1024 and pick the closest option.
⚛ The apparatus
const c = circuit(3);
// Periodic superposition: (|000>+|010>+|100>+|110>)/2
c.h(0);
c.h(1);
// Inverse QFT (adjoint of QFT including bit-reversal swap)
c.swap(0, 2);
c.h(2);
c.cp(-Math.PI / 2, 2, 1);
c.h(1);
c.cp(-Math.PI / 4, 2, 0);
c.cp(-Math.PI / 2, 1, 0);
c.h(0);
return c;

Commit your prediction for counts of |000⟩ over 1024 shots — then run it.