This book is based on notes from the course developed and taught for more than 30 years at the Department of Mathematics of Leningrad University. The goal of the course was to present the basics of quantum mechanics and its mathematical content to students in mathematics.