qiskit.qobj.PulseQobjExperiment
class PulseQobjExperiment(instructions, config=None, header=None)
A Pulse Qobj Experiment.
Each instance of this class is used to represent an individual Pulse experiment as part of a larger Pulse Qobj.
Instantiate a PulseQobjExperiment.
Parameters
- config (PulseQobjExperimentConfig) – A config object for the experiment
- header (PulseQobjExperimentHeader) – A header object for the experiment
- instructions (list) – A list of
PulseQobjInstruction
objects
__init__
__init__(instructions, config=None, header=None)
Instantiate a PulseQobjExperiment.
Parameters
- config (PulseQobjExperimentConfig) – A config object for the experiment
- header (PulseQobjExperimentHeader) – A header object for the experiment
- instructions (list) – A list of
PulseQobjInstruction
objects
Methods
__init__ (instructions[, config, header]) | Instantiate a PulseQobjExperiment. |
from_dict (data) | Create a new PulseQobjExperiment object from a dictionary. |
to_dict () | Return a dictionary format representation of the Experiment. |
from_dict
classmethod from_dict(data)
Create a new PulseQobjExperiment object from a dictionary.
Parameters
data (dict) – A dictionary for the experiment config
Returns
The object from the input dictionary.
Return type
to_dict
to_dict()
Return a dictionary format representation of the Experiment.
Returns
The dictionary form of the PulseQobjExperiment.
Return type
dict
Was this page helpful?
Report a bug or request content on GitHub.