-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Feature] update walkers overlap before computing local energy #253
Comments
@jiangtong1000 Could you create a branch which implements the proposed fix and create a pull request? |
Wait, why? I'm a little worried we're assuming something about the state of the walkers overlap now (although we probably were before). This function should be renamed calculate_energy_and_update_walkers_overlap and documented. I'm sort of against having estimators modify the state of the walker, it seems dangerous. Do we recompute the overlap before propagation? |
@fdmalone @jiangtong1000 I actually remember this bug now. The way I fixed last time was to compute overlap consistently in the end of the propagation function. @jiangtong1000 could you not achieve what you wanted to do by evaluating overlap properly in the propagator? |
I relabelled as it's not a bug but a dangerous implementation feature we should try to document as part of some developer documentation. |
ipie/ipie/estimators/energy.py
Lines 134 to 135 in b9973b6
Here we should have
walkers.ovlp = trial.calc_greens_function(walkers)
to update the ovlp tooThe text was updated successfully, but these errors were encountered: