|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit. What is qubit 0's Bloch X-component — the expectation value ⟨X⟩?
⚛ The apparatus
const c = circuit(2);
c.h(0);
c.cp(Math.PI / 2, 0, 1);
c.h(1);
c.swap(0, 1);
return c;

Commit your prediction for ⟨X⟩ of qubit 0 — then run it.