Introduction to quantum electronics