Multiple choice
For this circuit, what is the probability that measuring all 2 qubits yields exactly |01⟩ (qubit 0 leftmost)?
// |0> (x) |+> : leave qubit 0 as |0>, apply H to qubit 1. // Result: (1/sqrt2)(|00> + |01>). const c = circuit(2); c.h(1); return c;
Commit your prediction for P(|01⟩) — then run it.