cirq.vis.plot_state_histogram

Plot the state histogram from either a single result with repetitions or

a histogram of measurement results computed using get_state_histogram.

values The histogram values to plot. If result.Result is passed, the values are computed by calling get_state_histogram.
ax The Axes to plot on. If not given, a new figure is created, plotted on, and shown.

The axis that was plotted on.