Skip to main contentIBM Quantum Documentation

Bitwise utilities

qiskit_addon_cutting.utils.bitwise

Module for bitwise utilities.

bit_count

bit_count(x, /)

GitHub

Count number of set bits.

Parameters

x (int)

Was this page helpful?
Report a bug or request content on GitHub.