|q⟩ Bad Qubits

← Question Bank

Multiple choice
After running this circuit, what is the probability of measuring |0⟩?
⚛ The apparatus
// X|0> = |1>, then H|1> = |-> = (|0> - |1>)/sqrt(2).
const c = circuit(1);
c.x(0);
c.h(0);
return c;

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