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

Function mem_getLocalMatrixMemoryRequired

quest/src/core/memory.cpp:330–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328
329
330size_t mem_getLocalMatrixMemoryRequired(int numQubits, bool isDenseMatrix, int numNodes) {
331
332 // matrix types don't store buffers - they'll use those of Quregs they're applied to
333 bool hasBuffers = false;
334 return getLocalMemoryRequired(numQubits, numNodes, isDenseMatrix, hasBuffers);
335}
336
337
338size_t mem_getLocalSuperOpMemoryRequired(int numQubits) {

Callers 5

validate_newMatrixAllocsFunction · 0.85
reportKrausMapFunction · 0.85
validateAndPrintMatrixFunction · 0.85

Calls 1

getLocalMemoryRequiredFunction · 0.85

Tested by

no test coverage detected