Skip to content
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

AFQMC converter update #71

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

camelto2
Copy link

This PR updates the AFQMC interface to QMCPACK to properly handle hamiltonians with kpoints and the correct format of the wave function.

Changes are as follows

  • Ion-Ion energy was incorrect for supercells tiled by kpoints. Need to scale ion-ion energy by nkpts
  • Hamiltonian dimensions need to use Nup and Ndown of the tiled supercell. I count the electrons by reading the kpoint occupancies
  • The NOMSD wave function was only writing the information for one kpoint, whereas we need the entire trial wavefunction for the tiled supercell. This is now handled correctly in write_afqmc_waves function.
  • I put an abort if the calculation is noncollinear as I'm unsure if the matrix elements work for noncollinear yet.

If anything is unclear or you want changed let me know, but this now agrees with some reference inputs I have.
Sorry this took so long.

@camelto2 camelto2 changed the title Afqmc updates AFQMC converter update Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant