| 801 | } |
| 802 | |
| 803 | void assert_utilsGivenDensMatr(Qureg qureg) { |
| 804 | |
| 805 | if (!qureg.isDensityMatrix) |
| 806 | raiseInternalError("A utility function was given a statevector where a density matrix was expected."); |
| 807 | } |
| 808 | |
| 809 | void assert_utilsGivenNonZeroEpsilon(qreal eps) { |
| 810 |
no test coverage detected