Closed burgholzer closed 2 months ago
Attention: Patch coverage is 84.37500%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 87.1%. Comparing base (
738d181
) to head (1a30ac3
). Report is 1 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/circuit_optimizer/CircuitOptimizer.cpp | 84.3% | 5 Missing :warning: |
Description
The previous implementation of the
isDynamicCircuit
check would falsely report a circuit to not be dynamic if the circuit contains multiple measurements on one qubit. This PR fixes the underlying error and refactors the logic of the respective method to handle more cases.This was discovered while working on https://github.com/cda-tum/mqt-qcec/issues/439
Checklist: