Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getRandomOutcomes
Function
getRandomOutcomes
tests/utils/random.cpp:138–143 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
137
138
vector<int> getRandomOutcomes(int len) {
139
140
int min = 0;
141
int max = 1;
142
return getRandomInts(min, max+1, len);
143
}
144
145
146
vector<int> getRandomSubRange(int start, int endExcl, int numElems) {
Callers
4
testDensityMatrixEvolution
Function · 0.85
testOperationCorrectness
Function · 0.85
SECTION
Function · 0.85
SECTION
Function · 0.85
Calls
1
getRandomInts
Function · 0.85
Tested by
no test coverage detected