exa.core.model_selection_fitter.models.decaying_sine_model.abs_decay

Contents

exa.core.model_selection_fitter.models.decaying_sine_model.abs_decay#

abs_decay(n_gates, pulse_duration, amplitude, offset, exp_decay_time, gauss_decay_time)#

Absolute decaying function.

Models a decay which contains both Gaussian and exponential decay components and can only be positive.

Parameters:
  • n_gates (int) – Coordinate for number of gates.

  • pulse_duration (float) – duration of a single CZ gate.

  • amplitude (float) – Amplitude of the oscillation.

  • offset (float) – Constant offset of the oscillation.

  • exp_decay_time (float) – Exponential decay time.

  • gauss_decay_time (float) – Gaussian decay time.

Returns:

Value at given times.

Return type:

float