Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions thewalrus/quantum/gaussian_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def fidelity(mu1, cov1, mu2, cov2, hbar=2, rtol=1e-05, atol=1e-08):
function reduces to the modulus square of the overlap of their state vectors.
For the derivation see `'Quantum Fidelity for Arbitrary Gaussian States', Banchi et al. <10.1103/PhysRevLett.115.260501>`_.

The actual implementation used here corresponds to the *square* of Eq. 96 of
`'Gaussian states and operations - a quick reference', Brask <https://arxiv.org/abs/2102.05748>`_.
The actual implementation used here corresponds to the *square* of Eq. 112 of
`'Gaussian states and operations - a quick reference', Brask <https://arxiv.org/abs/2102.05748v2>`_. This equation can be used for mixed and pure states.

Args:
mu1 (array): vector of means of the first state
Expand Down