ffsim.trace¶ ffsim.trace(obj, norb, nelec)[source]¶ Return the trace of the linear operator. Return type: float