10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-05 05:33:56 +01:00
quantum_package/plugins/CISD/cisd.irp.f

23 lines
420 B
Fortran
Raw Normal View History

2018-07-30 19:17:27 +02:00
program cis
implicit none
read_wf = .False.
SOFT_TOUCH read_wf
call run
end
subroutine run
2014-05-13 13:57:58 +02:00
implicit none
integer :: i
2014-05-17 14:20:55 +02:00
2014-05-13 13:57:58 +02:00
call H_apply_cisd
print *, 'N_det = ', N_det
do i = 1,N_states
print *, 'energy = ',CI_energy(i)
print *, 'E_corr = ',CI_electronic_energy(i) - ref_bitmask_energy
2014-05-21 22:41:26 +02:00
enddo
2017-11-29 10:06:55 +01:00
psi_coef = ci_eigenvectors
SOFT_TOUCH psi_coef
2018-07-30 19:27:41 +02:00
call save_wavefunction_truncated(1.d-12)
2018-07-30 19:17:27 +02:00
2014-05-13 13:57:58 +02:00
end