2014-05-13 13:57:58 +02:00
|
|
|
program cisd
|
|
|
|
implicit none
|
2014-05-25 01:18:41 +02:00
|
|
|
integer :: i
|
2014-05-17 14:20:55 +02:00
|
|
|
|
2014-05-25 01:18:41 +02:00
|
|
|
print *, 'HF = ', HF_energy
|
|
|
|
print *, 'N_states = ', N_states
|
2014-06-09 00:15:48 +02:00
|
|
|
N_det = 1
|
|
|
|
touch psi_det psi_coef N_det
|
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
|
|
|
|
|
2015-04-03 14:26:14 +02:00
|
|
|
call save_wavefunction
|
2014-05-24 03:29:35 +02:00
|
|
|
! call CISD_SC2(psi_det,psi_coef,eigvalues,size(psi_coef,1),N_det,N_states,N_int)
|
|
|
|
! do i = 1, N_states
|
|
|
|
! print*,'eigvalues(i) = ',eigvalues(i)
|
|
|
|
! enddo
|
2014-05-13 13:57:58 +02:00
|
|
|
end
|