Skip to main contentIBM Quantum Documentation

PulseQobjInstruction

qiskit.qobj.PulseQobjInstruction(name, t0, ch=None, conditional=None, val=None, phase=None, duration=None, qubits=None, memory_slot=None, register_slot=None, kernels=None, discriminators=None, label=None, type=None, pulse_shape=None, parameters=None, frequency=None) GitHub(opens in a new tab)

Bases: object(opens in a new tab)

A class representing a single instruction in an PulseQobj Experiment.

Instantiate a new PulseQobjInstruction object.

Parameters


Methods

from_dict

classmethod from_dict(data)

Create a new PulseQobjExperimentConfig object from a dictionary.

Parameters

data (dict(opens in a new tab)) – A dictionary for the experiment config

Returns

The object from the input dictionary.

Return type

PulseQobjInstruction

to_dict

to_dict()

Return a dictionary format representation of the Instruction.

Returns

The dictionary form of the PulseQobjInstruction.

Return type

dict(opens in a new tab)

Was this page helpful?