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

# PulseLibraryItem

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

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.0/qiskit/qobj/pulse_qobj.py#L492-L539)

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

An item in a pulse library.

Instantiate a pulse library item.

**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.0/qiskit/qobj/pulse_qobj.py#L517-L527)

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.0/qiskit/qobj/pulse_qobj.py#L509-L515)

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)
