Numerical Investigations of Logic Gates and Transistors in Quantum and Classical Information Processing