qiskit.pulse.library.sech_deriv¶
- sech_deriv(duration, amp, sigma, name=None)[source]¶
Generates unnormalized sech derivative
Waveform
.For \(A=\)
amp
, \(\sigma=\)sigma
, and center \(\mu=\)duration/2
, applies the midpoint sampling strategy to generate a discrete pulse sampled from the continuous function:\[f(x) = \frac{d}{dx}\left[A\text{sech}\left(\frac{x-\mu}{\sigma} \right)\right],\]i.e. the derivative of \(\text{sech}\).
- Parameters
duration (
int
) -- Duration of pulse. Must be greater than zero.amp (
complex
) -- Pulse amplitude at center.sigma (
float
) -- Width (standard deviation) of pulse.name (
Optional
[str
]) -- Name of pulse.
- Return type