Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getZeroVector
Function
getZeroVector
tests/utils/qvector.cpp:16–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
*/
15
16
qvector getZeroVector(size_t dim) {
17
// permit dim = 0
18
19
return qvector(dim, 0);
20
}
21
22
qvector getConstantVector(size_t dim, qcomp elem) {
23
DEMAND( dim >= 1 );
Callers
10
getRandomVector
Function · 0.85
getVector
Function · 0.85
getDiagonals
Function · 0.85
getRefStatevec
Function · 0.85
getSum
Function · 0.85
getDisceteFourierTransform
Function · 0.85
operator *
Function · 0.85
SECTION
Function · 0.85
SECTION
Function · 0.85
SECTION
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected