random_generator_names_list()
AtomDiag()
RandomGenerator
Extract the density part from an operator H.
The density part is a sum of all those monomials of H that are products of occupation number operators \(n_1 n_2 n_3 \ldots\).
H (Operator) – The operator from which the density part is extracted.
n_part – The density part of H.
Operator