![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for creating variable-size matrices. More...
Functions | |
CompMatr | createCompMatr (int numQubits) |
FullStateDiagMatr | createCustomFullStateDiagMatr (int numQubits, int useDistrib, int useGpuAccel, int useMultithread) |
DiagMatr | createDiagMatr (int numQubits) |
FullStateDiagMatr | createFullStateDiagMatr (int numQubits) |
FullStateDiagMatr | createFullStateDiagMatrFromPauliStrSum (PauliStrSum in) |
CompMatr | createInlineCompMatr (int numQb, std::vector< std::vector< qcomp > > elems) |
DiagMatr | createInlineDiagMatr (int numQb, std::vector< qcomp > elems) |
Functions for creating variable-size matrices.
CompMatr createCompMatr | ( | int | numQubits | ) |
Definition at line 211 of file matrices.cpp.
Referenced by TEST_CASE(), TEST_CASE(), TEST_CASE(), and TEST_CASE().
FullStateDiagMatr createCustomFullStateDiagMatr | ( | int | numQubits, |
int | useDistrib, | ||
int | useGpuAccel, | ||
int | useMultithread ) |
Definition at line 322 of file matrices.cpp.
Referenced by TEST_CASE().
DiagMatr createDiagMatr | ( | int | numQubits | ) |
Definition at line 246 of file matrices.cpp.
Referenced by TEST_CASE(), and TEST_CASE().
FullStateDiagMatr createFullStateDiagMatr | ( | int | numQubits | ) |
Definition at line 327 of file matrices.cpp.
Referenced by createFullStateDiagMatrFromPauliStrSum(), and TEST_CASE().
FullStateDiagMatr createFullStateDiagMatrFromPauliStrSum | ( | PauliStrSum | in | ) |
Definition at line 658 of file matrices.cpp.
CompMatr createInlineCompMatr | ( | int | numQb, |
std::vector< std::vector< qcomp > > | elems ) |
DiagMatr createInlineDiagMatr | ( | int | numQb, |
std::vector< qcomp > | elems ) |