triqs::gfs::make_hermitian

#include <triqs/gfs.hpp>

Synopsis

template<typename G>
typename G::regular_type make_hermitian (G const & g)

Symmetrize a Green function object to fullfill fundamental Green function properties. Depending on the mesh and target rank one of the following transformations is performed \(G[i\omega] \rightarrow \frac{1}{2} ( G[i\omega] + conj(G[-i\omega]) )\) \(G[\tau] \rightarrow \frac{1}{2} ( G[\tau] + conj(G[\tau]) )\) \(G[i\omega](i,j) \rightarrow \frac{1}{2} ( G[i\omega](i,j) + conj(G[-i\omega](j,i)) )\) \(G[\tau](i,j) \rightarrow \frac{1}{2} ( G[\tau](i,j) + conj(G[\tau](j,i)) )\) \(G[i\omega](i,j,k,l) \rightarrow \frac{1}{2} ( G[i\omega](i,j,k,l) + conj(G[-i\omega](k,l,i,j)) )\) \(G[\tau](i,j,k,l) \rightarrow \frac{1}{2} ( G[\tau](i,j,k,l) + conj(G[\tau](k,l,i,j)) )\)

Template parameters

  • The Green function type

Parameters

  • g The Green function object to symmetrize

Returns

The symmetrized Green function object