Qrack
9.13
General classical-emulating-quantum development framework
|
#include <qubitswapmap.hpp>
Public Types | |
typedef std::vector< bitLenInt >::iterator | iterator |
Public Member Functions | |
QubitSwapMap () | |
QubitSwapMap (bitLenInt qubitCount) | |
bitLenInt & | operator[] (const bitLenInt &i) |
bitLenInt | size () |
void | swap (bitLenInt qubit1, bitLenInt qubit2) |
bitCapInt | map (const bitCapInt &perm) |
bitCapInt | inverseMap (const bitCapInt &perm) |
Protected Attributes | |
std::vector< bitLenInt > | swapMap |
typedef std::vector<bitLenInt>::iterator Qrack::QubitSwapMap::iterator |
|
inline |
|
inline |
|
inline |
|
protected |