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

Define diamond distance as 1/2 diamond norm of difference #552

Open
rileyjmurray opened this issue Mar 8, 2025 · 0 comments
Open

Define diamond distance as 1/2 diamond norm of difference #552

rileyjmurray opened this issue Mar 8, 2025 · 0 comments
Milestone

Comments

@rileyjmurray
Copy link
Contributor

A function call of the form diamonddist(a, b) returns the diamond norm of a - b. Our reports give things in terms of 1/2 this value. The recent QCVV tutorial paper out of the QPL actually defines the diamond distance as 1/2 the diamond norm of a-b. It would be nice if we adopted this convention.

Note: our jtracedist function already applies the 1/2 scaling, so there is precedent for adopting these definitions.

@sserita sserita added this to the 0.9.14 milestone Mar 18, 2025
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