| 294 | } |
| 295 | |
| 296 | void assert_localiserGivenDensMatr(Qureg qureg) { |
| 297 | |
| 298 | if (!qureg.isDensityMatrix) |
| 299 | raiseInternalError("The localiser received a statevector to a function defined only upon density matrices."); |
| 300 | } |
| 301 | |
| 302 | void assert_localiserPartialTraceGivenCompatibleQuregs(Qureg inQureg, Qureg outQureg, int numTargs) { |
| 303 |
no test coverage detected