-
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
BtoF #522
base: develop
Are you sure you want to change the base?
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:
|
) | ||
) | ||
for Ai, bi, ci in zip(self.A, self.b, self.c): | ||
Abc.append(self._partial_eval_single(Ai, bi, ci, z)) |
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.
The _partial_eval method should pass the indices parameter when calling _partial_eval_single. Change line 531 to: Abc.append(self._partial_eval_single(Ai, bi, ci, z, indices)) [important]
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:
|
Co-authored-by: Anthony <125415978+apchytr@users.noreply.github.com>
Co-authored-by: Anthony <125415978+apchytr@users.noreply.github.com>
User description
BtoF - will update description
PR Type
enhancement, bug_fix, tests
Description
PolyExpAnsatz
class to improve its functionality, including new methods for ansatz generation, decomposition, and evaluation.polynomial_shape
withnum_DV_vars
across multiple files for consistency and correctness.reorder_abc
toreorder_Abc
and updated related tests and functions.Changes walkthrough 📝
1 files
conf.py
Update configuration for mathjax and theme options
doc/conf.py
mathjax_path
formatting for consistency.html_theme_options
.4 files
dm.py
Update condition check to use `num_DV_vars`
mrmustard/lab_dev/states/dm.py
polynomial_shape
withnum_DV_vars
for condition check.ket.py
Update condition check to use `num_DV_vars`
mrmustard/lab_dev/states/ket.py
polynomial_shape
withnum_DV_vars
for condition check.representations.py
Update condition checks in representations
mrmustard/physics/representations.py
polynomial_shape
withnum_DV_vars
for condition check.trainer.py
Correct formatting in `ray.wait` call
mrmustard/training/trainer.py
ray.wait
call.2 files
polyexp_ansatz.py
Refactor and enhance `PolyExpAnsatz` class functionality
mrmustard/physics/ansatz/polyexp_ansatz.py
PolyExpAnsatz
class with new methods and properties.num_derived_vars
andnum_DV_vars
.gaussian_integrals.py
Refactor and rename functions for consistency
mrmustard/physics/gaussian_integrals.py
reorder_abc
toreorder_Abc
.join_Abc
method to usemath.concat
.2 files
test_polyexp_ansatz.py
Update tests for `PolyExpAnsatz` with new properties
tests/test_physics/test_ansatz/test_polyexp_ansatz.py
num_DV_vars
instead ofpolynomial_shape
.test_gaussian_integrals.py
Update tests for renamed function `reorder_Abc`
tests/test_physics/test_gaussian_integrals.py
reorder_Abc
instead ofreorder_abc
.