Get the histogram data of an experiment.
a dictionary or a list of dictionaries. A dictionary has the counts for each qubit with the keys containing a string in binary format and separated according to the registers in circuit (e.g.
0100 1110). The string is little-endian (cr on the right hand side).
- 반환 형식
dict[str, int] or list[dict[str, int]]
- 예외 발생
QiskitError – if there are no counts for the experiment.