Variation of operator valued functions
Consider some operator valued function , and its variation with respect to :
It is implicit that we work to linear order in . This quantity is nontrivial because arbitrary variations in general won't commute with . Supposing is analytic, we can express it as a power series:
We can read off the variation:
This is a complicated expression, however life becomes much simpler if one considers instead the variation of the trace of :
where we used the cyclic property of the trace.