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

Function localiser_statevec_initArbitraryPureState

quest/src/core/localiser.cpp:695–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693
694
695void localiser_statevec_initArbitraryPureState(Qureg qureg, qcomp* amps) {
696 assert_localiserGivenStateVec(qureg);
697
698 // always embarrassingly parallel, and merely invokes local copying
699 qindex startInd = 0;
700 localiser_statevec_setAmps(amps, qureg, startInd, qureg.numAmps);
701}
702
703
704void localiser_densmatr_initArbitraryPureState(Qureg qureg, qcomp* amps) {

Callers 1

initArbitraryPureStateFunction · 0.85

Calls 2

Tested by

no test coverage detected