![]() |
The Quantum Exact Simulation Toolkit v4.3.0
|
Testing utilities which compare scalars produced by the QuEST API to those produced by other test utilities, and Quregs modified by the API to qvector qmatrix references. More...
Functions | |
| bool | doMatricesAgree (qmatrix a, qmatrix b) |
| bool | doScalarsAgree (qcomp a, qcomp b) |
| qreal | getTestAbsoluteEpsilon () |
| qreal | getTestRelativeEpsilon () |
| void | REQUIRE_AGREE (CompMatr matrix, qmatrix reference) |
| void | REQUIRE_AGREE (CompMatr1 matrix, qmatrix reference) |
| void | REQUIRE_AGREE (CompMatr2 matrix, qmatrix reference) |
| void | REQUIRE_AGREE (DiagMatr matrix, qmatrix reference) |
| void | REQUIRE_AGREE (DiagMatr1 matrix, qmatrix reference) |
| void | REQUIRE_AGREE (DiagMatr2 matrix, qmatrix reference) |
| void | REQUIRE_AGREE (qcomp scalar, qcomp reference) |
| void | REQUIRE_AGREE (qmatrix matrix, qmatrix reference) |
| void | REQUIRE_AGREE (qreal scalar, qreal reference) |
| void | REQUIRE_AGREE (Qureg qureg, qmatrix reference) |
| void | REQUIRE_AGREE (Qureg qureg, Qureg other) |
| void | REQUIRE_AGREE (Qureg qureg, qvector reference) |
| void | REQUIRE_AGREE (SuperOp matrix, qmatrix reference) |
| void | REQUIRE_AGREE (vector< qcomp > list, vector< qcomp > reference) |
| void | REQUIRE_AGREE (vector< qreal > list, vector< qreal > reference) |
| void | setTestAbsoluteEpsilon (qreal eps) |
| void | setTestEpsilon (qreal eps) |
| void | setTestRelativeEpsilon (qreal eps) |
Testing utilities which compare scalars produced by the QuEST API to those produced by other test utilities, and Quregs modified by the API to qvector qmatrix references.
| bool doMatricesAgree | ( | qmatrix | a, |
| qmatrix | b ) |
Definition at line 95 of file compare.cpp.
| bool doScalarsAgree | ( | qcomp | a, |
| qcomp | b ) |
Definition at line 85 of file compare.cpp.
| qreal getTestAbsoluteEpsilon | ( | ) |
Definition at line 48 of file compare.cpp.
| qreal getTestRelativeEpsilon | ( | ) |
Definition at line 53 of file compare.cpp.
| void REQUIRE_AGREE | ( | CompMatr | matrix, |
| qmatrix | reference ) |
Definition at line 270 of file compare.cpp.
| void REQUIRE_AGREE | ( | CompMatr1 | matrix, |
| qmatrix | reference ) |
Definition at line 268 of file compare.cpp.
| void REQUIRE_AGREE | ( | CompMatr2 | matrix, |
| qmatrix | reference ) |
Definition at line 269 of file compare.cpp.
| void REQUIRE_AGREE | ( | DiagMatr | matrix, |
| qmatrix | reference ) |
Definition at line 273 of file compare.cpp.
| void REQUIRE_AGREE | ( | DiagMatr1 | matrix, |
| qmatrix | reference ) |
Definition at line 271 of file compare.cpp.
| void REQUIRE_AGREE | ( | DiagMatr2 | matrix, |
| qmatrix | reference ) |
Definition at line 272 of file compare.cpp.
| void REQUIRE_AGREE | ( | qcomp | scalar, |
| qcomp | reference ) |
Definition at line 191 of file compare.cpp.
| void REQUIRE_AGREE | ( | qmatrix | matrix, |
| qmatrix | reference ) |
Definition at line 254 of file compare.cpp.
| void REQUIRE_AGREE | ( | qreal | scalar, |
| qreal | reference ) |
Definition at line 199 of file compare.cpp.
| void REQUIRE_AGREE | ( | Qureg | qureg, |
| qmatrix | reference ) |
Definition at line 145 of file compare.cpp.
Definition at line 285 of file compare.cpp.
| void REQUIRE_AGREE | ( | Qureg | qureg, |
| qvector | reference ) |
Definition at line 131 of file compare.cpp.
| void REQUIRE_AGREE | ( | SuperOp | matrix, |
| qmatrix | reference ) |
Definition at line 274 of file compare.cpp.
| void REQUIRE_AGREE | ( | vector< qcomp > | list, |
| vector< qcomp > | reference ) |
Definition at line 225 of file compare.cpp.
| void REQUIRE_AGREE | ( | vector< qreal > | list, |
| vector< qreal > | reference ) |
Definition at line 214 of file compare.cpp.
| void setTestAbsoluteEpsilon | ( | qreal | eps | ) |
Definition at line 59 of file compare.cpp.
| void setTestEpsilon | ( | qreal | eps | ) |
Definition at line 67 of file compare.cpp.
| void setTestRelativeEpsilon | ( | qreal | eps | ) |
Definition at line 63 of file compare.cpp.