MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / applyControlledRotateX

Function applyControlledRotateX

quest/src/api/operations.cpp:1038–1044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036}
1037
1038void applyControlledRotateX(Qureg qureg, int control, int target, qreal angle) {
1039 validate_quregFields(qureg, __func__);
1040 validate_controlAndTarget(qureg, control, target, __func__);
1041
1042 // harmlessly re-validates
1043 applyMultiStateControlledRotateX(qureg, &control, nullptr, 1, target, angle);
1044}
1045
1046void applyControlledRotateY(Qureg qureg, int control, int target, qreal angle) {
1047 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected