cirq.plot_state_histogram(result: → numpy.ndarray[source]

Plot the state histogram from a single result with repetitions.

States is a bitstring representation of all the qubit states in a single
Currently this function assumes each measurement gate applies to only
a single qubit.
Parameters:result – The trial results to plot.
Returns:The histogram. A list of values plotted on the y-axis.