34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
---
|
||
title: sech_deriv
|
||
description: API reference for qiskit.pulse.library.sech_deriv
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.pulse.library.sech_deriv
|
||
---
|
||
|
||
# qiskit.pulse.library.sech\_deriv
|
||
|
||
<Function id="qiskit.pulse.library.sech_deriv" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.23/qiskit/pulse/library/discrete.py" signature="sech_deriv(duration, amp, sigma, name=None)">
|
||
Generates unnormalized sech derivative [`Waveform`](qiskit.pulse.library.Waveform "qiskit.pulse.library.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**
|
||
|
||
[`Waveform`](qiskit.pulse.library.Waveform "qiskit.pulse.library.waveform.Waveform")
|
||
</Function>
|
||
|