| 1410 | } |
| 1411 | |
| 1412 | void applyTwoQubitPhaseShift(Qureg qureg, int target1, int target2, qreal angle) { |
| 1413 | validate_quregFields(qureg, __func__); |
| 1414 | validate_twoTargets(qureg, target1, target2, __func__); |
| 1415 | |
| 1416 | // harmlessly re-validates |
| 1417 | int targets[] = {target1, target2}; |
| 1418 | applyMultiQubitPhaseShift(qureg, targets, 2, angle); |
| 1419 | } |
| 1420 | |
| 1421 | void applyMultiQubitPhaseShift(Qureg qureg, int* targets, int numTargets, qreal angle) { |
| 1422 | validate_quregFields(qureg, __func__); |
no test coverage detected