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

Sauron states #400

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open

Sauron states #400

wants to merge 25 commits into from

Conversation

ziofil
Copy link
Collaborator

@ziofil ziofil commented May 13, 2024

Context:
This PR adds Sauron states, i.e. approximations of Number states by a superposition of coherent states on a ring.
Screenshot 2024-05-13 at 1 37 09 PM

Description of the Change:

Benefits:
It's like having Fock states but CV.

Possible Drawbacks:
Be careful that the batch dimension can grow considerably when taking products with other objects (the batch dimension distributes)

Related GitHub Issues:

@ziofil ziofil added the no changelog Pull request does not require a CHANGELOG entry label May 13, 2024
Copy link

codecov bot commented May 22, 2024

Codecov Report

Attention: Patch coverage is 94.59459% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 87.63%. Comparing base (3d8c81c) to head (449ef2d).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #400   +/-   ##
========================================
  Coverage    87.63%   87.63%           
========================================
  Files           81       81           
  Lines         6129     6163   +34     
========================================
+ Hits          5371     5401   +30     
- Misses         758      762    +4     
Files Coverage Δ
mrmustard/lab_dev/circuit_components.py 96.25% <100.00%> (+0.12%) ⬆️
mrmustard/lab_dev/states/base.py 96.46% <100.00%> (-0.09%) ⬇️
mrmustard/lab_dev/states/states.py 100.00% <100.00%> (ø)
mrmustard/math/tensor_wrappers/xptensor.py 70.90% <ø> (ø)
mrmustard/physics/ansatze.py 95.08% <100.00%> (-0.06%) ⬇️
mrmustard/physics/converters.py 100.00% <100.00%> (ø)
mrmustard/physics/representations.py 97.67% <85.71%> (-1.81%) ⬇️

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 3d8c81c...449ef2d. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Pull request does not require a CHANGELOG entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants