10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-26 15:12:14 +02:00

Update qp_convert_qmcpack_to_ezfio.py

This commit is contained in:
Thomas Applencourt 2017-07-14 22:52:27 -05:00 committed by GitHub
parent 68e9657a7a
commit a8edfa0490

View File

@ -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