![]() |
The Quantum Exact Simulation Toolkit v4.2.0
|
Functions for pre- or post-multiplying general any-target diagonal matrices (as DiagMatr), or powers thereof, upon density matrices. More...
Functions | |
| void | leftapplyDiagMatr (Qureg qureg, int *targets, int numTargets, DiagMatr matrix) |
| void | leftapplyDiagMatrPower (Qureg qureg, int *targets, int numTargets, DiagMatr matrix, qcomp exponent) |
| void | rightapplyDiagMatr (Qureg qureg, int *targets, int numTargets, DiagMatr matrix) |
| void | rightapplyDiagMatrPower (Qureg qureg, int *targets, int numTargets, DiagMatr matrix, qcomp exponent) |
Functions for pre- or post-multiplying general any-target diagonal matrices (as DiagMatr), or powers thereof, upon density matrices.
Definition at line 206 of file multiplication.cpp.
Referenced by leftapplyDiagMatr().
| void leftapplyDiagMatrPower | ( | Qureg | qureg, |
| int * | targets, | ||
| int | numTargets, | ||
| DiagMatr | matrix, | ||
| qcomp | exponent ) |
Definition at line 249 of file multiplication.cpp.
Referenced by leftapplyDiagMatrPower().
Definition at line 217 of file multiplication.cpp.
Referenced by rightapplyDiagMatr().
| void rightapplyDiagMatrPower | ( | Qureg | qureg, |
| int * | targets, | ||
| int | numTargets, | ||
| DiagMatr | matrix, | ||
| qcomp | exponent ) |
Definition at line 260 of file multiplication.cpp.
Referenced by rightapplyDiagMatrPower().