Quantum Computing, Science, Programming.
The qubit q[0] is automatically initialized in the state 0. Since that’s the state we want to start with, no further preparation is required. Next we want to take this q[0] = 0, a fully intact ship, and perform a NOT. With a normal bit and a normal programming language, we might implement this as