Shortcuts

qiskit.qobj.GateCalibration

class GateCalibration(name, qubits, params, instructions)[ソース]

Each calibration specifies a unique gate by name, qubits and params, and contains the Pulse instructions to implement it.

Initialize a single gate calibration. Instructions may reference waveforms which should be made available in the pulse_library.

パラメータ
  • name (str) – Gate name.

  • qubits (list(int)) – Qubits the gate applies to.

  • params (list(complex)) – Gate parameter values, if any.

  • instructions (list(PulseQobjInstruction)) – The gate implementation.

__init__(name, qubits, params, instructions)[ソース]

Initialize a single gate calibration. Instructions may reference waveforms which should be made available in the pulse_library.

パラメータ
  • name (str) – Gate name.

  • qubits (list(int)) – Qubits the gate applies to.

  • params (list(complex)) – Gate parameter values, if any.

  • instructions (list(PulseQobjInstruction)) – The gate implementation.

Methods

__init__(name, qubits, params, instructions)

Initialize a single gate calibration.

from_dict(data)

Create a new GateCalibration object from a dictionary.

to_dict()

Return a dictionary format representation of the Gate Calibration.

classmethod from_dict(data)[ソース]

Create a new GateCalibration object from a dictionary.

パラメータ

data (dict) – A dictionary representing the GateCalibration to create. It will be in the same format as output by to_dict().

戻り値

The GateCalibration from the input dictionary.

戻り値の型

GateCalibration

to_dict()[ソース]

Return a dictionary format representation of the Gate Calibration.

戻り値

The dictionary form of the GateCalibration.

戻り値の型

dict

表示 lang: Japanese
言語
English
Japanese
German
Korean