Closed DRovara closed 4 months ago
Attention: Patch coverage is 90.90909%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 91.6%. Comparing base (
3ce5689
) to head (6c76ad1
). Report is 144 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/operations/CompoundOperation.cpp | 83.3% | 1 Missing :warning: |
Description
This pull request adds the
customGate
flag to theCompoundOperation
class. This flag is set forCompoundOperations
that were constructed from custom gate calls.The pull request also provides new functionality to the
flattenOperations
optimizer. Now, a second parameter can be used to indicate that only custom gates should be flattened. It makes sense to put this functionality here as outside of theCircuitOptimizer
class, certain protected members cannot be accessed anymore.Checklist: