QasmExperimentCalibrations#

class qiskit.qobj.QasmExperimentCalibrations(gates)[source]#

Bases : object

A container for any calibrations data. The gates attribute contains a list of GateCalibrations.

Initialize a container for calibrations.

Paramètres:

gates (list(GateCalibration)) –

Methods

classmethod from_dict(data)[source]#

Create a new GateCalibration object from a dictionary.

Paramètres:

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

Renvoie:

The QasmExperimentCalibrations from the input dictionary.

Type renvoyé:

QasmExperimentCalibrations

to_dict()[source]#

Return a dictionary format representation of the calibrations.

Renvoie:

The dictionary form of the GateCalibration.

Type renvoyé:

dict