SpinOrbital.Enumerate(Int32[], 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 creates all possible spin-orbitals Hamiltonian terms given an array of an even number of orbital indices.
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.Quantum.Chemistry.OrbitalIntegrals.SpinOrbital+<Enumerate>d__15))]
public static System.Collections.Generic.IEnumerable<Microsoft.Quantum.Chemistry.OrbitalIntegrals.SpinOrbital[]> Enumerate (int[] orbitals, int nSpins = 2);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.Quantum.Chemistry.OrbitalIntegrals.SpinOrbital+<Enumerate>d__15))>]
static member Enumerate : int[] * int -> seq<Microsoft.Quantum.Chemistry.OrbitalIntegrals.SpinOrbital[]>
Public Shared Iterator Function Enumerate (orbitals As Integer(), Optional nSpins As Integer = 2) As IEnumerable(Of SpinOrbital())
Parameters
- orbitals
- Int32[]
A sequence of integers representing a sequence of orbitals in Mullikan convention.
- nSpins
- Int32
The number of possible spin states. This is 2 for electrons (spin 1/2).
Returns
- Attributes