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

Function assert_localiserGivenDensMatr

quest/src/core/errors.cpp:296–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296void assert_localiserGivenDensMatr(Qureg qureg) {
297
298 if (!qureg.isDensityMatrix)
299 raiseInternalError("The localiser received a statevector to a function defined only upon density matrices.");
300}
301
302void assert_localiserPartialTraceGivenCompatibleQuregs(Qureg inQureg, Qureg outQureg, int numTargs) {
303

Calls 1

raiseInternalErrorFunction · 0.85

Tested by

no test coverage detected