| 501 | } |
| 502 | |
| 503 | void applyControlledS(Qureg qureg, int control, int target) { |
| 504 | validate_quregFields(qureg, __func__); |
| 505 | validate_controlAndTarget(qureg, control, target, __func__); |
| 506 | |
| 507 | // harmlessly re-validates |
| 508 | applyMultiStateControlledS(qureg, &control, nullptr, 1, target); |
| 509 | } |
| 510 | |
| 511 | void applyMultiControlledS(Qureg qureg, int* controls, int numControls, int target) { |
| 512 | validate_quregFields(qureg, __func__); |
nothing calls this directly
no test coverage detected