Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change distance measure to handle zero fidelity case #226

Open
GTorlai opened this issue Aug 29, 2021 · 1 comment
Open

Change distance measure to handle zero fidelity case #226

GTorlai opened this issue Aug 29, 2021 · 1 comment
Milestone

Comments

@GTorlai
Copy link
Owner

GTorlai commented Aug 29, 2021

Right now, since we are computing the logarithm of the inner product directly, we get a NaN for fidelity measurements of orthogonal states.

@mtfishman
Copy link
Collaborator

Should it just check for 0 before the logarithm is taken and return 0 in that case?

@GTorlai GTorlai added this to the v0.1.0 milestone Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants