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

Function applyControlledRotateY

quest/src/api/operations.cpp:1046–1052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1044}
1045
1046void 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
1054void applyControlledRotateZ(Qureg qureg, int control, int target, qreal angle) {
1055 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected