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

Function applyMultiStateControlledDiagMatr2

quest/src/api/operations.cpp:271–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void applyMultiStateControlledDiagMatr2(Qureg qureg, int* controls, int* states, int numControls, int target1, int target2, DiagMatr2 matrix) {
272
273 int targs[] = {target1, target2};
274 validateAndApplyAnyCtrlAnyTargUnitaryMatrix(qureg, controls, states, numControls, targs, 2, matrix, __func__);
275}
276
277} // end de-mangler
278

Callers 1

Tested by

no test coverage detected