qiskit-documentation/docs/api/qiskit/0.31/qiskit.qobj.QasmQobjExperim...

62 lines
2.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: QasmQobjExperimentConfig (v0.31)
description: API reference for qiskit.qobj.QasmQobjExperimentConfig in qiskit v0.31
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.18/qiskit/qobj/qasm_qobj.py" signature="QasmQobjExperimentConfig(calibrations=None, qubit_lo_freq=None, meas_lo_freq=None, **kwargs)" modifiers="class">
Bases: `qiskit.qobj.common.QobjDictField`
Configuration for a single QASM experiment in the qobj.
**Parameters**
* **calibrations** ([*QasmExperimentCalibrations*](qiskit.qobj.QasmExperimentCalibrations "qiskit.qobj.QasmExperimentCalibrations")) Information required for Pulse gates.
* **qubit\_lo\_freq** (*List\[float]*) List of qubit LO frequencies in GHz.
* **meas\_lo\_freq** (*List\[float]*) List of meas readout LO frequencies in GHz.
* **kwargs** Additional free form key value fields to add to the configuration
## Methods
<span id="qiskit-qobj-qasmqobjexperimentconfig-from-dict" />
### from\_dict
<Function id="qiskit.qobj.QasmQobjExperimentConfig.from_dict" signature="QasmQobjExperimentConfig.from_dict(data)" modifiers="classmethod">
Create a new QobjHeader object from a dictionary.
**Parameters**
**data** (*dict*) 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>
<span id="qiskit-qobj-qasmqobjexperimentconfig-to-dict" />
### to\_dict
<Function id="qiskit.qobj.QasmQobjExperimentConfig.to_dict" signature="QasmQobjExperimentConfig.to_dict()">
Return a dictionary format representation of the QASM Qobj.
**Returns**
The dictionary form of the QobjHeader.
**Return type**
dict
</Function>
</Class>