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

Function applyCompMatr2

quest/src/api/operations.cpp:116–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114extern "C" {
115
116void applyCompMatr2(Qureg qureg, int target1, int target2, CompMatr2 matrix) {
117
118 int targs[] = {target1, target2};
119 validateAndApplyAnyCtrlAnyTargUnitaryMatrix(qureg, nullptr, nullptr, 0, targs, 2, matrix, __func__);
120}
121
122void applyControlledCompMatr2(Qureg qureg, int control, int target1, int target2, CompMatr2 matrix) {
123

Callers

nothing calls this directly

Tested by

no test coverage detected