pi_2_and_pi_pulse_experiment

SimulationAmplitudeCalibrationBackend.pi_2_and_pi_pulse_experiment(pi_2_pulse_amplitude, pi_2_pulse_drag, pi_pulse_amplitude, pi_pulse_drag, repetition_count, shot_count=None)

Run a simulation of a Gaussian π/2\pi/2 pulse followed by a series of Gaussian pi pulses applied to a qubit initially in state 0|0\rangle

Parameters

  • pi_2_pulse_amplitude (np.ndarray) – Value of amplitudes of the π/2\pi/2
  • pi_2_pulse_drag (np.ndarray) – Value of the DRAG parameter of the π/2\pi/2
  • pi_pulse_amplitude (np.ndarray) – Value of amplitudes of the pi pulse. Must be a 1D array that is broadcastable with pi_2_pulse_amplitude, pi_2_pulse_drag, and pi_pulse_drag.
  • pi_pulse_drag (np.ndarray) – Value of the DRAG parameter of the pi pulse. Must be a 1D array that is broadcastable with pi_2_pulse_amplitude, pi_2_pulse_drag, and pi_pulse_amplitude.
  • repetition_count (int) – The number of times the pi pulse is applied to the qubit in this experiment.
  • shot_count (int or None , optional) – The number of shots of each experiment. If not provided, defaults to the default number of shots of the backend.

Returns

The fraction of times the experiments measured a qubit in 1|1\rangle

Return type

np.ndarray

Was this useful?