QasmExperimentCalibrations#

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

Bases: object

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

Initialize a container for calibrations.

Parameter:

gates (list(GateCalibration)) –

Methods

classmethod from_dict(data)[Quellcode]#

Create a new GateCalibration object from a dictionary.

Parameter:

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

Rückgabe:

The QasmExperimentCalibrations from the input dictionary.

Rückgabetyp:

QasmExperimentCalibrations

to_dict()[Quellcode]#

Return a dictionary format representation of the calibrations.

Rückgabe:

The dictionary form of the GateCalibration.

Rückgabetyp:

dict