ffsim.diag

ffsim.diag(obj, norb, nelec)[source]

Return the diagonal entries of the linear operator.

Return type:

float