The main file for C and Matlab application. More...
Go to the source code of this file.
Defines | |
#define | EXPORTED_FUNCTION |
Functions | |
EXPORTED_FUNCTION void | TestMatrix (void) |
Test all matrix functions. | |
EXPORTED_FUNCTION void | Test2Matrix (void) |
Test matrix operations. | |
EXPORTED_FUNCTION void | TestMatrixFunctions (const char *variable) |
Get a matlab matrix and calculate all matrix operations. | |
EXPORTED_FUNCTION void | TestKet (void) |
Test Ket operations. | |
EXPORTED_FUNCTION void | TestBra (void) |
Test Bra operations. | |
EXPORTED_FUNCTION void | TestBraKetOperator (void) |
Test Bra Ket operations. | |
EXPORTED_FUNCTION void | TestQO (void) |
Test the Quantum Operators operations. | |
EXPORTED_FUNCTION void | WignerFunctionFock (int dim, int non0row, int non0col) |
Calculates the Wigner function for fock states. |
The main file for C and Matlab application.
#define EXPORTED_FUNCTION |
CQEDSimulator.h is the main header file. To load this library type: loadlibrary('CQEDSimulator','CQEDSimulator.h') Use this header in C programs, create your own functions.
EXPORTED_FUNCTION void Test2Matrix | ( | void | ) |
Test matrix operations.
EXPORTED_FUNCTION void TestBra | ( | void | ) |
Test Bra operations.
EXPORTED_FUNCTION void TestKet | ( | void | ) |
Test Ket operations.
EXPORTED_FUNCTION void TestMatrix | ( | void | ) |
Test all matrix functions.
EXPORTED_FUNCTION void TestMatrixFunctions | ( | const char * | variable | ) |
Get a matlab matrix and calculate all matrix operations.
EXPORTED_FUNCTION void TestQO | ( | void | ) |
Test the Quantum Operators operations.
EXPORTED_FUNCTION void WignerFunctionFock | ( | int | dim, | |
int | non0row, | |||
int | non0col | |||
) |
Calculates the Wigner function for fock states.
Calculates the Wigner function for fock states.
dim | The Hilbert space dimention. | |
non0row | The non zero row for density matrix. | |
non0col | The non zero column for density matrix. |