mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-03 10:05:57 +01:00
Multi-state modification for qmcpack
This commit is contained in:
parent
d031148512
commit
f838765834
@ -2,6 +2,14 @@
|
|||||||
QmcChem Module
|
QmcChem Module
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
For multi-state calculations, to extract state 2 use:
|
||||||
|
|
||||||
|
``
|
||||||
|
QP_STATE=2 qp_run save_for_qmcpack x.ezfio
|
||||||
|
``
|
||||||
|
(state 1 is the ground state).
|
||||||
|
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
@ -345,7 +345,10 @@ print "mo_num", mo_num
|
|||||||
print "det_num", n_det
|
print "det_num", n_det
|
||||||
print ""
|
print ""
|
||||||
|
|
||||||
state = 0
|
if "QP_STATE" in os.environ:
|
||||||
|
state = int(os.environ["QP_STATE"])-1
|
||||||
|
else:
|
||||||
|
state = 0
|
||||||
psi_coef = psi_coef[state]
|
psi_coef = psi_coef[state]
|
||||||
|
|
||||||
encode = 8*bit_kind
|
encode = 8*bit_kind
|
||||||
|
Loading…
Reference in New Issue
Block a user