-
Notifications
You must be signed in to change notification settings - Fork 29
Updating develop for V1.0.0a1 #604
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
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #604 +/- ##
===========================================
+ Coverage 91.45% 91.49% +0.03%
===========================================
Files 102 102
Lines 5830 5830
===========================================
+ Hits 5332 5334 +2
+ Misses 498 496 -2 see 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
>>> bunched = (Coherent(1.0) & Coherent(1.0)) >> BSgate(np.pi/4) | ||
>>> bunched.get_modes(1) == Coherent(np.sqrt(2.0)) | ||
True | ||
``` | ||
As well as transformations (gates and circuits): | ||
```python | ||
>>> Dgate(np.sqrt(2)) >> Attenuator(0.5) == Attenuator(0.5) >> Dgate(1.0) | ||
True |
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.
Can we also have/keep some >>>
lines here, such that they may be ran with doctest
? Doing so can help ensure that this file does not fall out of date as easily going forward.
@@ -246,18 +169,18 @@ from mrmustard.training import Optimizer | |||
|
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.
from mrmustard.physics import fidelity
can also be dropped from imports above. I noticed it when trying to do some tests.
Context: Updating changelog, version and readme to reflect the new 1.0.0a1 API
Description of the Change: Updated the changelog, version and readme