Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getZeroMatrix
Function
getZeroMatrix
tests/utils/qmatrix.cpp:18–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
*/
17
18
qmatrix getZeroMatrix(size_t dim) {
19
DEMAND( dim >= 1 );
20
21
return qmatrix(dim, qvector(dim, 0));
22
}
23
24
qmatrix getConstantMatrix(size_t dim, qcomp elem) {
25
DEMAND( dim >= 1 );
Callers
15
getRandomDiagonalMatrix
Function · 0.70
getRandomDensityMatrix
Function · 0.70
getRandomUnitary
Function · 0.70
getRandomDiagonalUnitary
Function · 0.70
getRandomDiagonalHermitian
Function · 0.70
getMatrix
Function · 0.70
getMatrixInner
Function · 0.70
getIdentityMatrix
Function · 0.70
getDiagonalMatrix
Function · 0.70
getSwapMatrix
Function · 0.70
applyReferenceOperator
Function · 0.70
getRefDensmatr
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected