Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ mem_getMinNumQubitsForDistribution
Function
mem_getMinNumQubitsForDistribution
quest/src/core/memory.cpp:92–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
90
91
92
int mem_getMinNumQubitsForDistribution(int numNodes) {
93
94
return logBase2(numNodes);
95
}
96
97
98
int mem_getMaxNumQuregQubitsBeforeIndexOverflow(bool isDensityMatrix) {
Callers
4
chooseWhetherToDistributeQureg
Function · 0.85
assertQuregNotDistributedOverTooManyNodes
Function · 0.85
assertMatrixNotDistributedOverTooManyNodes
Function · 0.85
printQuregSizeLimits
Function · 0.85
Calls
1
logBase2
Function · 0.85
Tested by
no test coverage detected