program cis
  implicit none
  integer :: i

  print *,   'HF      = ', HF_energy
  print *,  'N_states = ', N_states
  call H_apply_cis
  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
  enddo
  psi_coef = ci_eigenvectors
  SOFT_TOUCH psi_coef
  call save_wavefunction

end
