cirq.get_state_histogram

Computes a state histogram from a single result with repetitions.

result The trial result containing measurement results from which the state histogram should be computed.

The state histogram (a numpy array) corresponding to the trial result.