| 182 | } |
| 183 | |
| 184 | void rightapplyDiagMatr2(Qureg qureg, int target1, int target2, DiagMatr2 matrix) { |
| 185 | validate_quregFields(qureg, __func__); |
| 186 | validate_quregIsDensityMatrix(qureg, __func__); |
| 187 | validate_twoTargets(qureg, target1, target2, __func__); |
| 188 | validate_matrixFields(matrix, __func__); |
| 189 | |
| 190 | bool conj = false; |
| 191 | int qubit1 = util_getBraQubit(target1, qureg); |
| 192 | int qubit2 = util_getBraQubit(target2, qureg); |
| 193 | localiser_statevec_anyCtrlTwoTargDiagMatr(qureg, {}, {}, qubit1, qubit2, matrix, conj); |
| 194 | } |
| 195 | |
| 196 | } // end de-mangler |
| 197 |
nothing calls this directly
no test coverage detected