QobjMeasurementOption

class QobjMeasurementOption(name, params=None)[source]

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

QobjMeasurementOption.from_dict(data)

Create a new QobjMeasurementOption object from a dictionary.

QobjMeasurementOption.to_dict()

Return a dict format representation of the QobjMeasurementOption.