| 729 | } |
| 730 | |
| 731 | void applyMultiControlledSqrtSwap(Qureg qureg, int* controls, int numControls, int target1, int target2) { |
| 732 | validate_quregFields(qureg, __func__); |
| 733 | validate_controlsAndTwoTargets(qureg, controls, numControls, target1, target2, __func__); |
| 734 | |
| 735 | // harmlessly re-validates |
| 736 | applyMultiStateControlledSqrtSwap(qureg, controls, nullptr, numControls, target1, target2); |
| 737 | } |
| 738 | |
| 739 | void applyMultiStateControlledSqrtSwap(Qureg qureg, int* controls, int* states, int numControls, int target1, int target2) { |
| 740 | validate_quregFields(qureg, __func__); |
nothing calls this directly
no test coverage detected