This book introduces the main quantum algorithms that are currently used in optimization and machine learning. The approach is hands-on, with examples that can be run on simulators and actual quantum computers. The algorithms are explained in full detail, without sacrificing rigor, but, at the same time, keeping mathematical prerequisites to a mini