Often one needs to sum over all intermediate states. Starting with equation 4.56 and multipling it by and suming over all states, we have

Comparison with equation 4.170 shows