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

Function mem_getMaxNumMatrixQubitsBeforeIndexOverflow

quest/src/core/memory.cpp:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106int mem_getMaxNumMatrixQubitsBeforeIndexOverflow(bool isDenseMatrix) {
107
108 // matrices have the same number of amplitudes as a same-dimension Qureg
109 return mem_getMaxNumQuregQubitsBeforeIndexOverflow(isDenseMatrix);
110}
111
112int mem_getMaxNumSuperOpQubitsBeforeIndexOverflow() {
113

Tested by

no test coverage detected