QobjMeasurementOption#

class qiskit.qobj.QobjMeasurementOption(name, params=None)[código fonte]#

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)[código fonte]#

Create a new QobjMeasurementOption object from a dictionary.

Parâmetros:

data (dict) – A dictionary for the experiment config

Retorno:

The object from the input dictionary.

Tipo de retorno:

QobjMeasurementOption

to_dict()[código fonte]#

Return a dict format representation of the QobjMeasurementOption.

Retorno:

The dictionary form of the QasmMeasurementOption.

Tipo de retorno:

dict