Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getRandomUnitComplex
Function
getRandomUnitComplex
tests/utils/random.cpp:114–116 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
112
113
114
qcomp getRandomUnitComplex() {
115
return std::exp(1_i * getRandomPhase());
116
}
117
118
119
Callers
1
getRandomDiagonalUnitary
Function · 0.85
Calls
1
getRandomPhase
Function · 0.85
Tested by
no test coverage detected