![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for creating and initialising Pauli data structures. More...
Functions | |
PauliStrSum | createInlinePauliStrSum (const char *str) |
PauliStrSum | createInlinePauliStrSum (std::string str) |
PauliStrSum | createPauliStrSum (PauliStr *strings, qcomp *coeffs, qindex numTerms) |
PauliStrSum | createPauliStrSum (std::vector< PauliStr > strings, std::vector< qcomp > coeffs) |
PauliStrSum | createPauliStrSumFromFile (const char *fn) |
PauliStrSum | createPauliStrSumFromFile (std::string fn) |
PauliStrSum | createPauliStrSumFromReversedFile (const char *fn) |
PauliStrSum | createPauliStrSumFromReversedFile (std::string fn) |
PauliStr | getPauliStr (const char *paulis, int *indices, int numPaulis) |
PauliStr | getPauliStr (int *paulis, int *indices, int numPaulis) |
PauliStr | getPauliStr (std::string paulis) |
PauliStr | getPauliStr (std::string paulis, int *indices, int numPaulis) |
PauliStr | getPauliStr (std::string paulis, std::vector< int > indices) |
Functions for creating and initialising Pauli data structures.
PauliStrSum createInlinePauliStrSum | ( | const char * | str | ) |
Definition at line 418 of file paulis.cpp.
Referenced by createInlinePauliStrSum().
PauliStrSum createInlinePauliStrSum | ( | std::string | str | ) |
PauliStrSum createPauliStrSum | ( | PauliStr * | strings, |
qcomp * | coeffs, | ||
qindex | numTerms ) |
Definition at line 385 of file paulis.cpp.
PauliStrSum createPauliStrSum | ( | std::vector< PauliStr > | strings, |
std::vector< qcomp > | coeffs ) |
PauliStrSum createPauliStrSumFromFile | ( | const char * | fn | ) |
Definition at line 431 of file paulis.cpp.
Referenced by createPauliStrSumFromFile().
PauliStrSum createPauliStrSumFromFile | ( | std::string | fn | ) |
PauliStrSum createPauliStrSumFromReversedFile | ( | const char * | fn | ) |
Definition at line 448 of file paulis.cpp.
Referenced by createPauliStrSumFromReversedFile(), and TEST_CASE().
PauliStrSum createPauliStrSumFromReversedFile | ( | std::string | fn | ) |
PauliStr getPauliStr | ( | const char * | paulis, |
int * | indices, | ||
int | numPaulis ) |
Definition at line 296 of file paulis.cpp.
Referenced by applyMultiStateControlledMultiQubitNot(), applyMultiStateControlledPauliX(), applyMultiStateControlledPauliY(), applyMultiStateControlledRotateX(), applyMultiStateControlledRotateY(), applyMultiStateControlledRotateZ(), getPauliStr(), multiplyMultiQubitNot(), and TEST_CASE().
PauliStr getPauliStr | ( | int * | paulis, |
int * | indices, | ||
int | numPaulis ) |
Definition at line 324 of file paulis.cpp.
PauliStr getPauliStr | ( | std::string | paulis | ) |
PauliStr getPauliStr | ( | std::string | paulis, |
int * | indices, | ||
int | numPaulis ) |
PauliStr getPauliStr | ( | std::string | paulis, |
std::vector< int > | indices ) |