|q⟩ Bad Qubits

← Question Bank

Multiple choice
Execute the circuit and measure. How likely is the outcome |000⟩?
⚛ The apparatus
const c = circuit(3);
// Prepare the data qubit in |+> = (|0> + |1>)/sqrt(2).
c.h(0);
// Spread it across the code block with two CNOTs.
c.cx(0, 1);
c.cx(0, 2);
return c;

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