---
title: GateCalibration (v1.2)
description: API reference for qiskit.qobj.GateCalibration in qiskit v1.2
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/1.2/qiskit.qobj.GateCalibration
---

# GateCalibration

*class* `qiskit.qobj.GateCalibration(name, qubits, params, instructions)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/qobj/qasm_qobj.py#L526-L587)

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

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.

> **Deprecated since version 1.2**
>
> The class `qiskit.qobj.qasm_qobj.GateCalibration` is deprecated as of qiskit 1.2. It will be removed in the 2.0 release. The Qobj class and related functionality are part of the deprecated BackendV1 workflow, and no longer necessary for BackendV2. If a user workflow requires Qobj it likely relies on deprecated functionality and should be updated to use BackendV2.

**Parameters**

- **name** ([*str*](https://docs.python.org/3/library/stdtypes.html#str)) – Gate name.
- **qubits** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)*(*[*int*](https://docs.python.org/3/library/functions.html#int)*)*) – Qubits the gate applies to.
- **params** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)*(*[*complex*](https://docs.python.org/3/library/functions.html#complex)*)*) – Gate parameter values, if any.
- **instructions** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)*(*[*PulseQobjInstruction*](/docs/api/qiskit/1.2/qiskit.qobj.PulseQobjInstruction "qiskit.qobj.PulseQobjInstruction")*)*) – The gate implementation.

## Methods

### from\_dict

*classmethod* `from_dict(data)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/qobj/qasm_qobj.py#L574-L587)

Create a new GateCalibration object from a dictionary.

**Parameters**

**data** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict)) – A dictionary representing the GateCalibration to create. It will be in the same format as output by [`to_dict()`](#qiskit.qobj.GateCalibration.to_dict "qiskit.qobj.GateCalibration.to_dict").

**Returns**

The GateCalibration from the input dictionary.

**Return type**

[GateCalibration](#qiskit.qobj.GateCalibration "qiskit.qobj.GateCalibration")

### to\_dict

`to_dict()`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/qobj/qasm_qobj.py#L564-L572)

Return a dictionary format representation of the Gate Calibration.

**Returns**

The dictionary form of the GateCalibration.

**Return type**

[dict](https://docs.python.org/3/library/stdtypes.html#dict)
