You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current parser extracts the first value of the energy, rather than the extrapolated one (if extrapolation is performed).
To get the extrapolated energy, extrapolate.py must be run after SHCI and the parser would have to be modified, e.g.:
def read_energy(shciobj, state_id=None):
result = get_result(shciobj)
if state_id is None:
state_id = '%.2e' % (min(shciobj.config['eps_vars']))
if 'energy_total' in result:
if 'extrapolated' in result['energy_total']:
e= result['energy_total']['extrapolated']['value']
else:
e = list(list(result["energy_total"].values())[0].values())[0]["value"]
else:
e = result['energy_var'][state_id]
return e
The text was updated successfully, but these errors were encountered:
The current parser extracts the first value of the energy, rather than the extrapolated one (if extrapolation is performed).
To get the extrapolated energy, extrapolate.py must be run after SHCI and the parser would have to be modified, e.g.:
The text was updated successfully, but these errors were encountered: