Extensions.CreateHartreeFockState(FermionHamiltonian, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This approximates the Hamiltonian ground state by a greedy algorithm
that minimizes only the PP term energies. If there are no PP terms,
states will be occupied in lexicographic order.
public static Microsoft.Quantum.Chemistry.Fermion.FermionWavefunction<int> CreateHartreeFockState (this Microsoft.Quantum.Chemistry.Fermion.FermionHamiltonian hamiltonian, int nElectrons);
static member CreateHartreeFockState : Microsoft.Quantum.Chemistry.Fermion.FermionHamiltonian * int -> Microsoft.Quantum.Chemistry.Fermion.FermionWavefunction<int>
<Extension()>
Public Function CreateHartreeFockState (hamiltonian As FermionHamiltonian, nElectrons As Integer) As FermionWavefunction(Of Integer)
Parameters
- hamiltonian
- FermionHamiltonian
- nElectrons
- Int32
Returns
Greedy trial state for minimizing Hamiltonian diagonal one-electron energy.