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

Function validate_matrixFields

quest/src/core/validation.cpp:2392–2392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2390 // the struct was unitialised, which we have already validated against
2391}
2392void validate_matrixFields(CompMatr1 m, const char* caller) { assertMatrixFieldsAreValid(m, 1, report::INVALID_COMP_MATR_1_FIELDS, caller); }
2393void validate_matrixFields(CompMatr2 m, const char* caller) { assertMatrixFieldsAreValid(m, 2, report::INVALID_COMP_MATR_2_FIELDS, caller); }
2394void validate_matrixFields(CompMatr m, const char* caller) { assertMatrixFieldsAreValid(m, m.numQubits, report::INVALID_COMP_MATR_FIELDS, caller); }
2395void validate_matrixFields(DiagMatr1 m, const char* caller) { assertMatrixFieldsAreValid(m, 1, report::INVALID_DIAG_MATR_1_FIELDS, caller); }

Calls 1

Tested by

no test coverage detected