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

Function initRandomMixedState

quest/src/api/initialisations.cpp:132–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132void initRandomMixedState(Qureg qureg, qindex numPureStates) {
133 validate_quregFields(qureg, __func__);
134 validate_quregIsDensityMatrix(qureg, __func__);
135 validate_numInitRandomPureStates(numPureStates, __func__);
136
137 localiser_densmatr_initMixtureOfUniformlyRandomPureStates(qureg, numPureStates);
138}
139
140
141

Callers 2

DYNAMIC_SECTIONFunction · 0.85
SECTIONFunction · 0.85

Tested by

no test coverage detected