Fidelity of quantum states

In quantum mechanics, notably in quantum information theory, fidelity is a measure of the "closeness" of two quantum states. It expresses the probability that one state will pass a test to identify as the other. The fidelity is not a metric on the space of density matrices, but it can be used to define the Bures metric on this space.

Given two density operators ${\displaystyle \rho }$ and ${\displaystyle \sigma }$, the fidelity is generally defined as the quantity ${\displaystyle F(\rho ,\sigma )=\left[\operatorname {tr} {\sqrt {{\sqrt {\rho }}\sigma {\sqrt {\rho }}}}\right]^{2}}$. In the special case where ${\displaystyle \rho }$ and ${\displaystyle \sigma }$ represent pure quantum states, namely, ${\displaystyle \rho =|\psi _{\rho }\rangle \!\langle \psi _{\rho }|}$ and ${\displaystyle \sigma =|\psi _{\sigma }\rangle \!\langle \psi _{\sigma }|}$, the definition reduces to the squared overlap between the states: ${\displaystyle F(\rho ,\sigma )=|\langle \psi _{\rho }|\psi _{\sigma }\rangle |^{2}}$. While not obvious from the general definition, the fidelity is symmetric: ${\displaystyle F(\rho ,\sigma )=F(\sigma ,\rho )}$.

Motivation

Given two random variables ${\displaystyle X,Y}$  with values ${\displaystyle (1,...,n)}$  (categorical random variables) and probabilities ${\displaystyle p=(p_{1},p_{2},\ldots ,p_{n})}$  and ${\displaystyle q=(q_{1},q_{2},\ldots ,q_{n})}$ , the fidelity of ${\displaystyle X}$  and ${\displaystyle Y}$  is defined to be the quantity

${\displaystyle F(X,Y)=\left(\sum _{i}{\sqrt {p_{i}q_{i}}}\right)^{2}}$ .

The fidelity deals with the marginal distribution of the random variables. It says nothing about the joint distribution of those variables. In other words, the fidelity F(X,Y) is the square of the inner product of ${\displaystyle ({\sqrt {p_{1}}},\ldots ,{\sqrt {p_{n}}})}$  and ${\displaystyle ({\sqrt {q_{1}}},\ldots ,{\sqrt {q_{n}}})}$  viewed as vectors in Euclidean space. Notice that F(X,Y) = 1 if and only if p = q. In general, ${\displaystyle 0\leq F(X,Y)\leq 1}$ . The measure ${\displaystyle \sum _{i}{\sqrt {p_{i}q_{i}}}}$  is known as the Bhattacharyya coefficient.

Given a classical measure of the distinguishability of two probability distributions, one can motivate a measure of distinguishability of two quantum states as follows. If an experimenter is attempting to determine whether a quantum state is either of two possibilities ${\displaystyle \rho }$  or ${\displaystyle \sigma }$ , the most general possible measurement they can make on the state is a POVM, which is described by a set of Hermitian positive semidefinite operators ${\displaystyle \{F_{i}\}}$ . If the state given to the experimenter is ${\displaystyle \rho }$ , they will witness outcome ${\displaystyle i}$  with probability ${\displaystyle p_{i}=\operatorname {tr} (\rho F_{i})}$ , and likewise with probability ${\displaystyle q_{i}=\operatorname {tr} (\sigma F_{i})}$  for ${\displaystyle \sigma }$ . Their ability to distinguish between the quantum states ${\displaystyle \rho }$  and ${\displaystyle \sigma }$  is then equivalent to their ability to distinguish between the classical probability distributions ${\displaystyle p}$  and ${\displaystyle q}$ . Naturally, the experimenter will choose the best POVM he can find, so this motivates defining the quantum fidelity as the squared Bhattacharyya coefficient when extremized over all possible POVMs ${\displaystyle \{F_{i}\}}$ :

${\displaystyle F(\rho ,\sigma )=\min _{\{F_{i}\}}F(X,Y)=\min _{\{F_{i}\}}\left(\sum _{i}{\sqrt {\operatorname {tr} (\rho F_{i})\operatorname {tr} (\sigma F_{i})}}\right)^{2}.}$

It was shown by Fuchs and Caves that this manifestly symmetric definition is equivalent to the simple asymmetric formula given in the next section.[1]

