|q⟩ Bad Qubits

← Question Bank

Multiple choice
This circuit is measured once in the computational basis. What is P(|011⟩)?
⚛ The apparatus
const c = circuit(3);
c.x(2);
c.h(0); c.h(1);
c.cp(Math.PI / 2, 1, 2);
c.cz(0, 2);
c.swap(0, 1);
c.h(1);
c.cp(-Math.PI / 2, 0, 1);
c.h(0);
c.measure();
return c;

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