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

Function applyMultiControlledCompMatr2

quest/src/api/operations.cpp:128–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void applyMultiControlledCompMatr2(Qureg qureg, int* controls, int numControls, int target1, int target2, CompMatr2 matrix) {
129
130 int targs[] = {target1, target2};
131 validateAndApplyAnyCtrlAnyTargUnitaryMatrix(qureg, controls, nullptr, numControls, targs, 2, matrix, __func__);
132}
133
134void applyMultiStateControlledCompMatr2(Qureg qureg, int* controls, int* states, int numControls, int target1, int target2, CompMatr2 matrix) {
135

Callers

nothing calls this directly

Tested by

no test coverage detected