![]() |
The Quantum Exact Simulation Toolkit v4.3.0
|
Functions for applying a tensor product of Pauli operators, as a PauliStr. More...
Functions | |
| void | applyControlledPauliStr (Qureg qureg, int control, PauliStr str) |
| void | applyMultiControlledPauliStr (Qureg qureg, int *controls, int numControls, PauliStr str) |
| void | applyMultiStateControlledPauliStr (Qureg qureg, int *controls, int *states, int numControls, PauliStr str) |
| void | applyPauliStr (Qureg qureg, PauliStr str) |
Functions for applying a tensor product of Pauli operators, as a PauliStr.
Applies a singly-controlled tensor product of Pauli operators str upon qureg.
- See applyPauliStr() for information about
str.
- See applyControlledCompMatr1() for information about
control.
Definition at line 947 of file operations.cpp.
Applies a multiply-controlled tensor product of Pauli operators str upon qureg.
- See applyPauliStr() for information about
str.
- See applyMultiControlledCompMatr1() for information about
controls.
Definition at line 955 of file operations.cpp.
Referenced by applyMultiControlledPauliStr().
| void applyMultiStateControlledPauliStr | ( | Qureg | qureg, |
| int * | controls, | ||
| int * | states, | ||
| int | numControls, | ||
| PauliStr | str ) |
Applies an arbitrarily-controlled tensor product of Pauli operators str upon qureg, conditioned upon controls being in the corresponding states.
- See applyPauliStr() for information about
str.
- See applyMultiStateControlledCompMatr1() for information about
controlsandstates.
Definition at line 963 of file operations.cpp.
Referenced by applyControlledPauliStr(), applyMultiControlledPauliStr(), applyMultiStateControlledMultiQubitNot(), applyMultiStateControlledPauliStr(), and applyPauliStr().
Definition at line 939 of file operations.cpp.