ffsim.StateVector

class ffsim.StateVector(vec, norb, nelec)[source]

Bases: object

A state vector in the FCI representation.

Attributes

vec

Array of state vector coefficients.

norb

The number of spatial orbitals.

nelec

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.

vec: ndarray

Array of state vector coefficients.

norb: int

The number of spatial orbitals.

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