ffsim.StateVector¶
- class ffsim.StateVector(vec, norb, nelec)[source]¶
Bases:
objectA state vector in the FCI representation.
Attributes
Array of state vector coefficients.
The number of spatial orbitals.
Either a single integer representing the number of fermions for a spinless system, or a pair of integers storing the numbers of spin alpha and spin beta fermions.
-
nelec:
int|tuple[int,int]¶ Either a single integer representing the number of fermions for a spinless system, or a pair of integers storing the numbers of spin alpha and spin beta fermions.
Methods
-
nelec: