iqm.pulse.playlist.hd_drag.solve_hd_drag_coefficients_from_suppressed_frequencies

iqm.pulse.playlist.hd_drag.solve_hd_drag_coefficients_from_suppressed_frequencies#

iqm.pulse.playlist.hd_drag.solve_hd_drag_coefficients_from_suppressed_frequencies(pulse_duration, suppressed_freq_arr)#

Solve coefficients of the derivative terms in a HD DRAG pulse given pulse duration and frequencies to suppress.

The coefficients \(\{\beta_{2n}}_{n=0}^{K}\) of the derivative terms are solved using Eq. (B5) of [1] assuming that \(\beta_0 = 1\). Here, \(K\) is the number of suppressed frequencies.

Note that the duration and frequencies must have matching units, e.g., s and Hz, or ns and GHz.

Parameters:
  • pulse_duration (float) – Pulse duration (in s).

  • suppressed_freq_arr (tuple[float, ...]) – Frequencies to be suppressed relative to the center drive frequency (in Hz).

Returns:

Coefficient array of length len(suppressed_freq_arr) + 1

Return type:

ndarray