Multiple choice
After running this circuit, what is the probability of measuring |10⟩?
const c = circuit(2); // Round A on qubit 0: Alice sends bit 1 in the X basis -> |->. c.x(0); c.h(0); // Bob measures qubit 0 in the X basis: rotate X -> Z with H. c.h(0); // Round B on qubit 1: Alice sends bit 0 in the Z basis -> |0> (no gate). // Bob measures qubit 1 in the Z basis (no rotation needed). c.measure(); return c;
Commit your prediction for P(|10⟩) — then run it.