Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getDiagMatr2
Function
getDiagMatr2
quest/src/api/matrices.cpp:71–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
}
70
71
DiagMatr2 getDiagMatr2(vector<qcomp> in) {
72
validate_matrixNumNewElems(2, in, __func__);
73
74
return getDiagMatr2(in.data());
75
}
76
77
78
Callers
nothing calls this directly
Calls
1
validate_matrixNumNewElems
Function · 0.85
Tested by
no test coverage detected