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

Function applyControlledCompMatr2

quest/src/api/operations.cpp:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void applyControlledCompMatr2(Qureg qureg, int control, int target1, int target2, CompMatr2 matrix) {
123
124 int targs[] = {target1, target2};
125 validateAndApplyAnyCtrlAnyTargUnitaryMatrix(qureg, &control, nullptr, 1, targs, 2, matrix, __func__);
126}
127
128void applyMultiControlledCompMatr2(Qureg qureg, int* controls, int numControls, int target1, int target2, CompMatr2 matrix) {
129

Callers

nothing calls this directly

Tested by

no test coverage detected