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

Function setInlineKrausMap

quest/src/api/channels.cpp:336–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334
335
336void setInlineKrausMap(KrausMap map, int numQb, int numOps, vector<vector<vector<qcomp>>> matrices) {
337 validate_krausMapFields(map, __func__);
338 validate_krausMapFieldsMatchPassedParams(map, numQb, numOps, __func__);
339 validate_krausMapNewMatrixDims(map, matrices, __func__);
340
341 setAndSyncKrausMapElems(map, matrices);
342}
343
344
345void setInlineSuperOp(SuperOp op, int numQb, vector<vector<qcomp>> matrix) {

Callers 3

SECTIONFunction · 0.85
demo_setInlineKrausMapFunction · 0.85

Tested by

no test coverage detected