| 92 | */ |
| 93 | |
| 94 | quregCache createCachedStatevecsOrDensmatrs(bool isDensMatr) { |
| 95 | |
| 96 | quregCache out; |
| 97 | |
| 98 | // only add supported-deployment quregs to the cache |
| 99 | for (auto [label, mpi, gpu, omp] : getSupportedDeployments()) |
| 100 | out[label] = createCustomQureg(getNumCachedQubits(), isDensMatr, mpi, gpu, omp); |
| 101 | |
| 102 | return out; |
| 103 | } |
| 104 | |
| 105 | void createCachedQuregs() { |
| 106 |
no test coverage detected