Quantum Machine Learning: A Modern Approach