| 71 | } |
| 72 | |
| 73 | int 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 | |
| 81 | int mem_getMaxNumSuperOpQubitsWhichCanFitInMemory(qindex memBytesPerNode) { |
| 82 |
nothing calls this directly
no test coverage detected