QasmQobj¶
- class QasmQobj(qobj_id=None, config=None, experiments=None, header=None)[source]¶
Bases:
object
A QASM Qobj.
Instantiate a new QASM Qobj Object.
Each QASM Qobj object is used to represent a single payload that will be passed to a Qiskit provider. It mirrors the Qobj the published Qobj specification for OpenQASM experiments.
- Parameters
qobj_id (str) -- An identifier for the qobj
config (QasmQobjRunConfig) -- A config for the entire run
header (QobjHeader) -- A header for the entire run
experiments (list) -- A list of lists of
QasmQobjExperiment
objects representing an experiment
Methods
Create a new QASMQobj object from a dictionary.
Return a dictionary format representation of the QASM Qobj.