|View source on GitHub|
Runs a Rabi oscillation experiment.
cirq.experiments.rabi_oscillations( sampler: "cirq.Sampler", qubit: "cirq.Qid", max_angle: float = (2 * np.pi), *, repetitions: int = 1000, num_points: int = 200 ) ->
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 angle.|
||The number of Rabi angles.|
|A RabiResult object that stores and plots the result.|