---
title: PulseLibraryItem (v1.4)
description: API reference for qiskit.qobj.PulseLibraryItem in qiskit v1.4
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/1.4/qiskit.qobj.PulseLibraryItem
---

# PulseLibraryItem

*class* `qiskit.qobj.PulseLibraryItem(name, samples)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.4/qiskit/qobj/pulse_qobj.py#L533-L588)

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

An item in a pulse library.

Instantiate a pulse library item.

> **Deprecated since version 1.2**
>
> The class `qiskit.qobj.pulse_qobj.PulseLibraryItem` is deprecated as of qiskit 1.2. It will be removed in the 2.0 release. The Qobj class and related functionality are part of the deprecated BackendV1 workflow, and no longer necessary for BackendV2. If a user workflow requires Qobj it likely relies on deprecated functionality and should be updated to use BackendV2.

**Parameters**

- **name** ([*str*](https://docs.python.org/3/library/stdtypes.html#str)) – A name for the pulse.
- **samples** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)*\[*[*complex*](https://docs.python.org/3/library/functions.html#complex)*]*) – A list of complex values defining pulse shape.

## Methods

### from\_dict

*classmethod* `from_dict(data)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.4/qiskit/qobj/pulse_qobj.py#L566-L576)

Create a new PulseLibraryItem object from a dictionary.

**Parameters**

**data** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict)) – A dictionary for the experiment config

**Returns**

The object from the input dictionary.

**Return type**

[PulseLibraryItem](#qiskit.qobj.PulseLibraryItem "qiskit.qobj.PulseLibraryItem")

### to\_dict

`to_dict()`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.4/qiskit/qobj/pulse_qobj.py#L558-L564)

Return a dictionary format representation of the pulse library item.

**Returns**

The dictionary form of the PulseLibraryItem.

**Return type**

[dict](https://docs.python.org/3/library/stdtypes.html#dict)
