Quantum Computing, Quantum Computer, Simulator, From Scratch.
operation of a quantum gate cannot be expressed via a corresponding unitary matrix, then it may not be considered as a valid gate at all. The operations of quantum gates are completely reversible. This is very different from boolean gates. In an AND gate, looking at the results we cannot determine