Definition

Given two density matrices ρ and σ, the fidelity is defined by [2]

${\displaystyle F(\rho ,\sigma )=\left(\operatorname {tr} {\sqrt {{\sqrt {\rho }}\sigma {\sqrt {\rho }}}}\right)^{2},}$

where, for a positive semidefinite matrix ${\displaystyle M}$ , ${\displaystyle {\sqrt {M}}}$  denotes its unique positive square root, as given by the spectral theorem. The Euclidean inner product from the classical definition is replaced by the Hilbert–Schmidt inner product.

Some of the important properties of the quantum state fidelity are:

• Symmetry. ${\displaystyle F(\rho ,\sigma )=F(\sigma ,\rho )}$ .
• Bounded values. For any ${\displaystyle \rho }$  and ${\displaystyle \sigma }$ , ${\displaystyle 0\leq F(\rho ,\sigma )\leq 1}$ , and ${\displaystyle F(\rho ,\rho )=1}$ .
• Consistency with fidelity between probability distributions. If ${\displaystyle \rho }$  and ${\displaystyle \sigma }$  commute, the definition simplifies to
${\displaystyle F(\rho ,\sigma )=\left[\operatorname {tr} {\sqrt {\rho \sigma }}\right]^{2}=\left(\sum _{k}{\sqrt {p_{k}q_{k}}}\right)^{2}=F({\boldsymbol {p}},{\boldsymbol {q}}),}$

where ${\displaystyle p_{k},q_{k}}$  are the eigenvalues of ${\displaystyle \rho ,\sigma }$ , respectively. To see this, remember that if ${\displaystyle [\rho ,\sigma ]=0}$  then they can be diagonalized in the same basis:
${\displaystyle \rho =\sum _{i}p_{i}|i\rangle \langle i|{\text{ and }}\sigma =\sum _{i}q_{i}|i\rangle \langle i|,}$

so that ${\displaystyle \operatorname {tr} {\sqrt {\rho \sigma }}=\operatorname {tr} \left(\sum _{k}{\sqrt {p_{k}q_{k}}}|i\rangle \!\langle i|\right)=\sum _{k}{\sqrt {p_{k}q_{k}}}.}$
• Simplified expressions for pure states. If ${\displaystyle \rho }$  is pure, ${\displaystyle \rho =|\psi _{\rho }\rangle \!\langle \psi _{\rho }|}$ , then ${\displaystyle F(\rho ,\sigma )=\langle \psi _{\rho }|\sigma |\psi _{\rho }\rangle }$ . This follows from
${\displaystyle F(\rho ,\sigma )=\left(\operatorname {tr} {\sqrt {|\psi _{\rho }\rangle \langle \psi _{\rho }|\sigma |\psi _{\rho }\rangle \langle \psi _{\rho }|}}\right)^{2}=\langle \psi _{\rho }|\sigma |\psi _{\rho }\rangle \left(\operatorname {tr} {\sqrt {|\psi _{\rho }\rangle \langle \psi _{\rho }|}}\right)^{2}=\langle \psi _{\rho }|\sigma |\psi _{\rho }\rangle .}$

If both ${\displaystyle \rho }$  and ${\displaystyle \sigma }$  are pure, ${\displaystyle \rho =|\psi _{\rho }\rangle \!\langle \psi _{\rho }|}$  and ${\displaystyle \sigma =|\psi _{\sigma }\rangle \!\langle \psi _{\sigma }|}$ , then ${\displaystyle F(\rho ,\sigma )=|\langle \psi _{\rho }|\psi _{\sigma }\rangle |^{2}}$ . This follows immediately from the above expression for ${\displaystyle \rho }$  pure.
• Equivalent expression.

An equivalent expression for the fidelity may be written, using the trace norm

${\displaystyle F(\rho ,\sigma )=\lVert {\sqrt {\rho }}{\sqrt {\sigma }}\rVert _{\operatorname {tr} }^{2}={\Big (}\operatorname {tr} |{\sqrt {\rho }}{\sqrt {\sigma }}|{\Big )}^{2},}$

where the absolute value of an operator is here defined as ${\displaystyle |A|\equiv {\sqrt {A^{\dagger }A}}}$ .

• Explicit expression for qubits.

If ${\displaystyle \rho }$  and ${\displaystyle \sigma }$  are both qubit states, the fidelity can be computed as [2][3]

${\displaystyle F(\rho ,\sigma )=\operatorname {tr} (\rho \sigma )+2{\sqrt {\det(\rho )\det(\sigma )}}.}$

Qubit state means that ${\displaystyle \rho }$  and ${\displaystyle \sigma }$  are represented by two-dimensional matrices. This result follows noticing that ${\displaystyle M={\sqrt {\rho }}\sigma {\sqrt {\rho }}}$  is a positive semidefinite operator, hence ${\displaystyle \operatorname {tr} {\sqrt {M}}={\sqrt {\lambda _{1}}}+{\sqrt {\lambda _{2}}}}$ , where ${\displaystyle \lambda _{1}}$  and ${\displaystyle \lambda _{2}}$  are the (nonnegative) eigenvalues of ${\displaystyle M}$ . If ${\displaystyle \rho }$  (or ${\displaystyle \sigma }$ ) is pure, this result is simplified further to ${\displaystyle F(\rho ,\sigma )=\operatorname {tr} (\rho \sigma )}$  since ${\displaystyle \mathrm {Det} (\rho )=0}$  for pure states.

Alternative definition

Some authors use an alternative definition ${\displaystyle F':={\sqrt {F}}}$  and call this quantity fidelity.[4] The definition of ${\displaystyle F}$  however is more common.[5][6][7] To avoid confusion, ${\displaystyle F'}$  could be called "square root fidelity". In any case it is advisable to clarify the adopted definition whenever the fidelity is employed.

Other properties

Unitary invariance

Direct calculation shows that the fidelity is preserved by unitary evolution, i.e.

${\displaystyle \;F(\rho ,\sigma )=F(U\rho \;U^{*},U\sigma U^{*})}$

for any unitary operator ${\displaystyle U}$ .

Uhlmann's theorem

We saw that for two pure states, their fidelity coincides with the overlap. Uhlmann's theorem[8] generalizes this statement to mixed states, in terms of their purifications:

Theorem Let ρ and σ be density matrices acting on Cn. Let ρ12 be the unique positive square root of ρ and

${\displaystyle |\psi _{\rho }\rangle =\sum _{i=1}^{n}(\rho ^{{1}/{2}}|e_{i}\rangle )\otimes |e_{i}\rangle \in \mathbb {C} ^{n}\otimes \mathbb {C} ^{n}}$

be a purification of ρ (therefore ${\displaystyle \textstyle \{|e_{i}\rangle \}}$  is an orthonormal basis), then the following equality holds:

${\displaystyle F(\rho ,\sigma )=\max _{|\psi _{\sigma }\rangle }|\langle \psi _{\rho }|\psi _{\sigma }\rangle |^{2}}$

where ${\displaystyle |\psi _{\sigma }\rangle }$  is a purification of σ. Therefore, in general, the fidelity is the maximum overlap between purifications.

Sketch of proof

A simple proof can be sketched as follows. Let ${\displaystyle \textstyle |\Omega \rangle }$  denote the vector

${\displaystyle |\Omega \rangle =\sum _{i=1}^{n}|e_{i}\rangle \otimes |e_{i}\rangle }$

and σ12 be the unique positive square root of σ. We see that, due to the unitary freedom in square root factorizations and choosing orthonormal bases, an arbitrary purification of σ is of the form

${\displaystyle |\psi _{\sigma }\rangle =(\sigma ^{{1}/{2}}V_{1}\otimes V_{2})|\Omega \rangle }$

where Vi's are unitary operators. Now we directly calculate

${\displaystyle |\langle \psi _{\rho }|\psi _{\sigma }\rangle |^{2}=|\langle \Omega |(\rho ^{{1}/{2}}\otimes I)(\sigma ^{{1}/{2}}V_{1}\otimes V_{2})|\Omega \rangle |^{2}=|\operatorname {tr} (\rho ^{{1}/{2}}\sigma ^{{1}/{2}}V_{1}V_{2}^{T})|^{2}.}$

But in general, for any square matrix A and unitary U, it is true that |tr(AU)| ≤ tr((A*A)12). Furthermore, equality is achieved if U* is the unitary operator in the polar decomposition of A. From this follows directly Uhlmann's theorem.

Proof with explicit decompositions

We will here provide an alternative, explicit way to prove Uhlmann's theorem.

Let ${\displaystyle |\psi _{\rho }\rangle }$  and ${\displaystyle |\psi _{\sigma }\rangle }$  be purifications of ${\displaystyle \rho }$  and ${\displaystyle \sigma }$ , respectively. To start, let us show that ${\displaystyle |\langle \psi _{\rho }|\psi _{\sigma }\rangle |\leq \operatorname {tr} |{\sqrt {\rho }}{\sqrt {\sigma }}|}$ .

The general form of the purifications of the states is:

{\displaystyle {\begin{aligned}|\psi _{\rho }\rangle &=\sum _{k}{\sqrt {\lambda _{k}}}|\lambda _{k}\rangle \otimes |u_{k}\rangle ,\\|\psi _{\sigma }\rangle &=\sum _{k}{\sqrt {\mu _{k}}}|\mu _{k}\rangle \otimes |v_{k}\rangle ,\end{aligned}}}

were ${\displaystyle |\lambda _{k}\rangle ,|\mu _{k}\rangle }$  are the eigenvectors of ${\displaystyle \rho ,\ \sigma }$ , and ${\displaystyle \{u_{k}\}_{k},\{v_{k}\}_{k}}$  are arbitrary orthonormal bases. The overlap between the purifications is
${\displaystyle \langle \psi _{\rho }|\psi _{\sigma }\rangle =\sum _{jk}{\sqrt {\lambda _{j}\mu _{k}}}\langle \lambda _{j}|\mu _{k}\rangle \,\langle u_{j}|v_{k}\rangle =\operatorname {tr} \left({\sqrt {\rho }}{\sqrt {\sigma }}U\right),}$

where the unitary matrix ${\displaystyle U}$  is defined as
${\displaystyle U=\left(\sum _{k}|\mu _{k}\rangle \!\langle u_{k}|\right)\,\left(\sum _{j}|v_{j}\rangle \!\langle \lambda _{j}|\right).}$

The conclusion is now reached via using the inequality ${\displaystyle |\operatorname {tr} (AU)|\leq \operatorname {tr} ({\sqrt {A^{\dagger }A}})\equiv \operatorname {tr} |A|}$ :
${\displaystyle |\langle \psi _{\rho }|\psi _{\sigma }\rangle |=|\operatorname {tr} ({\sqrt {\rho }}{\sqrt {\sigma }}U)|\leq \operatorname {tr} |{\sqrt {\rho }}{\sqrt {\sigma }}|.}$

Note that this inequality is the triangle inequality applied to the singular values of the matrix. Indeed, for a generic matrix ${\displaystyle A\equiv \sum _{j}s_{j}(A)|a_{j}\rangle \!\langle b_{j}|}$ and unitary ${\displaystyle U=\sum _{j}|b_{j}\rangle \!\langle w_{j}|}$ , we have
{\displaystyle {\begin{aligned}|\operatorname {tr} (AU)|&=\left|\operatorname {tr} \left(\sum _{j}s_{j}(A)|a_{j}\rangle \!\langle b_{j}|\,\,\sum _{k}|b_{k}\rangle \!\langle w_{k}|\right)\right|\\&=\left|\sum _{j}s_{j}(A)\langle w_{j}|a_{j}\rangle \right|\\&\leq \sum _{j}s_{j}(A)\,|\langle w_{j}|a_{j}\rangle |\\&\leq \sum _{j}s_{j}(A)\\&=\operatorname {tr} |A|,\end{aligned}}}

