Foundations of Quantum Computing. Part 1.