Closed kaspernielsen96 closed 3 months ago
Attention: Patch coverage is 95.13889%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 88.67%. Comparing base (
c483c0e
) to head (ac4081a
).
Files | Patch % | Lines |
---|---|---|
mrmustard/physics/ansatze.py | 95.07% | 7 Missing :warning: |
Regarding and
and different shapes of c. I add some (ugly) code that can handle that and will add padding zeros (any improvements are more than welcome).
Note that the number of not-wires with polynomials must be the same. Otherwise things will start to break down very quickly since this ties into also A and b.
It seems that adding this function makes the ansatz.py file too-complex
, so we might have to split the file. This we will anyways have to do when we add call_none
to the ansatz.
Context: Implementing the new poly*exp ansatz. Description of the Change: For now just writing and testing the ansatz, but NOT yet changing the Bargmann representation or anything to use the ansatz. Benefits: Many once implemented