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

Function localiser_densmatr_setAmpsToPauliStrSum

quest/src/core/localiser.cpp:644–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642
643
644void localiser_densmatr_setAmpsToPauliStrSum(Qureg qureg, PauliStrSum sum) {
645 assert_localiserGivenDensMatr(qureg);
646
647 // always embarrassingly parallel
648 accel_densmatr_setAmpsToPauliStrSum_sub(qureg, sum);
649}
650
651
652void localiser_fullstatediagmatr_setElems(FullStateDiagMatr matr, qindex startInd, qcomp* in, qindex numElems) {

Callers 1

setQuregToPauliStrSumFunction · 0.85

Tested by

no test coverage detected