random_generator_names_list()
AtomDiag()
RandomGenerator
Return the real part of a given operator H checking that its imaginary part is below tolerance.
H (Operator) – The operator to be converted.
tol (float) – Tolerance threshold for the imaginary part of the operator’s coefficients.
H_real – The real part of H.
Operator