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

New cft #484

Merged
merged 25 commits into from
Sep 6, 2024
Merged

New cft #484

merged 25 commits into from
Sep 6, 2024

Conversation

arsalan-motamedi
Copy link
Collaborator

Context:
Introducing the CFT (Complex Fourier Transform) gate. The previous CFT branch had some issues. Here we address them. However, the class CFT remains unchanged.

Description of the Change:
Updating tests.

Benefits:
CFT allows computing Wigner functions of arbitrary objects.

Possible Drawbacks:
Need to keep track of hbar by hand in Wigner function evaluations.

Related GitHub Issues:
None.

@arsalan-motamedi arsalan-motamedi added the no changelog Pull request does not require a CHANGELOG entry label Sep 4, 2024
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.60%. Comparing base (1a798b3) to head (f721005).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #484      +/-   ##
===========================================
+ Coverage    89.56%   89.60%   +0.03%     
===========================================
  Files          101      102       +1     
  Lines         7392     7415      +23     
===========================================
+ Hits          6621     6644      +23     
  Misses         771      771              
Files with missing lines Coverage Δ
mrmustard/lab_dev/states/base.py 96.26% <100.00%> (ø)
mrmustard/lab_dev/transformations/__init__.py 100.00% <100.00%> (ø)
mrmustard/lab_dev/transformations/cft.py 100.00% <100.00%> (ø)
mrmustard/physics/ansatze.py 97.18% <100.00%> (+0.03%) ⬆️
mrmustard/physics/triples.py 100.00% <100.00%> (ø)

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 1a798b3...f721005. Read the comment docs.

@apchytr apchytr mentioned this pull request Sep 6, 2024
@arsalan-motamedi arsalan-motamedi merged commit 06c000b into develop Sep 6, 2024
7 checks passed
@arsalan-motamedi arsalan-motamedi deleted the new-CFT branch September 6, 2024 17:07
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.

2 participants