Mathematics and Physics of Quantum Computing and Quantum Learning