Quantum Computing, Quantum Physics, Quantum Mechanics, Mathematics.
Just like in classical computing, we have a NOT gate. This takes a qubit and sends 0 to 1 and visa versa. So if I have: Applying a NOT gate to it gives me: Because we can represent a qubit as a column vector: We can represent the NOT gate by the matrix: In a diagram we use the following symbols for