Applied Quantum Computing I: Fundamentals