| 1453 | } |
| 1454 | |
| 1455 | void applyTwoQubitPhaseFlip(Qureg qureg, int target1, int target2) { |
| 1456 | validate_quregFields(qureg, __func__); |
| 1457 | validate_twoTargets(qureg, target1, target2, __func__); |
| 1458 | |
| 1459 | // harmlessly re-validates |
| 1460 | int targets[] = {target1, target2}; |
| 1461 | applyMultiQubitPhaseFlip(qureg, targets, 2); |
| 1462 | } |
| 1463 | |
| 1464 | void applyMultiQubitPhaseFlip(Qureg qureg, int* targets, int numTargets) { |
| 1465 | validate_quregFields(qureg, __func__); |
nothing calls this directly
no test coverage detected