Multiple choice
After running this circuit, what is the probability of measuring |0⟩?
// The Hadamard gate maps |0> -> (|0> + |1>)/sqrt(2) = |+x>. const c = circuit(1); c.h(0); return c;
Commit your prediction for P(|0⟩) — then run it.
// The Hadamard gate maps |0> -> (|0> + |1>)/sqrt(2) = |+x>. const c = circuit(1); c.h(0); return c;
Commit your prediction for P(|0⟩) — then run it.