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

Function getRandomStateVector

tests/deprecated/test_utilities.cpp:581–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581QVector getRandomStateVector(int numQb) {
582 return getNormalised(getRandomQVector(1<<numQb));
583}
584
585vector<qreal> getRandomProbabilities(int numProbs) {
586

Callers 6

getRandomDensityMatrixFunction · 0.70
test_operators.cppFile · 0.70
test_gates.cppFile · 0.70

Calls 2

getRandomQVectorFunction · 0.85
getNormalisedFunction · 0.70

Tested by

no test coverage detected