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

Function applyDiagMatr

quest/src/api/operations.cpp:298–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296extern "C" {
297
298void applyDiagMatr(Qureg qureg, int* targets, int numTargets, DiagMatr matrix) {
299
300 validateAndApplyAnyCtrlAnyTargUnitaryMatrix(qureg, nullptr, nullptr, 0, targets, numTargets, matrix, __func__);
301}
302
303void applyControlledDiagMatr(Qureg qureg, int control, int* targets, int numTargets, DiagMatr matrix) {
304

Callers 1

_applyGateSubDiagonalOpFunction · 0.85

Tested by

no test coverage detected