| 2226 | } |
| 2227 | |
| 2228 | void validate_matrixNumQubitsMatchesParam(int numMatrQubits, int numSetterQubits, const char* caller) { |
| 2229 | |
| 2230 | tokenSubs vars = { |
| 2231 | {"${NUM_SETTER_QUBITS}", numSetterQubits}, |
| 2232 | {"${NUM_MATRIX_QUBITS}", numMatrQubits}}; |
| 2233 | |
| 2234 | assertThat(numMatrQubits == numSetterQubits, report::MATR_NUM_QUBITS_MISMATCHES_INLINE_SETTER, vars, caller); |
| 2235 | } |
| 2236 | |
| 2237 | void validate_declaredNumElemsMatchesVectorLength(qindex numElems, qindex vecLength, const char* caller) { |
| 2238 |
no test coverage detected