<div dir="ltr"><div>Thank you Matteo and Lorenzo! <br></div><div><br></div><div>h_psi.f90 looks promising, and I will take a look at pw2wannier.f90 for seeing how to apply H to an orbital. <br></div><div><br></div><div>Do you or others have any pointers on the inner product, either in reciprocal space or real space?<br></div></div>