bitstrings_to_integers

qujax.bitstrings_to_integers(bitstrings)

Convert binary expansion(s) into integers.

Parameters:

bitstrings (ndarray) – Bitstring array or array of bitstring arrays.

Returns:

Array of integers.

Return type:

int | ndarray