triqs_dft_tools.symmetry.Symmetry.symmetrize

Symmetry.symmetrize(obj)[source]

Symmetrizes a given object.

Parameters:

obj : list

object to symmetrize. It has to be given as list, where its length is determined by the number of equivalent members of the object. Two types of objects are supported:

  • BlockGf : list of Green’s functions,

  • Matrices : The format is taken from density matrices as obtained from Green’s functions (DictType).

Returns:

symm_obj : list

Symmetrized object, of the same type as input object.