| 807 | } |
| 808 | |
| 809 | void applyControlledPauliX(Qureg qureg, int control, int target) { |
| 810 | validate_quregFields(qureg, __func__); |
| 811 | validate_controlAndTarget(qureg, control, target, __func__); |
| 812 | |
| 813 | // harmlessly re-validates |
| 814 | applyMultiStateControlledPauliX(qureg, &control, nullptr, 1, target); |
| 815 | } |
| 816 | |
| 817 | void applyControlledPauliY(Qureg qureg, int control, int target) { |
| 818 | validate_quregFields(qureg, __func__); |
nothing calls this directly
no test coverage detected