Module qip_iterators::utils
source · Expand description
Utilities related to bit manipulation of tensor elements.
Functions
- Flips the bits in
numfromith position to(n-i)th position. - Get the
bit_indexbit value fromnum. - Get the index into an Op matrix
- Set the
bit_indexbit innumtovalue.