|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
=========================
|
|
Qobj (:mod:`qiskit.qobj`)
|
|
=========================
|
|
|
|
.. currentmodule:: qiskit.qobj
|
|
|
|
Base
|
|
====
|
|
|
|
.. autosummary::
|
|
:toctree: ../stubs/
|
|
|
|
Qobj
|
|
QobjExperimentHeader
|
|
QobjHeader
|
|
|
|
Qasm
|
|
====
|
|
|
|
.. autosummary::
|
|
:toctree: ../stubs/
|
|
|
|
QasmQobj
|
|
QasmQobjInstruction
|
|
QasmQobjExperimentConfig
|
|
QasmQobjExperiment
|
|
QasmQobjConfig
|
|
QasmExperimentCalibrations
|
|
GateCalibration
|
|
|
|
Pulse
|
|
=====
|
|
|
|
.. autosummary::
|
|
:toctree: ../stubs/
|
|
|
|
PulseQobj
|
|
PulseQobjInstruction
|
|
PulseQobjExperimentConfig
|
|
PulseQobjExperiment
|
|
PulseQobjConfig
|
|
QobjMeasurementOption
|
|
PulseLibraryItem
|
|
"""
|
|
|
|
from qiskit.qobj.common import QobjExperimentHeader
|
|
from qiskit.qobj.common import QobjHeader
|
|
|
|
from qiskit.qobj.pulse_qobj import PulseQobj
|
|
from qiskit.qobj.pulse_qobj import PulseQobjInstruction
|
|
from qiskit.qobj.pulse_qobj import PulseQobjExperimentConfig
|
|
from qiskit.qobj.pulse_qobj import PulseQobjExperiment
|
|
from qiskit.qobj.pulse_qobj import PulseQobjConfig
|
|
from qiskit.qobj.pulse_qobj import QobjMeasurementOption
|
|
from qiskit.qobj.pulse_qobj import PulseLibraryItem
|
|
|
|
from qiskit.qobj.qasm_qobj import GateCalibration
|
|
from qiskit.qobj.qasm_qobj import QasmExperimentCalibrations
|
|
from qiskit.qobj.qasm_qobj import QasmQobj
|
|
from qiskit.qobj.qasm_qobj import QasmQobjInstruction
|
|
from qiskit.qobj.qasm_qobj import QasmQobjExperiment
|
|
from qiskit.qobj.qasm_qobj import QasmQobjConfig
|
|
from qiskit.qobj.qasm_qobj import QasmQobjExperimentConfig
|
|
|
|
from qiskit.utils.deprecation import deprecate_func
|
|
|
|
|
|
class Qobj(QasmQobj):
|
|
"""A backwards compat alias for QasmQobj."""
|
|
|
|
@deprecate_func(additional_msg="Instead, use QasmQobj or PulseQobj", since="0.19.0")
|
|
def __init__(self, qobj_id=None, config=None, experiments=None, header=None):
|
|
"""Initialize a Qobj object."""
|
|
super().__init__(qobj_id=qobj_id, config=config, experiments=experiments, header=header)
|
|
|