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

Function applyControlledT

quest/src/api/operations.cpp:554–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554void applyControlledT(Qureg qureg, int control, int target) {
555 validate_quregFields(qureg, __func__);
556 validate_controlAndTarget(qureg, control, target, __func__);
557
558 // harmlessly re-validates
559 applyMultiStateControlledT(qureg, &control, nullptr, 1, target);
560}
561
562void applyMultiControlledT(Qureg qureg, int* controls, int numControls, int target) {
563 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected