Extensions.ToIndexing Method

Definition

Converts spin-orbital indices to integer indices

public static Microsoft.Quantum.Chemistry.Fermion.FermionWavefunction<int> ToIndexing (this Microsoft.Quantum.Chemistry.Fermion.FermionWavefunction<Microsoft.Quantum.Chemistry.OrbitalIntegrals.SpinOrbital> wavefunction, Microsoft.Quantum.Chemistry.IndexConvention indexConvention);
static member ToIndexing : Microsoft.Quantum.Chemistry.Fermion.FermionWavefunction<Microsoft.Quantum.Chemistry.OrbitalIntegrals.SpinOrbital> * Microsoft.Quantum.Chemistry.IndexConvention -> Microsoft.Quantum.Chemistry.Fermion.FermionWavefunction<int>
<Extension()>
Public Function ToIndexing (wavefunction As FermionWavefunction(Of SpinOrbital), indexConvention As IndexConvention) As FermionWavefunction(Of Integer)

Parameters

wavefunction
FermionWavefunction<SpinOrbital>

A fermionic wavefunction whose spin-orbital indices are to be converted.

indexConvention
IndexConvention

The convention for mapping spin-orbitals to indices to be used in converting the spin-orbital indices of wavefunction.

Returns

FermionWavefunction<Int32>

A fermion wavefunction where spin-orbitals are indexed by integers according to the chosen indexing scheme.

Applies to