QobjMeasurementOption#

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

Bases : object

An individual measurement option.

Instantiate a new QobjMeasurementOption object.

Paramètres:
  • name (str) – The name of the measurement option

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

Methods

classmethod from_dict(data)[source]#

Create a new QobjMeasurementOption object from a dictionary.

Paramètres:

data (dict) – A dictionary for the experiment config

Renvoie:

The object from the input dictionary.

Type renvoyé:

QobjMeasurementOption

to_dict()[source]#

Return a dict format representation of the QobjMeasurementOption.

Renvoie:

The dictionary form of the QasmMeasurementOption.

Type renvoyé:

dict