Multiple choice
After this circuit, what is P(|111⟩) for the whole 3-qubit register measured together (qubit 0 leftmost)?
const c = circuit(3); c.h(0); // (|0> + |1>)/sqrt(2) on qubit 0 c.cx(0, 1); // entangle -> (|00> + |11>)/sqrt(2) c.cx(0, 2); // -> (|000> + |111>)/sqrt(2) return c;
Commit your prediction for P(|111⟩) — then run it.