Extensions.CreateHartreeFockState(FermionHamiltonian, Int32) Method

Definition

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

FermionWavefunction<Int32>

Greedy trial state for minimizing Hamiltonian diagonal one-electron energy.

Applies to