Quantum mechanics and classical mechanics are ab initio methods because they allow the calculation of fundamental properties of materials. Classical electromagnetism is not considered an ab initio method because it is based on experimental studies of electric and magnetic fields