| 1044 | } |
| 1045 | |
| 1046 | void applyControlledRotateY(Qureg qureg, int control, int target, qreal angle) { |
| 1047 | validate_quregFields(qureg, __func__); |
| 1048 | validate_controlAndTarget(qureg, control, target, __func__); |
| 1049 | |
| 1050 | // harmlessly re-validates |
| 1051 | applyMultiStateControlledRotateY(qureg, &control, nullptr, 1, target, angle); |
| 1052 | } |
| 1053 | |
| 1054 | void applyControlledRotateZ(Qureg qureg, int control, int target, qreal angle) { |
| 1055 | validate_quregFields(qureg, __func__); |
nothing calls this directly
no test coverage detected