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

Function applyControlledRotateZ

quest/src/api/operations.cpp:1054–1060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052}
1053
1054void applyControlledRotateZ(Qureg qureg, int control, int target, qreal angle) {
1055 validate_quregFields(qureg, __func__);
1056 validate_controlAndTarget(qureg, control, target, __func__);
1057
1058 // harmlessly re-validates
1059 applyMultiStateControlledRotateZ(qureg, &control, nullptr, 1, target, angle);
1060}
1061
1062void applyMultiControlledRotateX(Qureg qureg, int* controls, int numControls, int target, qreal angle) {
1063 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected