|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure. With what probability do you get |00⟩?
⚛ The apparatus
const c = circuit(2);
// input |0> on q0 (default)
c.h(1);        // ancilla |+>
c.cz(0, 1);    // entangle the edge
c.h(0);        // rotate q0 into the X-measurement basis
return c;

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