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

Function applyMultiControlledS

quest/src/api/operations.cpp:511–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511void applyMultiControlledS(Qureg qureg, int* controls, int numControls, int target) {
512 validate_quregFields(qureg, __func__);
513 validate_controlsAndTarget(qureg, controls, numControls, target, __func__);
514
515 // harmlessly re-validates
516 applyMultiStateControlledS(qureg, controls, nullptr, numControls, target);
517}
518
519void applyMultiStateControlledS(Qureg qureg, int* controls, int* states, int numControls, int target) {
520

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected