| 79 | } |
| 80 | |
| 81 | int mem_getMaxNumSuperOpQubitsWhichCanFitInMemory(qindex memBytesPerNode) { |
| 82 | |
| 83 | // superoperators have square-bigger superoperators than dense matrices, and are never distributed |
| 84 | int numNodes = 1; |
| 85 | bool isDense = true; |
| 86 | bool hasBuffer = false; |
| 87 | bool isSuperOp = true; |
| 88 | return getMaxNumQubitsWhichCanFitInMemory(isDense, numNodes, hasBuffer, isSuperOp, memBytesPerNode); |
| 89 | } |
| 90 | |
| 91 | |
| 92 | int mem_getMinNumQubitsForDistribution(int numNodes) { |
nothing calls this directly
no test coverage detected