10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-26 22:33:57 +01:00
quantum_package/plugins/CISD/cisd.irp.f

21 lines
474 B
Fortran
Raw Normal View History

2014-05-13 13:57:58 +02:00
program cisd
implicit none
integer :: i
2014-05-17 14:20:55 +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
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-09-11 15:30:44 +02:00
call ezfio_set_cisd_energy(CI_energy(1))
2017-11-29 10:06:55 +01:00
psi_coef = ci_eigenvectors
SOFT_TOUCH psi_coef
call save_wavefunction
2014-05-13 13:57:58 +02:00
end