Rotates a qubit around the x-axis of the Bloch sphere by a sequence of Rabi
angles evenly spaced between 0 and max_angle. For each rotation, repeat
the circuit a number of times and measure the average probability of the
qubit being in the |1> state.
The quantum engine or simulator to run the circuits.
The qubit under test.
The final Rabi angle in radians.
The number of repetitions of the circuit for each Rabi
The number of Rabi angles.
A RabiResult object that stores and plots the result.