-
Notifications
You must be signed in to change notification settings - Fork 56
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
Fidelity and random matrices #169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @nquesada, I have a couple of comments about randomness in the tests and signatures, but nothing major.
Also, I think you're right, we should convert quantum
to a subpackage with modules, it's getting a bit crowded in there.
Codecov Report
@@ Coverage Diff @@
## master #169 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 14 +1
Lines 1004 1050 +46
=========================================
+ Hits 1004 1050 +46
Continue to review full report at Codecov.
|
Co-authored-by: Josh Izaac <josh146@gmail.com>
Co-authored-by: Josh Izaac <josh146@gmail.com>
Adds the function
fidelity
to calculate the quantum fidelity for two Gaussian states parametrized in terms of covariance matrices and vectors of means. It also adds the modulerandom
to generate random matrices.