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

Function applyControlledS

quest/src/api/operations.cpp:503–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503void applyControlledS(Qureg qureg, int control, int target) {
504 validate_quregFields(qureg, __func__);
505 validate_controlAndTarget(qureg, control, target, __func__);
506
507 // harmlessly re-validates
508 applyMultiStateControlledS(qureg, &control, nullptr, 1, target);
509}
510
511void applyMultiControlledS(Qureg qureg, int* controls, int numControls, int target) {
512 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected