qiskit-documentation/docs/api/qiskit/0.39/qiskit.pulse.library.zero.mdx

30 lines
823 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: zero
description: API reference for qiskit.pulse.library.zero
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.pulse.library.zero
---
# qiskit.pulse.library.zero
<Function id="qiskit.pulse.library.zero" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.22/qiskit/pulse/library/discrete.py" signature="zero(duration, name=None)">
Generates zero-sampled [`Waveform`](qiskit.pulse.library.Waveform "qiskit.pulse.library.Waveform").
Samples from the function:
$$
f(x) = 0
$$
**Parameters**
* **duration** (`int`) Duration of pulse. Must be greater than zero.
* **name** (`Optional`\[`str`]) Name of pulse.
**Return type**
[`Waveform`](qiskit.pulse.library.Waveform "qiskit.pulse.library.waveform.Waveform")
</Function>