DriveStrength

class DriveStrength(amplitude=None, pi_duration=None, rabi_frequency=None)

How hard and how long one resonant drive is driven.

A drive is fixed by an amplitude and a duration, of which you give the one you measured and the device answers the other, so which half is known varies per drive. An amplitude left empty varies with the rotation angle, and the backend resolves it per instruction.

Variables:
  • amplitude – Drive amplitude, in the unit DeviceParameters.amplitude_unit names.

  • pi_duration – Duration of a pi rotation at this amplitude.

  • rabi_frequency – Rabi frequency at this amplitude, in the reciprocal of pi_duration’s unit, the other form of the same number: a pi rotation is half a Rabi period. Giving either one fills the other. Setting both keeps pi_duration and recomputes this from it.

Raises:

ConfigError – If any value is not positive.