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

Function mem_getMaxNumMatrixQubitsWhichCanFitInMemory

quest/src/core/memory.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73int mem_getMaxNumMatrixQubitsWhichCanFitInMemory(bool isDenseMatrix, int numNodes, qindex memBytesPerNode) {
74
75 // matrix types don't store buffers - they'll use those of Quregs they're applied to
76 bool hasBuffer = false;
77 bool isSuperOp = false;
78 return getMaxNumQubitsWhichCanFitInMemory(isDenseMatrix, numNodes, hasBuffer, isSuperOp, memBytesPerNode);
79}
80
81int mem_getMaxNumSuperOpQubitsWhichCanFitInMemory(qindex memBytesPerNode) {
82

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected