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

Function _setInlineDiagMatr

quest/include/matrices.h:1081–1084  ·  view source on GitHub ↗

@private

Source from the content-addressed store, hash-verified

1079
1080 /// @private
1081 static inline void _setInlineDiagMatr(DiagMatr matr, int numQb, qcomp elems[1<<numQb]) {
1082 _validateParamsToSetInlineDiagMatr(matr, numQb);
1083 setDiagMatr(matr, elems); // 1D array decays into pointer, validation gauranteed to pass
1084 }
1085
1086 /// @private
1087 static inline void _setInlineFullStateDiagMatr(FullStateDiagMatr matr, qindex startInd, qindex numElems, qcomp elems[numElems]) {

Callers

nothing calls this directly

Calls 2

setDiagMatrFunction · 0.85

Tested by

no test coverage detected