ffsim.dim

ffsim.dim(norb, nelec)[source]

Get the dimension of the FCI space.

Parameters:
  • 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.

Return type:

int

Returns:

The dimension of the FCI space.