cunqa.result.convert_counts

cunqa.result.convert_counts(counts: dict, registers: dict)

Funtion to convert counts wirtten in hexadecimal format to binary strings and that applies the division of the bit strings.

Args:

counts (dict): dictionary of counts to apply the conversion.

registers (dict): dictionary of classical registers.

Return:

Counts dictionary with keys as binary string correctly separated with spaces accordingly to the classical registers.