QasmQobjExperiment#
- class qiskit.qobj.QasmQobjExperiment(config=None, header=None, instructions=None)[fuente]#
Bases:
object
An OpenQASM 2 Qobj Experiment.
Each instance of this class is used to represent an OpenQASM 2 experiment as part of a larger OpenQASM 2 qobj.
Instantiate a QasmQobjExperiment.
- Parámetros:
config (QasmQobjExperimentConfig) – A config object for the experiment
header (QasmQobjExperimentHeader) – A header object for the experiment
instructions (list) – A list of
QasmQobjInstruction
objects
Methods