|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure. With what probability do you get |0⟩?
⚛ The apparatus
const theta = Math.PI / 2;
const c = circuit(1);
c.h(0);       // prepare |+x>
c.rz(theta, 0); // rotate about z by pi/2
return c;

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