I want get wavefunctions of excited and ground states for use in Multiwfn.
ground state wavefunction energy, wave_function = psi4.energy(level, molecule=molecule,return_wfn=True) wfn_dict=psi4.core.Wavefunction.to_file(wave_function, ‘file name’)
I cat get wavefunction in ground state.