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

Function assert_utilsGivenDensMatr

quest/src/core/errors.cpp:803–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801}
802
803void assert_utilsGivenDensMatr(Qureg qureg) {
804
805 if (!qureg.isDensityMatrix)
806 raiseInternalError("A utility function was given a statevector where a density matrix was expected.");
807}
808
809void assert_utilsGivenNonZeroEpsilon(qreal eps) {
810

Calls 1

raiseInternalErrorFunction · 0.85

Tested by

no test coverage detected