|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure. With what probability do you get |000⟩?
⚛ The apparatus
const c = circuit(3);
c.h(0);
c.cp(Math.PI / 2, 1, 0);
c.cp(Math.PI / 4, 2, 0);
c.h(1);
c.cp(Math.PI / 2, 2, 1);
c.h(2);
c.swap(0, 2);
return c;

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