So I have been given the following quantum states:
$$\rho = \frac{I}{2} + \frac{\bar{s}.\bar{\sigma}}{2}$$ $$\pi = \frac{I}{2} + \frac{\bar{r}.\bar{\sigma}}{2}$$
How do I calculate the fidelity between the two?
I know that the general formula for fidelity is: $tr\sqrt{\rho^{1/2}\pi\rho^{1/2}}$
I want to know if there's any way to calculate the fidelity other than to go through the mess of diagonalizing the respective matrices of $\rho \text{ and } \pi$.