![]() |
The Quantum Exact Simulation Toolkit v4.0.0
|
Functions for applying one-qubit rotations around Pauli and arbitrary axis. More...
Functions | |
void | applyControlledRotateAroundAxis (Qureg qureg, int ctrl, int targ, qreal angle, qreal axisX, qreal axisY, qreal axisZ) |
void | applyControlledRotateX (Qureg qureg, int control, int target, qreal angle) |
void | applyControlledRotateY (Qureg qureg, int control, int target, qreal angle) |
void | applyControlledRotateZ (Qureg qureg, int control, int target, qreal angle) |
void | applyMultiControlledRotateAroundAxis (Qureg qureg, int *ctrls, int numCtrls, int targ, qreal angle, qreal axisX, qreal axisY, qreal axisZ) |
void | applyMultiControlledRotateAroundAxis (Qureg qureg, std::vector< int > ctrls, int targ, qreal angle, qreal axisX, qreal axisY, qreal axisZ) |
void | applyMultiControlledRotateX (Qureg qureg, int *controls, int numControls, int target, qreal angle) |
void | applyMultiControlledRotateX (Qureg qureg, std::vector< int > controls, int target, qreal angle) |
void | applyMultiControlledRotateY (Qureg qureg, int *controls, int numControls, int target, qreal angle) |
void | applyMultiControlledRotateY (Qureg qureg, std::vector< int > controls, int target, qreal angle) |
void | applyMultiControlledRotateZ (Qureg qureg, int *controls, int numControls, int target, qreal angle) |
void | applyMultiControlledRotateZ (Qureg qureg, std::vector< int > controls, int target, qreal angle) |
void | applyMultiStateControlledRotateAroundAxis (Qureg qureg, int *ctrls, int *states, int numCtrls, int targ, qreal angle, qreal axisX, qreal axisY, qreal axisZ) |
void | applyMultiStateControlledRotateAroundAxis (Qureg qureg, std::vector< int > ctrls, std::vector< int > states, int targ, qreal angle, qreal axisX, qreal axisY, qreal axisZ) |
void | applyMultiStateControlledRotateX (Qureg qureg, int *controls, int *states, int numControls, int target, qreal angle) |
void | applyMultiStateControlledRotateX (Qureg qureg, std::vector< int > controls, std::vector< int > states, int target, qreal angle) |
void | applyMultiStateControlledRotateY (Qureg qureg, int *controls, int *states, int numControls, int target, qreal angle) |
void | applyMultiStateControlledRotateY (Qureg qureg, std::vector< int > controls, std::vector< int > states, int target, qreal angle) |
void | applyMultiStateControlledRotateZ (Qureg qureg, int *controls, int *states, int numControls, int target, qreal angle) |
void | applyMultiStateControlledRotateZ (Qureg qureg, std::vector< int > controls, std::vector< int > states, int target, qreal angle) |
void | applyRotateAroundAxis (Qureg qureg, int targ, qreal angle, qreal axisX, qreal axisY, qreal axisZ) |
void | applyRotateX (Qureg qureg, int target, qreal angle) |
void | applyRotateY (Qureg qureg, int target, qreal angle) |
void | applyRotateZ (Qureg qureg, int target, qreal angle) |
Functions for applying one-qubit rotations around Pauli and arbitrary axis.
void applyControlledRotateAroundAxis | ( | Qureg | qureg, |
int | ctrl, | ||
int | targ, | ||
qreal | angle, | ||
qreal | axisX, | ||
qreal | axisY, | ||
qreal | axisZ ) |
Definition at line 1349 of file operations.cpp.
void applyControlledRotateX | ( | Qureg | qureg, |
int | control, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1223 of file operations.cpp.
void applyControlledRotateY | ( | Qureg | qureg, |
int | control, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1231 of file operations.cpp.
void applyControlledRotateZ | ( | Qureg | qureg, |
int | control, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1239 of file operations.cpp.
void applyMultiControlledRotateAroundAxis | ( | Qureg | qureg, |
int * | ctrls, | ||
int | numCtrls, | ||
int | targ, | ||
qreal | angle, | ||
qreal | axisX, | ||
qreal | axisY, | ||
qreal | axisZ ) |
Definition at line 1357 of file operations.cpp.
Referenced by applyMultiControlledRotateAroundAxis().
void applyMultiControlledRotateAroundAxis | ( | Qureg | qureg, |
std::vector< int > | ctrls, | ||
int | targ, | ||
qreal | angle, | ||
qreal | axisX, | ||
qreal | axisY, | ||
qreal | axisZ ) |
Definition at line 1389 of file operations.cpp.
void applyMultiControlledRotateX | ( | Qureg | qureg, |
int * | controls, | ||
int | numControls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1247 of file operations.cpp.
Referenced by applyMultiControlledRotateX().
void applyMultiControlledRotateX | ( | Qureg | qureg, |
std::vector< int > | controls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1300 of file operations.cpp.
void applyMultiControlledRotateY | ( | Qureg | qureg, |
int * | controls, | ||
int | numControls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1255 of file operations.cpp.
Referenced by applyMultiControlledRotateY().
void applyMultiControlledRotateY | ( | Qureg | qureg, |
std::vector< int > | controls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1305 of file operations.cpp.
void applyMultiControlledRotateZ | ( | Qureg | qureg, |
int * | controls, | ||
int | numControls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1263 of file operations.cpp.
Referenced by applyMultiControlledRotateZ().
void applyMultiControlledRotateZ | ( | Qureg | qureg, |
std::vector< int > | controls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1310 of file operations.cpp.
void applyMultiStateControlledRotateAroundAxis | ( | Qureg | qureg, |
int * | ctrls, | ||
int * | states, | ||
int | numCtrls, | ||
int | targ, | ||
qreal | angle, | ||
qreal | axisX, | ||
qreal | axisY, | ||
qreal | axisZ ) |
Definition at line 1365 of file operations.cpp.
Referenced by applyControlledRotateAroundAxis(), applyMultiControlledRotateAroundAxis(), applyMultiStateControlledRotateAroundAxis(), and applyRotateAroundAxis().
void applyMultiStateControlledRotateAroundAxis | ( | Qureg | qureg, |
std::vector< int > | ctrls, | ||
std::vector< int > | states, | ||
int | targ, | ||
qreal | angle, | ||
qreal | axisX, | ||
qreal | axisY, | ||
qreal | axisZ ) |
Definition at line 1394 of file operations.cpp.
void applyMultiStateControlledRotateX | ( | Qureg | qureg, |
int * | controls, | ||
int * | states, | ||
int | numControls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1271 of file operations.cpp.
Referenced by applyControlledRotateX(), applyMultiControlledRotateX(), applyMultiStateControlledRotateX(), and applyRotateX().
void applyMultiStateControlledRotateX | ( | Qureg | qureg, |
std::vector< int > | controls, | ||
std::vector< int > | states, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1315 of file operations.cpp.
void applyMultiStateControlledRotateY | ( | Qureg | qureg, |
int * | controls, | ||
int * | states, | ||
int | numControls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1280 of file operations.cpp.
Referenced by applyControlledRotateY(), applyMultiControlledRotateY(), applyMultiStateControlledRotateY(), and applyRotateY().
void applyMultiStateControlledRotateY | ( | Qureg | qureg, |
std::vector< int > | controls, | ||
std::vector< int > | states, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1321 of file operations.cpp.
void applyMultiStateControlledRotateZ | ( | Qureg | qureg, |
int * | controls, | ||
int * | states, | ||
int | numControls, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1289 of file operations.cpp.
Referenced by applyControlledRotateZ(), applyMultiControlledRotateZ(), applyMultiStateControlledRotateZ(), and applyRotateZ().
void applyMultiStateControlledRotateZ | ( | Qureg | qureg, |
std::vector< int > | controls, | ||
std::vector< int > | states, | ||
int | target, | ||
qreal | angle ) |
Definition at line 1327 of file operations.cpp.
void applyRotateAroundAxis | ( | Qureg | qureg, |
int | targ, | ||
qreal | angle, | ||
qreal | axisX, | ||
qreal | axisY, | ||
qreal | axisZ ) |
Definition at line 1341 of file operations.cpp.
void applyRotateX | ( | Qureg | qureg, |
int | target, | ||
qreal | angle ) |
Definition at line 1199 of file operations.cpp.
void applyRotateY | ( | Qureg | qureg, |
int | target, | ||
qreal | angle ) |
Definition at line 1207 of file operations.cpp.
void applyRotateZ | ( | Qureg | qureg, |
int | target, | ||
qreal | angle ) |
Definition at line 1215 of file operations.cpp.