triqs.operators.operators.Operator.real

Operator.real

Get a copy of the operator \(\hat{O}\) with the imaginary parts of all monomial coefficients set to zero.