fermifab.util¶
Functions
comprise_config (orbs1, orbs2, N1, N2) |
Comprise configurations. |
crand (*args) |
|
eig (op) |
Eigenvalues and eigenstates of Fermi operators |
kron (x, y) |
Compute the Kronecker product of two Fermi operators. |
matrix_power (op, n) |
Compute the n-th matrix power of a Fermi operator. |
norm (x[, ord]) |
Compute the norm of a FermiState or FermiOp. |
trace (op) |
Compute the trace of a FermiOp. |
trace_prod (A, B) |
Calculate trace(A*B) efficiently. |