-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to write the Hamiltonian into wannier90 format? #58
Comments
Hi |
By the way, the berry phase can be calculated in the development version with the right units etc. Give it a try with the 'pybinding-dev' release, a small example here: https://bertjorissen.github.io/pybinding/tutorial/wavefunction.html . Please let me know if you used this code, as this is already an extension to pybinding. The formalism is the same as the one from pythtb, using the idea from the king-smith paper. |
Thank you. Really looking forward to this feature. For the simplest hamiltonian format, wannier90 wrote it this way: https://github.com/wannier-developers/wannier90/blob/2f4aed6a35ab7e8b38dbe196aa4925ab3e9deb1b/src/hamiltonian.F90#L698-L799. For other matrices like spin and position matrices, I'm not quite sure. |
Dear Developer,
Thanks for the instructive codes and I find it very helpful. I wonder if it is possible to convert the model Hamiltonian into the wannier90.dat format, which is quite widely used in calculations by wannierberri (https://github.com/wannier-berri/wannier-berri) and wanniertools (https://github.com/quanshengwu/wannier_tools)?
Regards,
Dongsheng
The text was updated successfully, but these errors were encountered: