In 1922 Heitler began his study of physics at the Karlsruhe Technische Hochschule in 1923 at the Humboldt University of Berlin and in 1924 at the Ludwig Maximilians University of Munich ( LMU ) where he studied under both Arnold Sommerfeld and Karl Herzfeld .