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

Function applyRotateX

quest/src/api/operations.cpp:1014–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1012extern "C" {
1013
1014void applyRotateX(Qureg qureg, int target, qreal angle) {
1015 validate_quregFields(qureg, __func__);
1016 validate_target(qureg, target, __func__);
1017
1018 // harmlessly re-validates
1019 applyMultiStateControlledRotateX(qureg, nullptr, nullptr, 0, target, angle);
1020}
1021
1022void applyRotateY(Qureg qureg, int target, qreal angle) {
1023 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