Module qip::utils

source ·
Expand description

Utility functions for bit and index manipulation

Functions

  • Mixes two bitstreams, z_bits and o_bits, takes one bit off the lowest position from each to construct the output, selector is used to choose which to use. 0 indices z_bits a
  • Extracts bits from a number in a particular order.
  • Transpose a sparse matrix.