Class Permutation¶
Defined in File permute.hpp
Class Documentation¶
-
class
Permutation¶ Public Functions
-
unsigned
operator[](std::size_t i)¶
-
unsigned
operator[](unsigned i)¶
-
int
operator[](int i)¶
-
std::size_t
size()¶
-
std::string
GetMapStr()¶
-
std::string
GetImapStr()¶
-
Permutation(std::size_t num_qubits)¶
-
Permutation(std::vector<std::size_t> m)¶
-
std::size_t
Find(std::size_t position)¶
-
void
SetNewPermutation(std::vector<std::size_t> m)¶
-
std::string
dec2bin(std::size_t in, std::size_t num_bits)¶
-
std::size_t
bin2dec(std::string in)¶
-
std::size_t
lin2perm_(std::size_t v)¶
-
std::size_t
perm2lin_(std::size_t v)¶
-
std::string
lin2perm(std::size_t v)¶
-
std::string
lin2perm(std::string s)¶
-
std::string
perm2lin(std::size_t v)¶
-
std::string
perm2lin(std::string s)¶
-
void
prange()¶
-
unsigned