plot_rpe_iterations

forest.benchmarking.robust_phase_estimation.plot_rpe_iterations(xs, ys, x_stds, y_stds, expected_positions: List[T] = None) → matplotlib.axes._axes.Axes

Creates a polar plot of the estimated location of the state in the plane perpendicular to the axis of rotation for each iteration of RPE.

Parameters:
  • xs – expectation value <X> operator for each iteration
  • ys – expectation value <Y> operator for each iteration
  • x_stds – standard deviation of the mean for ‘xs’
  • y_stds – standard deviation of the mean for ‘ys’
  • expected_positions – a list of expected (radius, angle) pairs for each iteration
Returns:

a matplotlib subplot visualizing each iteration of the RPE experiment