Go to the source code of this file.
Macros | |
#define | PREPARE_TEST(qureg, ref) |
Prepares a density matrix in the debug state, and the reference QMatrix. More... | |
Functions | |
TEST_CASE ("mixDamping", "[decoherence]") | |
TEST_CASE ("mixDensityMatrix", "[decoherence]") | |
TEST_CASE ("mixDephasing", "[decoherence]") | |
TEST_CASE ("mixDepolarising", "[decoherence]") | |
TEST_CASE ("mixKrausMap", "[decoherence]") | |
TEST_CASE ("mixMultiQubitKrausMap", "[decoherence]") | |
TEST_CASE ("mixPauli", "[decoherence]") | |
TEST_CASE ("mixTwoQubitDephasing", "[decoherence]") | |
TEST_CASE ("mixTwoQubitDepolarising", "[decoherence]") | |
TEST_CASE ("mixTwoQubitKrausMap", "[decoherence]") | |
Macro Definition Documentation
◆ PREPARE_TEST
#define PREPARE_TEST | ( | qureg, | |
ref | |||
) |
Value:
initDebugState(qureg); \
QMatrix ref = toQMatrix(qureg);
Prepares a density matrix in the debug state, and the reference QMatrix.
Definition at line 9 of file test_decoherence.cpp.
QuESTEnv QUEST_ENV
The global QuESTEnv instance, to be created and destroyed once in this main(), so that the MPI enviro...
Definition: main.cpp:20
#define NUM_QUBITS
The default number of qubits in the registers created for unit testing (both statevectors and density...
Definition: utilities.hpp:36
QMatrix toQMatrix(ComplexMatrix2 src)
Returns a copy of the given 2-by-2 matrix.
Definition: utilities.cpp:1044
Qureg createDensityQureg(int numQubits, QuESTEnv env)
Creates a density matrix Qureg object representing a set of qubits which can enter noisy and mixed st...
Definition: QuEST.c:50