qudit_sim.pulse.Pulse.modulate

Pulse.modulate(drive_base, frequency, phase_offset, frame_frequency, start_time, symmetry, rwa)

Modulate the tone at the given amplitude and frequency with this pulse.

Parameters
  • drive_base (complex) – Factor \(\alpha_{jk} e^{i \rho_{jk}} \frac{\Omega_j}{2}\).

  • frequency (float) – Tone frequency.

  • phase_offset (float) – Tone phase offset.

  • frame_frequency (float) – Frequency of the observing frame.

  • start_time (float) – Start time of the pulse.

  • symmetry (str) – ‘x’ or ‘y’.

  • rwa (bool) – Whether to apply the rotating-wave approximation.

Return type

Callable[[Union[float, numpy.ndarray], dict], Union[complex, numpy.ndarray]]

Returns

A function of time that returns the modulated signal.