Skip to content

DRAG pulses in Rxy gates

in waveforms.drag the Q component is defined as:

deriv_gauss_env = -D_amp * (t - mu) / (sigma**1) * gauss_env

which means , replacing gauss_env:

deriv_gauss_env = -D_amp*G_amp * (t - mu) / (sigma**1) * np.exp(-(0.5 * ((t - mu) ** 2) / sigma**2))

at quantify_scheduler.compilation the Rxy gate defines D_amp as

D_amp = G_amp * q_cfg["params"]["mw_motzoi"]

so the deriv_gauss_env is actually

- ( G_amp*G_amp *q_cfg["params"]["mw_motzoi"]) 
* (t - mu) / (sigma**1) * np.exp(-(0.5 * ((t - mu) ** 2) / sigma**2))

So to my understanding we end up with G_amp to be squared. Is there an error in the definition of D_amp?