PulseQobjExperiment#
- class qiskit.qobj.PulseQobjExperiment(instructions, config=None, header=None)[código fonte]#
Bases:
object
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.
- Parâmetros:
config (PulseQobjExperimentConfig) – A config object for the experiment
header (PulseQobjExperimentHeader) – A header object for the experiment
instructions (list) – A list of
PulseQobjInstruction
objects
Methods
- classmethod from_dict(data)[código fonte]#
Create a new PulseQobjExperiment object from a dictionary.
- Parâmetros:
data (dict) – A dictionary for the experiment config
- Retorno:
The object from the input dictionary.
- Tipo de retorno:
- to_dict()[código fonte]#
Return a dictionary format representation of the Experiment.
- Retorno:
The dictionary form of the PulseQobjExperiment.
- Tipo de retorno: