qiskit.qobj.QasmQobjExperimentConfig
class QasmQobjExperimentConfig(calibrations=None, **kwargs)
Configuration for a single QASM experiment in the qobj.
Parameters
- calibrations (QasmExperimentCalibrations) – Information required for Pulse gates.
- kwargs – Additional free form key value fields to add to the configuration.
__init__
__init__(calibrations=None, **kwargs)
Parameters
- calibrations (QasmExperimentCalibrations) – Information required for Pulse gates.
- kwargs – Additional free form key value fields to add to the configuration.
Methods
__init__ ([calibrations]) | param calibrationsInformation required for Pulse gates. |
from_dict (data) | Create a new QobjHeader object from a dictionary. |
to_dict () | Return a dictionary format representation of the QASM Qobj. |
from_dict
classmethod from_dict(data)
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()
.
Returns
The QobjDictField from the input dictionary.
Return type
QobjDictFieldr
to_dict
to_dict()
Return a dictionary format representation of the QASM Qobj.
Returns
The dictionary form of the QobjHeader.
Return type
dict
Was this page helpful?
Report a bug or request content on GitHub.