![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for initialising Qureg into physical states. More...
Functions | |
void | initArbitraryPureState (Qureg qureg, qcomp *amps) |
void | initBlankState (Qureg qureg) |
void | initClassicalState (Qureg qureg, qindex stateInd) |
void | initDebugState (Qureg qureg) |
void | initPlusState (Qureg qureg) |
void | initPureState (Qureg qureg, Qureg pure) |
void | initRandomMixedState (Qureg qureg, qindex numPureStates) |
void | initRandomPureState (Qureg qureg) |
void | initZeroState (Qureg qureg) |
Functions for initialising Qureg into physical states.
void initArbitraryPureState | ( | Qureg | qureg, |
qcomp * | amps ) |
Definition at line 103 of file initialisations.cpp.
Referenced by TEST_CASE(), and TEST_CASE().
void initBlankState | ( | Qureg | qureg | ) |
Definition at line 42 of file initialisations.cpp.
Referenced by TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), and TEST_CASE().
void initClassicalState | ( | Qureg | qureg, |
qindex | stateInd ) |
Definition at line 84 of file initialisations.cpp.
Referenced by TEST_CASE(), TEST_CASE(), and TEST_CASE().
void initDebugState | ( | Qureg | qureg | ) |
Definition at line 96 of file initialisations.cpp.
Referenced by TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), and TEST_CASE().
void initPlusState | ( | Qureg | qureg | ) |
Definition at line 60 of file initialisations.cpp.
Referenced by TEST_CASE(), TEST_CASE(), and TEST_CASE().
Definition at line 70 of file initialisations.cpp.
Referenced by TEST_CASE().
void initRandomMixedState | ( | Qureg | qureg, |
qindex | numPureStates ) |
Definition at line 136 of file initialisations.cpp.
Referenced by TEST_CASE().
void initRandomPureState | ( | Qureg | qureg | ) |
Definition at line 121 of file initialisations.cpp.
Referenced by TEST_CASE().
void initZeroState | ( | Qureg | qureg | ) |
Definition at line 51 of file initialisations.cpp.
Referenced by TEST_CASE(), TEST_CASE(), TEST_CASE(), and TEST_CASE().