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

Function applyControlledCompMatr

quest/src/api/operations.cpp:166–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void applyControlledCompMatr(Qureg qureg, int control, int* targets, int numTargets, CompMatr matrix) {
167
168 validateAndApplyAnyCtrlAnyTargUnitaryMatrix(qureg, &control, nullptr, 1, targets, numTargets, matrix, __func__);
169}
170
171void applyMultiControlledCompMatr(Qureg qureg, int* controls, int numControls, int* targets, int numTargets, CompMatr matrix) {
172

Callers

nothing calls this directly

Tested by

no test coverage detected