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.

Parameters:

gates (list(GateCalibration)) –

Methods

classmethod from_dict(data)[source]

Create a new GateCalibration object from a dictionary.

Parameters:

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

Returns:

The QasmExperimentCalibrations from the input dictionary.

Return type:

QasmExperimentCalibrations

to_dict()[source]

Return a dictionary format representation of the calibrations.

Returns:

The dictionary form of the GateCalibration.

Return type:

dict