mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-03 10:05:57 +01:00
Update qp_convert_qmcpack_to_ezfio.py
This commit is contained in:
parent
68e9657a7a
commit
a8edfa0490
@ -350,7 +350,7 @@ psi_coef = psi_coef[state]
|
||||
|
||||
encode = 8*bit_kind
|
||||
|
||||
decode = lambda det: ''.join("{0:b}".format(i)[::-1].ljust(encode,'0') for i in det)
|
||||
decode = lambda det: ''.join("{0:b}".format(i)[::-1].ljust(encode,'0') for i in det)[:mo_num]
|
||||
for coef, (det_a, det_b) in zip(psi_coef, psi_det):
|
||||
|
||||
print coef
|
||||
|
Loading…
Reference in New Issue
Block a user