circuit_knitting.utils.bitwise.bit_count

bit_count(x, /)[source]

Count number of set bits.