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

Function setInlineSuperOp

quest/src/api/channels.cpp:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345void setInlineSuperOp(SuperOp op, int numQb, vector<vector<qcomp>> matrix) {
346 validate_superOpFields(op, __func__);
347 validate_superOpFieldsMatchPassedParams(op, numQb, __func__);
348 validate_superOpNewMatrixDims(op, matrix, __func__);
349
350 setAndSyncSuperOpElems(op, matrix);
351}
352
353
354

Callers 2

SECTIONFunction · 0.85
demo_setInlineSuperOpFunction · 0.85

Tested by

no test coverage detected