|q⟩ Bad Qubits

← Question Bank

Multiple choice
For this circuit, what is the probability that measuring all 3 qubits yields exactly |111⟩ (qubit 0 leftmost)?
⚛ The apparatus
// H on qubit 0 makes (|0> + |1>)/sqrt2 on the first qubit;
// CNOT(0->1) and CNOT(0->2) entangle the rest, giving (|000> + |111>)/sqrt2.
const c = circuit(3);
c.h(0);
c.cx(0, 1);
c.cx(0, 2);
return c;

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