|q⟩ Bad Qubits

← Question Bank

Predict the output
This circuit is sampled for 1024 shots on the seeded simulator (seed 6483). How many of the shots come out |01⟩? Estimate P(|01⟩) × 1024 and pick the closest option.
⚛ The apparatus
// Start from |00>. Flip qubit 1 to reach |01>.
// Hadamard on qubit 0 gives (|01> + |11>)/sqrt(2).
// CNOT(0->1) gives (|01> + |10>)/sqrt(2) (the symmetric combination).
// A Z on qubit 0 flips the sign of the |1..> branch, turning + into -,
// yielding (|01> - |10>)/sqrt(2).
const c = circuit(2);
c.x(1);
c.h(0);
c.cx(0, 1);
c.z(0);
return c;

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