MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / mem_getLocalSuperOpMemoryRequired

Function mem_getLocalSuperOpMemoryRequired

quest/src/core/memory.cpp:338–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336
337
338size_t mem_getLocalSuperOpMemoryRequired(int numQubits) {
339
340 // superoperators have square-bigger superoperators than dense matrices, and are never distributed
341 int numMatrixQubits = 2 * numQubits;
342 bool isDense = true;
343 int numNodes = 1;
344 return mem_getLocalMatrixMemoryRequired(numMatrixQubits, isDense, numNodes);
345}
346
347
348

Callers 3

assertNewSuperOpAllocsFunction · 0.85
reportSuperOpFunction · 0.85
reportKrausMapFunction · 0.85

Calls 1

Tested by

no test coverage detected