Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getRandomOrthonormalStateVectors
Function
getRandomOrthonormalStateVectors
tests/utils/random.cpp:302–305 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
300
301
302
vector<qvector> getRandomOrthonormalStateVectors(int numQb, int numStates) {
303
304
return getRandomOrthonormalVectors(getPow2(numQb), numStates);
305
}
306
307
308
qmatrix getRandomDensityMatrix(int numQb) {
Callers
1
SECTION
Function · 0.85
Calls
2
getPow2
Function · 0.85
getRandomOrthonormalVectors
Function · 0.70
Tested by
no test coverage detected