This book provides a comprehensive, self-contained introduction to quantum machine learning, uniting the principles of quantum computing and modern learning theory to explore how quantum mechanics can enhance data-driven algorithms and their implementation on near-term quantum devices.