| 173 | extern "C" { |
| 174 | |
| 175 | void leftapplyDiagMatr2(Qureg qureg, int target1, int target2, DiagMatr2 matrix) { |
| 176 | validate_quregFields(qureg, __func__); |
| 177 | validate_twoTargets(qureg, target1, target2, __func__); |
| 178 | validate_matrixFields(matrix, __func__); |
| 179 | |
| 180 | bool conj = false; |
| 181 | localiser_statevec_anyCtrlTwoTargDiagMatr(qureg, {}, {}, target1, target2, matrix, conj); |
| 182 | } |
| 183 | |
| 184 | void rightapplyDiagMatr2(Qureg qureg, int target1, int target2, DiagMatr2 matrix) { |
| 185 | validate_quregFields(qureg, __func__); |
nothing calls this directly
no test coverage detected