Closed arsalan-motamedi closed 1 month ago
Attention: Patch coverage is 97.87234%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 88.80%. Comparing base (
4aeafee
) to head (5c41971
).
Files | Patch % | Lines |
---|---|---|
mrmustard/lab_dev/transformations/base.py | 95.65% | 1 Missing :warning: |
Context: Physicality checks added.
Description of the Change: One can check physicality of a DM
rho
, or a Channelch
usingrho.is_physical
and/orch.is_physical
. Moreover, one can checkch.is_TP
,ch.is_CP
, andDM.is_positive
.Benefits: Clear.
Possible Drawbacks: None.
Related GitHub Issues: None.