qiskit-documentation/docs/api/qiskit/0.26/qiskit.qobj.PulseQobjExperi...

77 lines
3.5 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: PulseQobjExperimentConfig (v0.26)
description: API reference for qiskit.qobj.PulseQobjExperimentConfig in qiskit v0.26
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.qobj.PulseQobjExperimentConfig
---
<span id="qiskit-qobj-pulseqobjexperimentconfig" />
# qiskit.qobj.PulseQobjExperimentConfig
<Class id="qiskit.qobj.PulseQobjExperimentConfig" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.17/qiskit/qobj/pulse_qobj.py" signature="PulseQobjExperimentConfig(qubit_lo_freq=None, meas_lo_freq=None, **kwargs)" modifiers="class">
A config for a single Pulse experiment in the qobj.
Instantiate a PulseQobjExperimentConfig object.
**Parameters**
* **qubit\_lo\_freq** (*list*) List of frequencies (as floats) for the qubit driver LOs in GHz.
* **meas\_lo\_freq** (*list*) List of frequencies (as floats) for the measurement driver LOs in GHz.
* **kwargs** Additional free form key value fields to add to the configuration
### \_\_init\_\_
<Function id="qiskit.qobj.PulseQobjExperimentConfig.__init__" signature="__init__(qubit_lo_freq=None, meas_lo_freq=None, **kwargs)">
Instantiate a PulseQobjExperimentConfig object.
**Parameters**
* **qubit\_lo\_freq** (*list*) List of frequencies (as floats) for the qubit driver LOs in GHz.
* **meas\_lo\_freq** (*list*) List of frequencies (as floats) for the measurement driver LOs in GHz.
* **kwargs** Additional free form key value fields to add to the configuration
</Function>
## Methods
| | |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [`__init__`](#qiskit.qobj.PulseQobjExperimentConfig.__init__ "qiskit.qobj.PulseQobjExperimentConfig.__init__")(\[qubit\_lo\_freq, meas\_lo\_freq]) | Instantiate a PulseQobjExperimentConfig object. |
| [`from_dict`](#qiskit.qobj.PulseQobjExperimentConfig.from_dict "qiskit.qobj.PulseQobjExperimentConfig.from_dict")(data) | Create a new QobjHeader object from a dictionary. |
| [`to_dict`](#qiskit.qobj.PulseQobjExperimentConfig.to_dict "qiskit.qobj.PulseQobjExperimentConfig.to_dict")() | Return a dictionary format representation of the QASM Qobj. |
### from\_dict
<Function id="qiskit.qobj.PulseQobjExperimentConfig.from_dict" signature="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.PulseQobjExperimentConfig.to_dict "qiskit.qobj.PulseQobjExperimentConfig.to_dict").
**Returns**
The QobjDictField from the input dictionary.
**Return type**
QobjDictFieldr
</Function>
### to\_dict
<Function id="qiskit.qobj.PulseQobjExperimentConfig.to_dict" signature="to_dict()">
Return a dictionary format representation of the QASM Qobj.
**Returns**
The dictionary form of the QobjHeader.
**Return type**
dict
</Function>
</Class>