QobjMeasurementOption#

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

기반 클래스: object

An individual measurement option.

Instantiate a new QobjMeasurementOption object.

매개변수:
  • name (str) – The name of the measurement option

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

Methods

classmethod from_dict(data)[소스]#

Create a new QobjMeasurementOption object from a dictionary.

매개변수:

data (dict) – A dictionary for the experiment config

반환:

The object from the input dictionary.

반환 형식:

QobjMeasurementOption

to_dict()[소스]#

Return a dict format representation of the QobjMeasurementOption.

반환:

The dictionary form of the QasmMeasurementOption.

반환 형식:

dict