|q⟩ Bad Qubits

← Question Bank

Predict the output
Run 1024 seeded shots of this circuit (seed 556). Predict how many give |00⟩. Estimate P(|00⟩) × 1024 and pick the closest option.
⚛ The apparatus
const theta = Math.PI / 6;
const c = circuit(2);
// 1. prepare GHZ
c.h(0);
c.cx(0, 1);
// 2. encode the phase on both qubits
c.p(theta, 0);
c.p(theta, 1);
// 3. decode back onto qubit 0
c.cx(0, 1);
c.h(0);
// 4. measure
c.measure();
return c;

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