Results from a Rabi oscillation experiment.

rabi_angles The rotation angles of the qubit around the x-axis of the Bloch sphere.
excited_state_probabilities The corresponding probabilities that the qubit is in the excited state.

data Returns a sequence of tuple pairs with the first item being a Rabi angle and the second item being the corresponding excited state probability.



View source

Plots excited state probability vs the Rabi angle (angle of rotation around the x-axis).

ax the plt.Axes to plot on. If not given, a new figure is created, plotted on, and shown.
**plot_kwargs Arguments to be passed to 'plt.Axes.plot'.

The plt.Axes containing the plot.