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
|
2014-05-25 01:18:41 +02:00
|
|
|
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
|
2014-05-25 01:18:41 +02:00
|
|
|
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
|