Open Joshy-R opened 1 week ago
Attention: Patch coverage is 96.77419%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 92.0%. Comparing base (
868299c
) to head (3d824d7
).
Files with missing lines | Patch % | Lines |
---|---|---|
include/mqt-core/dd/Operations.hpp | 94.4% | 2 Missing :warning: |
include/mqt-core/ir/operations/OpType.hpp | 80.0% | 1 Missing :warning: |
Description
These commits change how matrices are created from an OpType that reduces the number of switch statements necessary. The downside of this approach is that some functions can be called with arguments that do not affect the returned value. As the user never calls these functions, I see this as acceptable.
I also removed the CX_MAT and CZ_MAT, as they are only used in tests and do not occur in any other repository.
Fixes #484
Checklist:
I have not squashed the commits to make them easier to review, but I can squash them if desired.