QobjMeasurementOption#

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

Bases: object

An individual measurement option.

Instantiate a new QobjMeasurementOption object.

Parámetros:
  • name (str) – The name of the measurement option

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

Methods

classmethod from_dict(data)[fuente]#

Create a new QobjMeasurementOption object from a dictionary.

Parámetros:

data (dict) – A dictionary for the experiment config

Devuelve:

The object from the input dictionary.

Tipo del valor devuelto:

QobjMeasurementOption

to_dict()[fuente]#

Return a dict format representation of the QobjMeasurementOption.

Devuelve:

The dictionary form of the QasmMeasurementOption.

Tipo del valor devuelto:

dict