-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update the definition of the Hellinger fidelity (#5595) * Update the definition of the Hellinger fidelity * Updates based on review * add explanation * Update releasenotes/notes/fix_hellinger_fidelity_def-7f60d53e3577fdaf.yaml Co-authored-by: Christopher J. Wood <cjwood@us.ibm.com> Co-authored-by: Christopher J. Wood <cjwood@us.ibm.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit fc77b19) * Make hellinger_distance() private and update releasenotes In #5595 the hellinger_fidelity() method was split into a function to calculate the hellinger distance and the fidelity function was update to use that internally. However, we don't want to backport a new feature in a backport/bugfix release so this commit marks it as private and updates the release notes to not mention the new function. We will introduce the new api function in the 0.17.0 release. Co-authored-by: Paul Nation <nonhermitian@gmail.com> Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
- Loading branch information
1 parent
29e0737
commit df53e34
Showing
2 changed files
with
57 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/fix_hellinger_fidelity_def-7f60d53e3577fdaf.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
The definition of the Hellinger fidelity from has been corrected from the | ||
previous defition of :math`1-H(P,Q)` to :math:`[1-H(P,Q)**2]**2` so that it | ||
is equal to the quantum state fidelity of P, Q as diagonal density matrices. |