Skip to content

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

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from
Draft

Updating develop for V1.0.0a1 #604

wants to merge 9 commits into from

Conversation

apchytr
Copy link
Collaborator

@apchytr apchytr commented Jun 12, 2025

Context: Updating changelog, version and readme to reflect the new 1.0.0a1 API

Description of the Change: Updated the changelog, version and readme

Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.49%. Comparing base (907045d) to head (28e86ee).

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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 907045d...28e86ee. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines -155 to -162
>>> 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
Copy link
Contributor

@heltluke heltluke Jun 16, 2025

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

Copy link
Collaborator

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.

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

Successfully merging this pull request may close these issues.

3 participants