Gamow vectors formalism applied to the Loschmidt echo