One well-known fidelity is defined as $(Tr\sqrt{\sqrt{\rho}\sigma\sqrt{\rho}})^2$. And for pure states, fidelity is always in the form $|\langle\psi|\phi\rangle|^2$. As we know, in the context of two-qubit quantum computation, we cannot tell the difference between $|\psi\rangle$ and $e^{ia}|\psi\rangle$($a$ is real and perhaps $|\psi\rangle$ need to be a pure state). And the definitions of fidelity above are all modes of some complex values. So does that means the phase factor of quantum states is negligible in calculating the fidelity?
And could we generalize it to quantum operation and say that $U$, a unitary, cannot be distinguished from $e^{ia}U$?