QobjMeasurementOption#

class qiskit.qobj.QobjMeasurementOption(name, params=None)[Quellcode]#

Bases: object

An individual measurement option.

Instantiate a new QobjMeasurementOption object.

Parameter:
  • name (str) – The name of the measurement option

  • params (list) – The parameters of the measurement option.

Methods

classmethod from_dict(data)[Quellcode]#

Create a new QobjMeasurementOption object from a dictionary.

Parameter:

data (dict) – A dictionary for the experiment config

Rückgabe:

The object from the input dictionary.

Rückgabetyp:

QobjMeasurementOption

to_dict()[Quellcode]#

Return a dict format representation of the QobjMeasurementOption.

Rückgabe:

The dictionary form of the QasmMeasurementOption.

Rückgabetyp:

dict