|q⟩ Bad Qubits

← Question Bank

Predict the output
On the seeded simulator (seed 3608), this circuit runs for 1024 shots. About how many come out |010⟩? Estimate P(|010⟩) × 1024 and pick the closest option.
⚛ The apparatus
const gamma = 3 * Math.PI / 4;
const beta  = Math.PI / 8;
const c = circuit(3);
// Step 1: equal superposition
c.h(0); c.h(1); c.h(2);
// Step 2: cost unitary — edge (0,1)
c.cx(0, 1); c.rz(2 * gamma, 1); c.cx(0, 1);
// Step 3: cost unitary — edge (1,2)
c.cx(1, 2); c.rz(2 * gamma, 2); c.cx(1, 2);
// Step 4: mixer
c.rx(2 * beta, 0);
c.rx(2 * beta, 1);
c.rx(2 * beta, 2);
// Step 5: measure
c.measure();
return c;

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