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

Function assert_localiserGivenStateVec

quest/src/core/errors.cpp:290–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void assert_localiserGivenStateVec(Qureg qureg) {
291
292 if (qureg.isDensityMatrix)
293 raiseInternalError("The localiser received a density matrix to a function defined strictly for statevectors.");
294}
295
296void assert_localiserGivenDensMatr(Qureg qureg) {
297

Calls 1

raiseInternalErrorFunction · 0.85

Tested by

no test coverage detected