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

Function applyRotateZ

quest/src/api/operations.cpp:1030–1036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028}
1029
1030void applyRotateZ(Qureg qureg, int target, qreal angle) {
1031 validate_quregFields(qureg, __func__);
1032 validate_target(qureg, target, __func__);
1033
1034 // harmlessly re-validates
1035 applyMultiStateControlledRotateZ(qureg, nullptr, nullptr, 0, target, angle);
1036}
1037
1038void applyControlledRotateX(Qureg qureg, int control, int target, qreal angle) {
1039 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85
validate_targetFunction · 0.85

Tested by

no test coverage detected