where ${\displaystyle s_{j}(A)\geq 0}$  are the (always real and non-negative) singular values of ${\displaystyle A}$ , as in the singular value decomposition. The inequality is saturated and becomes an equality when ${\displaystyle \langle w_{j}|a_{j}\rangle =1}$ , that is, when ${\displaystyle U=\sum _{k}|b_{k}\rangle \!\langle a_{k}|,}$  and thus ${\displaystyle AU={\sqrt {AA^{\dagger }}}\equiv |A|}$ . The above shows that ${\displaystyle |\langle \psi _{\rho }|\psi _{\sigma }\rangle |=\operatorname {tr} |{\sqrt {\rho }}{\sqrt {\sigma }}|}$  when the purifications ${\displaystyle |\psi _{\rho }\rangle }$  and ${\displaystyle |\psi _{\sigma }\rangle }$  are such that ${\displaystyle {\sqrt {\rho }}{\sqrt {\sigma }}U=|{\sqrt {\rho }}{\sqrt {\sigma }}|}$ . Because this choice is possible regardless of the states, we can finally conclude that
${\displaystyle \operatorname {tr} |{\sqrt {\rho }}{\sqrt {\sigma }}|=\max |\langle \psi _{\rho }|\psi _{\sigma }\rangle |.}$

Consequences

Some immediate consequences of Uhlmann's theorem are

• Fidelity is symmetric in its arguments, i.e. F (ρ,σ) = F (σ,ρ). Note that this is not obvious from the original definition.
• F (ρ,σ) lies in [0,1], by the Cauchy–Schwarz inequality.
• F (ρ,σ) = 1 if and only if ρ = σ, since Ψρ = Ψσ implies ρ = σ.

So we can see that fidelity behaves almost like a metric. This can be formalized and made useful by defining

${\displaystyle \cos ^{2}\theta _{\rho \sigma }=F(\rho ,\sigma )\,}$

As the angle between the states ${\displaystyle \rho }$  and ${\displaystyle \sigma }$ . It follows from the above properties that ${\displaystyle \theta _{\rho \sigma }}$  is non-negative, symmetric in its inputs, and is equal to zero if and only if ${\displaystyle \rho =\sigma }$ . Furthermore, it can be proved that it obeys the triangle inequality,[4] so this angle is a metric on the state space: the Fubini–Study metric.[9]

Relationship with the fidelity between the corresponding probability distributions

Let ${\displaystyle \{E_{k}\}_{k}}$  be an arbitrary positive operator-valued measure (POVM); that is, a set of operators ${\displaystyle E_{k}}$  satisfying ${\displaystyle \sum _{k}E_{k}=I}$ , ${\displaystyle E_{j}E_{k}=\delta _{jk}E_{j}}$ , and ${\displaystyle E_{k}^{2}=E_{k}}$ . Then, for any pair of states ${\displaystyle \rho }$  and ${\displaystyle \sigma }$ , we have

${\displaystyle {\sqrt {F(\rho ,\sigma )}}\leq \sum _{k}{\sqrt {\operatorname {tr} (E_{k}\rho )}}{\sqrt {\operatorname {tr} (E_{k}\sigma )}}\equiv \sum _{k}{\sqrt {p_{k}q_{k}}},}$

where in the last step we denoted with ${\displaystyle p_{k},q_{k}}$  the probability distributions obtained by measuring ${\displaystyle \rho ,\ \sigma }$  with the POVM ${\displaystyle \{E_{k}\}_{k}}$ .

This shows that the square root of the fidelity between two quantum states is upper bounded by the Bhattacharyya coefficient between the corresponding probability distributions in any possible POVM. Indeed, it is more generally true that

${\displaystyle F(\rho ,\sigma )=\min _{\{E_{k}\}}F({\boldsymbol {p}},{\boldsymbol {q}}),}$

where ${\displaystyle F({\boldsymbol {p}},{\boldsymbol {q}})\equiv \left(\sum _{k}{\sqrt {p_{k}q_{k}}}\right)^{2}}$ , and the minimum is taken over all possible POVMs.

Proof of inequality

As was previously shown, the square root of the fidelity can be written as ${\displaystyle {\sqrt {F(\rho ,\sigma )}}=\operatorname {tr} |{\sqrt {\rho }}{\sqrt {\sigma }}|,}$ which is equivalent to the existence of a unitary operator ${\displaystyle U}$  such that

${\displaystyle {\sqrt {F(\rho ,\sigma )}}=\operatorname {tr} ({\sqrt {\rho }}{\sqrt {\sigma }}U).}$

