Closed kaspernielsen96 closed 3 months ago
Attention: Patch coverage is 91.42857%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 88.93%. Comparing base (
84aba1e
) to head (5b2dd9e
).
Files | Patch % | Lines |
---|---|---|
mrmustard/physics/ansatze.py | 91.42% | 3 Missing :warning: |
Context: Adding a method where one can call the ansatz with
None
for some arguments. This will return a an updated ansatz with on fewer variables (wires). Description of the Change: Adding a method to theDiffOpPolyExpAnsatz
where one can evaluate only some of the wires, and thus returning a new updated ansatz. Benefits: Allows for reduction in the size of the ansatz. Can also be used withBtoQ
to do a Homodyne measurement.