One- and two-body integrals from Hartree-Fock #117
-
|
Hi @gustavojra, Thanks for the nice package! Is there a simple way to obtain the coefficients of the second quantized Hamiltonian (the one- and two-body integrals) from a Hartree-Fock solution? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Hi @mtfishman, The computation returns the orbital coefficients C. There should be a simple formula relating these coefficients to the elements of this matrix. I just don't remember off the top of my head. My guess is that you are simply looking for the density matrix: If your second quantized Hamiltonian looks like then contracting D in there should return the HF energy
If that's so, all you need is to slice the occupied orbitals (Co) and multiply by the transpose of itself (Co') |
Beta Was this translation helpful? Give feedback.
-
|
1. First about the Hamiltonian - and quantum chemistry lingo Yes, that is the second quantized Hamiltonian (with the creation and annihilation operators). But to be honest, this formalist is not normally used for Hartree-Fock. That is because the goal of the Hartree Fock method is to obtain a set of independent particle model (IPM) functions (i.e. orbitals) on which second quantized models can be built upon taking the Hartree-Fock determinant as the Fermi vacuum. Orbitals are linear combinations of the atomic functions in the basis set χ = {μ, ν, ρ, σ, ...}: C is the matrix I mentioned above. It can be obtained from Fermi. The second quantized Hamiltonian you wrote is a little inconvenient because the AO basis χ = {μ, ν, ρ, σ, ...} do not form orthonormal states. If we work with the orbitals from the Hartree-Fock instead, this becomes which is the second quantized Hamiltonian used in correlated methods such as Coupled Cluster. There is no a† or a objects in Fermi. While these objects are used in deriving working equations they obvious must vanish at the end. Fermi has chewed up equations already, no derivation or fancy Wick's stuff happens here. However, it does return wave function parameters that you can use to build your Hamiltonian.
hpq and gpqrs depend on RHF orbitals coefficients, they are the AO integrals transformed to MO. Normally, hpq will be the Fock matrix (effective one-electron operator). In canonical HF, this matrix is diagonal and its values are taken as orbital energies. From the
gpqrs will be the repulstion integral (or a combination of permutations of itself). It can be obtained with the IntegralHelper Summing up
2. On spin As a mentioned for the Fock matrix, we normally do not solve a giant problem for all possible spin combinations. We separate the problem into alpha and beta. For closed shell systems, only one of those needs to be solved for. The density matrix that you get from RHF is defined for station orbitals only, that is, spin has been integrated out. It is possible to reconstruct thing in a spin-orbital format. It is not computationally advantageous though. But let me show you an example This coefficient matrix is only 2x2, if we were working with spin-orbitals it should be 4x4. We can reconstruct the Cspinorbital as To construct the density matrix you sum over occupied orbitals only.
In spin-orbital format Again sorry about the lengthy response. I think ultimately what you want is the integrals (AO or MO ones) and the coefficient matrix C. However, you need to figure out how to piece those things together. I assure you that those arrays will contain all the information one could need from Hartree-Fock. |
Beta Was this translation helpful? Give feedback.

1. First about the Hamiltonian - and quantum chemistry lingo
Yes, that is the second quantized Hamiltonian (with the creation and annihilation operators). But to be honest, this formalist is not normally used for Hartree-Fock. That is because the goal of the Hartree Fock method is to obtain a set of independent particle model (IPM) functions (i.e. orbitals) on which second quantized models can be built upon taking the Hartree-Fock determinant as the Fermi vacuum.
Orbitals are linear combinations of the atomic functions in the basis set χ = {μ, ν, ρ, σ, ...}:
C is the matrix I mentioned above. It can be obtained from Fermi.
The second quantized Hamiltonian you wrote is a l…