Remembering that ${\displaystyle \sum _{k}E_{k}=I}$  holds true for any POVM, we can then write
${\displaystyle {\sqrt {F(\rho ,\sigma )}}=\operatorname {tr} ({\sqrt {\rho }}{\sqrt {\sigma }}U)=\sum _{k}\operatorname {tr} ({\sqrt {\rho }}E_{k}E_{k}{\sqrt {\sigma }}U)\leq \sum _{k}{\sqrt {\operatorname {tr} (E_{k}\rho )\operatorname {tr} (E_{k}\sigma )}},}$

where in the last step we used Cauchy-Schwarz inequality as in ${\displaystyle |\operatorname {tr} (A^{\dagger }B)|^{2}\leq \operatorname {tr} (A^{\dagger }A)\operatorname {tr} (B^{\dagger }B)}$ .

Behavior under quantum operations

The fidelity between two states can be shown to never decrease when a non-selective quantum operation ${\displaystyle {\mathcal {E}}}$  is applied to the states:[10]

${\displaystyle F({\mathcal {E}}(\rho ),{\mathcal {E}}(\sigma ))\geq F(\rho ,\sigma ),}$

for any trace-preserving completely positive map ${\displaystyle {\mathcal {E}}}$ .

Relationship to trace distance

We can define the trace distance between two matrices A and B in terms of the trace norm by

${\displaystyle D(A,B)={\frac {1}{2}}\|A-B\|_{\rm {tr}}\,.}$

When A and B are both density operators, this is a quantum generalization of the statistical distance. This is relevant because the trace distance provides upper and lower bounds on the fidelity as quantified by the Fuchs–van de Graaf inequalities,[11]

${\displaystyle 1-{\sqrt {F(\rho ,\sigma )}}\leq D(\rho ,\sigma )\leq {\sqrt {1-F(\rho ,\sigma )}}\,.}$

Often the trace distance is easier to calculate or bound than the fidelity, so these relationships are quite useful. In the case that at least one of the states is a pure state Ψ, the lower bound can be tightened.

${\displaystyle 1-F(\psi ,\rho )\leq D(\psi ,\rho )\,.}$

References

1. ^ C. A. Fuchs, C. M. Caves: "Ensemble-Dependent Bounds for Accessible Information in Quantum Mechanics", Physical Review Letters 73, 3047(1994)
2. ^ a b R. Jozsa, Fidelity for Mixed Quantum States, J. Mod. Opt. 41, 2315--2323 (1994). DOI: http://doi.org/10.1080/09500349414552171
3. ^ M. Hübner, Explicit Computation of the Bures Distance for Density Matrices, Phys. Lett. A 163, 239--242 (1992). DOI: https://doi.org/10.1016/0375-9601%2892%2991004-B
4. ^ a b Nielsen, Michael A.; Chuang, Isaac L. (2000). Quantum Computation and Quantum Information. Cambridge University Press. doi:10.1017/CBO9780511976667. ISBN 978-0521635035.
5. ^ Bengtsson, Ingemar (2017). Geometry of Quantum States: An Introduction to Quantum Entanglement. Cambridge, United Kingdom New York, NY: Cambridge University Press. ISBN 978-1-107-02625-4.
6. ^ Walls, D. F.; Milburn, G. J. (2008). Quantum Optics. Berlin: Springer. ISBN 978-3-540-28573-1.
7. ^ Jaeger, Gregg (2007). Quantum Information: An Overview. New York London: Springer. ISBN 978-0-387-35725-6.
8. ^ Uhlmann, A. (1976). "The "transition probability" in the state space of a ∗-algebra" (PDF). Reports on Mathematical Physics. 9 (2): 273–279. Bibcode:1976RpMP....9..273U. doi:10.1016/0034-4877(76)90060-4. ISSN 0034-4877.
9. ^ K. Życzkowski, I. Bengtsson, Geometry of Quantum States, Cambridge University Press, 2008, 131
10. ^ Nielsen, M. A. (1996-06-13). "The entanglement fidelity and quantum error correction". arXiv:quant-ph/9606012. Bibcode:1996quant.ph..6012N. Cite journal requires |journal= (help)
11. ^ C. A. Fuchs and J. van de Graaf, "Cryptographic Distinguishability Measures for Quantum Mechanical States", IEEE Trans. Inf. Theory 45, 1216 (1999). arXiv:quant-ph/9712042