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

Function _validateParamsToSetInlineCompMatr

quest/src/api/matrices.cpp:590–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588 }
589
590 void _validateParamsToSetInlineCompMatr(CompMatr matr, int numQb) {
591
592 const char* caller = "setInlineCompMatr";
593 validate_matrixFields(matr, caller);
594 validate_matrixNumQubitsMatchesParam(matr.numQubits, numQb, caller);
595 }
596
597 void _validateParamsToSetInlineDiagMatr(DiagMatr matr, int numQb) {
598

Callers 1

_setInlineCompMatrFunction · 0.85

Calls 2

validate_matrixFieldsFunction · 0.85

Tested by

no test coverage detected