| 410 | */ |
| 411 | |
| 412 | void assert_mixedQuregIsDensityMatrix(Qureg qureg) { |
| 413 | |
| 414 | if (!qureg.isDensityMatrix) |
| 415 | raiseInternalError("An internal function invoked by mixQureg() received a statevector where a density matrix was expected."); |
| 416 | } |
| 417 | |
| 418 | void assert_mixedQuregIsStatevector(Qureg qureg) { |
| 419 |
no test coverage detected