-
Notifications
You must be signed in to change notification settings - Fork 27
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 broadcasted gaussian integrals #502
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #502 +/- ##
===========================================
+ Coverage 89.76% 89.77% +0.01%
===========================================
Files 104 104
Lines 7639 7639
===========================================
+ Hits 6857 6858 +1
+ Misses 782 781 -1
Continue to review full report in Codecov by Sentry.
|
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
User description
Cleaned up and refactored Gaussian integrals, now working with batched, non batched and polynomial inputs
PR Type
enhancement, tests
Description
complex_gaussian_integral_1
andcomplex_gaussian_integral_2
.join_Abc
function to support batch processing and improved input validation.Changes walkthrough 📝
gaussian_integrals.py
Refactor Gaussian integral functions and enhance batch processing
mrmustard/physics/gaussian_integrals.py
complex_gaussian_integral
andcontract_two_Abc
functions.complex_gaussian_integral_1
andcomplex_gaussian_integral_2
functions.
join_Abc
function to support batch processing.representations.py
Update Gaussian integral usage in representations
mrmustard/physics/representations.py
complex_gaussian_integral
withcomplex_gaussian_integral_1
.complex_gaussian_integral_2
.triples.py
Update triples to use new Gaussian integral function
mrmustard/physics/triples.py
contract_two_Abc
withcomplex_gaussian_integral_2
.test_circuit_components_utils.py
Update circuit components utils tests for new integrals
tests/test_lab_dev/test_circuit_components_utils.py
complex_gaussian_integral_1
andcomplex_gaussian_integral_2
.test_gaussian_integrals.py
Add tests for new Gaussian integral functions
tests/test_physics/test_gaussian_integrals.py
complex_gaussian_integral_1
andcomplex_gaussian_integral_2
.test_representations.py
Update representation tests for new integrals
tests/test_physics/test_representations.py
complex_gaussian_integral_1
andcomplex_gaussian_integral_2
.