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

Function applyControlledCompMatr1

quest/src/api/operations.cpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void applyControlledCompMatr1(Qureg qureg, int control, int target, CompMatr1 matrix) {
81
82 validateAndApplyAnyCtrlAnyTargUnitaryMatrix(qureg, &control, nullptr, 1, &target, 1, matrix, __func__);
83}
84
85void applyMultiControlledCompMatr1(Qureg qureg, int* controls, int numControls, int target, CompMatr1 matrix) {
86

Callers

nothing calls this directly

Tested by

no test coverage detected