![]() |
The Quantum Exact Simulation Toolkit v4.0.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) |
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 81 of file compare.cpp.
bool doScalarsAgree | ( | qcomp | a, |
qcomp | b ) |
Definition at line 71 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 256 of file compare.cpp.
void REQUIRE_AGREE | ( | CompMatr1 | matrix, |
qmatrix | reference ) |
Definition at line 254 of file compare.cpp.
void REQUIRE_AGREE | ( | CompMatr2 | matrix, |
qmatrix | reference ) |
Definition at line 255 of file compare.cpp.
void REQUIRE_AGREE | ( | DiagMatr | matrix, |
qmatrix | reference ) |
Definition at line 259 of file compare.cpp.
void REQUIRE_AGREE | ( | DiagMatr1 | matrix, |
qmatrix | reference ) |
Definition at line 257 of file compare.cpp.
void REQUIRE_AGREE | ( | DiagMatr2 | matrix, |
qmatrix | reference ) |
Definition at line 258 of file compare.cpp.
void REQUIRE_AGREE | ( | qcomp | scalar, |
qcomp | reference ) |
Definition at line 177 of file compare.cpp.
void REQUIRE_AGREE | ( | qmatrix | matrix, |
qmatrix | reference ) |
Definition at line 240 of file compare.cpp.
void REQUIRE_AGREE | ( | qreal | scalar, |
qreal | reference ) |
Definition at line 185 of file compare.cpp.
void REQUIRE_AGREE | ( | Qureg | qureg, |
qmatrix | reference ) |
Definition at line 131 of file compare.cpp.
Definition at line 271 of file compare.cpp.
void REQUIRE_AGREE | ( | Qureg | qureg, |
qvector | reference ) |
Definition at line 117 of file compare.cpp.
void REQUIRE_AGREE | ( | SuperOp | matrix, |
qmatrix | reference ) |
Definition at line 260 of file compare.cpp.
void REQUIRE_AGREE | ( | vector< qcomp > | list, |
vector< qcomp > | reference ) |
Definition at line 211 of file compare.cpp.
void REQUIRE_AGREE | ( | vector< qreal > | list, |
vector< qreal > | reference ) |
Definition at line 200 of file compare.cpp.