![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for obtaining fixed-size matrices. More...
Functions | |
static CompMatr1 | getCompMatr1 (qcomp **in) |
static CompMatr1 | getCompMatr1 (qcomp in[2][2]) |
CompMatr1 | getCompMatr1 (std::vector< std::vector< qcomp > > in) |
static CompMatr2 | getCompMatr2 (qcomp **in) |
static CompMatr2 | getCompMatr2 (qcomp in[4][4]) |
CompMatr2 | getCompMatr2 (std::vector< std::vector< qcomp > > in) |
static DiagMatr1 | getDiagMatr1 (qcomp *in) |
DiagMatr1 | getDiagMatr1 (std::vector< qcomp > in) |
static DiagMatr2 | getDiagMatr2 (qcomp *in) |
DiagMatr2 | getDiagMatr2 (std::vector< qcomp > in) |
Functions for obtaining fixed-size matrices.
|
inlinestatic |
Definition at line 304 of file matrices.h.
Referenced by applyMultiStateControlledHadamard(), applyMultiStateControlledRotateAroundAxis(), TEST_CASE(), and TEST_CASE().
|
inlinestatic |
Definition at line 411 of file matrices.h.
CompMatr1 getCompMatr1 | ( | std::vector< std::vector< qcomp > > | in | ) |
|
inlinestatic |
Definition at line 320 of file matrices.h.
Referenced by applyMultiStateControlledSqrtSwap().
|
inlinestatic |
Definition at line 416 of file matrices.h.
CompMatr2 getCompMatr2 | ( | std::vector< std::vector< qcomp > > | in | ) |
|
inlinestatic |
Definition at line 338 of file matrices.h.
Referenced by applyMultiQubitPhaseFlip(), applyMultiQubitPhaseShift(), applyMultiStateControlledPauliZ(), applyMultiStateControlledS(), and applyMultiStateControlledT().
DiagMatr1 getDiagMatr1 | ( | std::vector< qcomp > | in | ) |
|
inlinestatic |
Definition at line 352 of file matrices.h.
DiagMatr2 getDiagMatr2 | ( | std::vector< qcomp > | in | ) |