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

Function assert_mixedQuregIsLocal

quest/src/core/errors.cpp:430–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430void assert_mixedQuregIsLocal(Qureg qureg) {
431
432 if (qureg.isDistributed)
433 raiseInternalError("An internal function invoked by mixQureg() received a distributed Qureg where a non-distributed one was expected.");
434}
435
436void assert_mixedQuregsAreBothOrNeitherDistributed(Qureg a, Qureg b) {
437

Callers 2

Calls 1

raiseInternalErrorFunction · 0.85

Tested by

no test coverage detected