| 175 | */ |
| 176 | |
| 177 | void createCachedFullStateDiagMatrs() { |
| 178 | |
| 179 | // must not be called twice |
| 180 | DEMAND( matrices.empty() ); |
| 181 | |
| 182 | // only add supported-deployment matrices to the cache |
| 183 | for (auto [label, mpi, gpu, omp] : getSupportedDeployments()) |
| 184 | matrices[label] = createCustomFullStateDiagMatr(getNumCachedQubits(), mpi, gpu, omp); |
| 185 | } |
| 186 | |
| 187 | void destroyCachedFullStateDiagMatrs() { |
| 188 |
no test coverage detected