Quantum Mechanics, Quantum Computing, Quantum Physics, Qubit.
and 50%! That’s why the H gate is sometimes called the superposition gate. It converts 100% probability of measuring a state into 50/50, introducing randomness in the circuit. But what happens if the initial state was already in a superposition of |0⟩ and |1⟩? We see in the formulas for P(0) and