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

Function initBlankState

quest/src/api/initialisations.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40
41void initBlankState(Qureg qureg) {
42 validate_quregFields(qureg, __func__);
43
44 // |null> = {0, 0, 0, ...}
45 qcomp amp = 0;
46 localiser_statevec_initUniformState(qureg, amp);
47}
48
49
50void initZeroState(Qureg qureg) {

Calls 2

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected