| 3101 | } |
| 3102 | |
| 3103 | void validate_krausMapMatchesTargets(KrausMap map, int numTargets, const char* caller) { |
| 3104 | |
| 3105 | tokenSubs vars = {{"${KRAUS_QUBITS}", map.numQubits}, {"${TARG_QUBITS}", numTargets}}; |
| 3106 | assertThat(map.numQubits == numTargets, report::KRAUS_MAP_SIZE_MISMATCHES_TARGETS, vars, caller); |
| 3107 | } |
| 3108 | |
| 3109 | |
| 3110 |
no test coverage detected