Counts.most_frequent

Counts.most_frequent()[source]

Return the most frequent count

Returns

The bit string for the most frequent result

Return type

str

Raises

QiskitError – when there is >1 count with the same max counts, or an empty object.