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

# QobjMeasurementOption

*class* `qiskit.qobj.QobjMeasurementOption(name, params=None)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/qobj/pulse_qobj.py#L29-L79)

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

An individual measurement option.

Instantiate a new QobjMeasurementOption object.

> **Deprecated since version 1.2**
>
> The class `qiskit.qobj.pulse_qobj.QobjMeasurementOption` 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)) – The name of the measurement option
- **params** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)) – The parameters of the measurement option.

## Methods

### from\_dict

*classmethod* `from_dict(data)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/qobj/pulse_qobj.py#L62-L73)

Create a new QobjMeasurementOption 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**

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

### to\_dict

`to_dict()`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/qobj/pulse_qobj.py#L51-L60)

Return a dict format representation of the QobjMeasurementOption.

**Returns**

The dictionary form of the QasmMeasurementOption.

**Return type**

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