| 142 | |
| 143 | |
| 144 | void mixSuperOp(Qureg qureg, int* targets, int numTargets, SuperOp superop) { |
| 145 | validate_quregFields(qureg, __func__); |
| 146 | validate_targets(qureg, targets, numTargets, __func__); |
| 147 | validate_superOpFields(superop, __func__); |
| 148 | validate_superOpIsSynced(superop, __func__); |
| 149 | validate_superOpDimMatchesTargs(superop, numTargets, __func__); |
| 150 | validate_mixedAmpsFitInNode(qureg, 2*numTargets, __func__); // superop acts on 2x |
| 151 | |
| 152 | localiser_densmatr_superoperator(qureg, superop, util_getVector(targets, numTargets)); |
| 153 | } |
| 154 | |
| 155 | |
| 156 |
no test coverage detected