Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwillia committed Sep 4, 2024
1 parent 0f08a3d commit 4ad9ef1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/source/comparing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,17 @@ The normalized Bures similarity (NBS) is defined as:
.. math::
NBS(K_1, K_2) = \frac{\mathcal{F}(K_1, K_2)}{\sqrt{\operatorname{Tr}[K_1] \operatorname{Tr}[K_2]}}
\mathcal{F}(K_1, K_2) = \operatorname{Tr}[(K_1^{1/2}K_2K_1^{1/2})^{1/2}]
and :math:`\mathcal{F}` is known as the fidelity.
where :math:`\mathcal{F}` is known as the fidelity.

.. math::
\mathcal{F}(K_1, K_2) = \operatorname{Tr}[(K_1^{1/2}K_2K_1^{1/2})^{1/2}]
and relatedly the Bures distance :math:`\mathcal{B}`, a proper metric is defined as:

.. math::
\mathcal{B}^2(K_1, K_2) = \operatorname{Tr}[K_1] \operatorname{Tr}[K_2] - 2 \operatorname{Tr}[(K_1^{1/2}K_2K_1^{1/2})^{1/2}]
\mathcal{B}^2(K_1, K_2) = \operatorname{Tr}[K_1] + \operatorname{Tr}[K_2] - 2 \operatorname{Tr}[(K_1^{1/2}K_2K_1^{1/2})^{1/2}]
Expand Down

0 comments on commit 4ad9ef1

Please sign in to comment.