![]() |
The Quantum Exact Simulation Toolkit v4.2.0
|
Functions for pre- or post-multiplying the two-qubit SWAP gate upon density matrices. More...
Functions | |
void | leftapplySwap (Qureg qureg, int qubit1, int qubit2) |
void | rightapplySwap (Qureg qureg, int qubit1, int qubit2) |
Functions for pre- or post-multiplying the two-qubit SWAP gate upon density matrices.
void leftapplySwap | ( | Qureg | qureg, |
int | qubit1, | ||
int | qubit2 ) |
Definition at line 349 of file multiplication.cpp.
Referenced by TEST_CASE().
void rightapplySwap | ( | Qureg | qureg, |
int | qubit1, | ||
int | qubit2 ) |
Definition at line 356 of file multiplication.cpp.