Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
581
QVector getRandomStateVector(int numQb) {
582
return getNormalised(getRandomQVector(1<<numQb));
583
}
584
585
vector<qreal> getRandomProbabilities(int numProbs) {
586
Callers
6
test_calculations.cpp
File · 0.70
getRandomDensityMatrix
Function · 0.70
getRandomPureDensityMatrix
Function · 0.70
getRandomOrthonormalVectors
Function · 0.70
test_operators.cpp
File · 0.70
test_gates.cpp
File · 0.70
Calls
2
getRandomQVector
Function · 0.85
getNormalised
Function · 0.70
Tested by
no test coverage detected