|q⟩ Bad Qubits

← Question Bank

Multiple choice
For this circuit, what is the probability that measuring all 4 qubits yields exactly |0010⟩ (qubit 0 leftmost)?
⚛ The apparatus
const c = circuit(4);
c.h(0); c.h(1);
c.cx(0, 2);
c.cx(1, 2);
c.h(0); c.h(1);
c.measure();
return c;

Commit your prediction for P(|0010⟩) — then run it.