Skip to main content
IBM Quantum Platform
Esta página pertenece a una versión antigua de Qiskit SDK y no existe en la versión más reciente. Te recomendamos que actualices a la última versión. Consulta las notas de la versión para obtener más información.

QobjMeasurementOption

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

GitHub

Bases: object

An individual measurement option.

Instantiate a new QobjMeasurementOption object.

Parameters

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

Methods

from_dict

classmethod from_dict(data)

Create a new QobjMeasurementOption object from a dictionary.

Parameters

data (dict) – A dictionary for the experiment config

Returns

The object from the input dictionary.

Return type

QobjMeasurementOption

to_dict

to_dict()

Return a dict format representation of the QobjMeasurementOption.

Returns

The dictionary form of the QasmMeasurementOption.

Return type

dict

¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.