![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for applying general one-qubit diagonal matrices, as DiagMatr1. More...
Functions | |
void | applyControlledDiagMatr1 (Qureg qureg, int control, int target, DiagMatr1 matr) |
void | applyDiagMatr1 (Qureg qureg, int target, DiagMatr1 matr) |
void | applyMultiControlledDiagMatr1 (Qureg qureg, int *controls, int numControls, int target, DiagMatr1 matr) |
void | applyMultiStateControlledDiagMatr1 (Qureg qureg, int *controls, int *states, int numControls, int target, DiagMatr1 matr) |
void | multiplyDiagMatr1 (Qureg qureg, int target, DiagMatr1 matr) |
Functions for applying general one-qubit diagonal matrices, as DiagMatr1.
Definition at line 202 of file operations.cpp.
Definition at line 197 of file operations.cpp.
void applyMultiControlledDiagMatr1 | ( | Qureg | qureg, |
int * | controls, | ||
int | numControls, | ||
int | target, | ||
DiagMatr1 | matr ) |
Definition at line 207 of file operations.cpp.
void applyMultiStateControlledDiagMatr1 | ( | Qureg | qureg, |
int * | controls, | ||
int * | states, | ||
int | numControls, | ||
int | target, | ||
DiagMatr1 | matr ) |
Definition at line 212 of file operations.cpp.
Referenced by applyMultiQubitPhaseFlip(), applyMultiQubitPhaseShift(), and applyMultiStateControlledPauliZ().
Definition at line 188 of file operations.cpp.