ffsim.spin_square

ffsim.spin_square(fcivec, norb, nelec)[source]

Expectation value of spin squared operator on a state vector.