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