-
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
Update decompositions.py and readds the Takagi decomposition #363
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #363 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 27 27
Lines 1891 1927 +36
=========================================
+ Hits 1891 1927 +36
Continue to review full report in Codecov by Sentry.
|
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.
👍
Fixes urllib3 v2.0 not supporting versions <1.1.1 of openSSL. See readthedocs/readthedocs.org#10290.
This reverts commit db0e8d7.
Failing doc build is fixed by merging #364 |
* Refactor sphinx config and bump docs python version (#364) * fix [.readthedocs.yml] - increase python version Fixes urllib3 v2.0 not supporting versions <1.1.1 of openSSL. See readthedocs/readthedocs.org#10290. * fix [.readthedocs.yml] - set container image and python version * unpin doc requirements * Update decompositions.py and readds the Takagi decomposition (#363) * Update decompositions.py * New takagi * New takagi * Passes black * Simplifies blochmessiah * Simplifies blochmessiah * Found a case that breaks Takagi * Fixes all the tests * Fixes issues found by the linter * Adds extra test * Adds extra test * dummy * dummy * fix [.readthedocs.yml] - increase python version Fixes urllib3 v2.0 not supporting versions <1.1.1 of openSSL. See readthedocs/readthedocs.org#10290. * fix [.readthedocs.yml] - set container image and python version * unpin doc requirements * Revert "fix [.readthedocs.yml] - increase python version" This reverts commit db0e8d7. --------- Co-authored-by: Nicolas Quesada <nquesada@pop-os.localdomain> Co-authored-by: Sebastián Duque Mesa <675763+sduquemesa@users.noreply.github.com> * Dummy commit * Passes black * linting * Updates module summary --------- Co-authored-by: Sebastián Duque Mesa <675763+sduquemesa@users.noreply.github.com> Co-authored-by: Nicolas Quesada <nquesada@pop-os.localdomain>
Simplifies the construction of
blochmessiah
and addstakagi
with a very simple elegant implementation derived from http://info.phys.unm.edu/~caves/courses/qinfo-s17/lectures/polarsingularAutonne.pdf .Note that this implementation of
takagi
should replace the implementation oftakagi
in strawberryfields here.More generally,
bloch_messiah
andwilliamson
should not remain insf
and instead just be imported from here.