mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-25 13:03:28 +01:00
use np array directly instead of converting to list
This commit is contained in:
parent
a9a0c03732
commit
b92a23a853
@ -385,7 +385,8 @@ def convert_kpts(filename,qph5path,qmcpack=True):
|
|||||||
# dfao_im0=qph5['ao_two_e_ints/df_ao_integrals_imag'][()].transpose((3,2,1,0))
|
# dfao_im0=qph5['ao_two_e_ints/df_ao_integrals_imag'][()].transpose((3,2,1,0))
|
||||||
# dfao_cmplx0 = np.stack((dfao_re0,dfao_im0),axis=-1).tolist()
|
# dfao_cmplx0 = np.stack((dfao_re0,dfao_im0),axis=-1).tolist()
|
||||||
# ezfio.set_ao_two_e_ints_df_ao_integrals_complex(dfao_cmplx0)
|
# ezfio.set_ao_two_e_ints_df_ao_integrals_complex(dfao_cmplx0)
|
||||||
dfao_reim=qph5['ao_two_e_ints/df_ao_integrals'][()].tolist()
|
#dfao_reim=qph5['ao_two_e_ints/df_ao_integrals'][()].tolist()
|
||||||
|
dfao_reim=qph5['ao_two_e_ints/df_ao_integrals'][()]
|
||||||
ezfio.set_ao_two_e_ints_df_ao_integrals_complex(dfao_reim)
|
ezfio.set_ao_two_e_ints_df_ao_integrals_complex(dfao_reim)
|
||||||
ezfio.set_ao_two_e_ints_io_df_ao_integrals('Read')
|
ezfio.set_ao_two_e_ints_io_df_ao_integrals('Read')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user