58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
---
|
||
title: QasmQobjExperimentConfig
|
||
description: API reference for qiskit.qobj.QasmQobjExperimentConfig
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.qobj.QasmQobjExperimentConfig
|
||
---
|
||
|
||
# QasmQobjExperimentConfig
|
||
|
||
<Class id="qiskit.qobj.QasmQobjExperimentConfig" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.46/qiskit/qobj/qasm_qobj.py" signature="qiskit.qobj.QasmQobjExperimentConfig(calibrations=None, qubit_lo_freq=None, meas_lo_freq=None, **kwargs)" modifiers="class">
|
||
Bases: `QobjDictField`
|
||
|
||
Configuration for a single OpenQASM 2 experiment in the qobj.
|
||
|
||
**Parameters**
|
||
|
||
* **calibrations** ([*QasmExperimentCalibrations*](qiskit.qobj.QasmExperimentCalibrations "qiskit.qobj.QasmExperimentCalibrations")) – Information required for Pulse gates.
|
||
* **qubit\_lo\_freq** (*List\[*[*float*](https://docs.python.org/3/library/functions.html#float "(in Python v3.12)")*]*) – List of qubit LO frequencies in GHz.
|
||
* **meas\_lo\_freq** (*List\[*[*float*](https://docs.python.org/3/library/functions.html#float "(in Python v3.12)")*]*) – List of meas readout LO frequencies in GHz.
|
||
* **kwargs** – Additional free form key value fields to add to the configuration
|
||
|
||
## Methods
|
||
|
||
### from\_dict
|
||
|
||
<Function id="qiskit.qobj.QasmQobjExperimentConfig.from_dict" signature="from_dict(data)" modifiers="classmethod">
|
||
Create a new QobjHeader object from a dictionary.
|
||
|
||
**Parameters**
|
||
|
||
**data** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict "(in Python v3.12)")) – A dictionary representing the QobjHeader to create. It will be in the same format as output by [`to_dict()`](#qiskit.qobj.QasmQobjExperimentConfig.to_dict "qiskit.qobj.QasmQobjExperimentConfig.to_dict").
|
||
|
||
**Returns**
|
||
|
||
The QobjDictField from the input dictionary.
|
||
|
||
**Return type**
|
||
|
||
QobjDictFieldr
|
||
</Function>
|
||
|
||
### to\_dict
|
||
|
||
<Function id="qiskit.qobj.QasmQobjExperimentConfig.to_dict" signature="to_dict()">
|
||
Return a dictionary format representation of the OpenQASM 2 Qobj.
|
||
|
||
**Returns**
|
||
|
||
The dictionary form of the QobjHeader.
|
||
|
||
**Return type**
|
||
|
||
[dict](https://docs.python.org/3/library/stdtypes.html#dict "(in Python v3.12)")
|
||
</Function>
|
||
</Class>
|
||
|