![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for applying general many-qubit diagonal matrices, as DiagMatr. More...
Functions | |
void | applyControlledDiagMatr (Qureg, int control, int *targets, int numTargets, DiagMatr matrix) |
void | applyControlledDiagMatrPower (Qureg qureg, int control, int *targets, int numTargets, DiagMatr matrix, qcomp exponent) |
void | applyDiagMatr (Qureg qureg, int *targets, int numTargets, DiagMatr matrix) |
void | applyDiagMatrPower (Qureg qureg, int *targets, int numTargets, DiagMatr matrix, qcomp exponent) |
void | applyMultiControlledDiagMatr (Qureg, int *controls, int numControls, int *targets, int numTargets, DiagMatr matrix) |
void | applyMultiControlledDiagMatrPower (Qureg qureg, int *controls, int numControls, int *targets, int numTargets, DiagMatr matrix, qcomp exponent) |
void | applyMultiStateControlledDiagMatr (Qureg, int *controls, int *states, int numControls, int *targets, int numTargets, DiagMatr matrix) |
void | applyMultiStateControlledDiagMatrPower (Qureg qureg, int *controls, int *states, int numControls, int *targets, int numTargets, DiagMatr matrix, qcomp exponent) |
void | multiplyDiagMatr (Qureg qureg, int *targets, int numTargets, DiagMatr matrix) |
void | multiplyDiagMatrPower (Qureg qureg, int *targets, int numTargets, DiagMatr matrix, qcomp exponent) |
Functions for applying general many-qubit diagonal matrices, as DiagMatr.
void applyControlledDiagMatr | ( | Qureg | qureg, |
int | control, | ||
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix ) |
Definition at line 277 of file operations.cpp.
void applyControlledDiagMatrPower | ( | Qureg | qureg, |
int | control, | ||
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix, | ||
qcomp | exponent ) |
Definition at line 325 of file operations.cpp.
Definition at line 272 of file operations.cpp.
void applyDiagMatrPower | ( | Qureg | qureg, |
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix, | ||
qcomp | exponent ) |
Definition at line 311 of file operations.cpp.
void applyMultiControlledDiagMatr | ( | Qureg | qureg, |
int * | controls, | ||
int | numControls, | ||
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix ) |
Definition at line 282 of file operations.cpp.
void applyMultiControlledDiagMatrPower | ( | Qureg | qureg, |
int * | controls, | ||
int | numControls, | ||
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix, | ||
qcomp | exponent ) |
Definition at line 339 of file operations.cpp.
void applyMultiStateControlledDiagMatr | ( | Qureg | qureg, |
int * | controls, | ||
int * | states, | ||
int | numControls, | ||
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix ) |
Definition at line 287 of file operations.cpp.
void applyMultiStateControlledDiagMatrPower | ( | Qureg | qureg, |
int * | controls, | ||
int * | states, | ||
int | numControls, | ||
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix, | ||
qcomp | exponent ) |
Definition at line 353 of file operations.cpp.
Referenced by applyControlledDiagMatrPower(), applyDiagMatrPower(), and applyMultiControlledDiagMatrPower().
Definition at line 262 of file operations.cpp.
void multiplyDiagMatrPower | ( | Qureg | qureg, |
int * | targets, | ||
int | numTargets, | ||
DiagMatr | matrix, | ||
qcomp | exponent ) |
Definition at line 301 of file operations.cpp.