| 49 | for (auto& [label, qureg]: getCachedDensmatrs()) { |
| 50 | |
| 51 | DYNAMIC_SECTION( label ) { |
| 52 | |
| 53 | // no need to validate whether qureg successfully |
| 54 | // enters the debug state here, because the below |
| 55 | // serial setToDebugState() is guaranteed to succeed |
| 56 | initDebugState(qureg); |
| 57 | setToDebugState(reference); |
| 58 | |
| 59 | apiFunc(qureg); |
| 60 | applyReferenceOperator(reference, targs, kraus); |
| 61 | |
| 62 | REQUIRE_AGREE( qureg, reference ); |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 |
no test coverage detected