Applications of quantum mechanics in theoretical chemistry