In what follows, we will apply this formula to derive the effective Hamiltonian of the magic angle twisted bilayer graphene with and without the lattice relaxation which we obtained in the Sec., and compare the energy spectra with the tight binding models of Ref. [1]} and [2]}.
