QobjHeader

class QobjHeader(**kwargs)[source]

A class used to represent a dictionary header in Qobj objects.

Instantiate a new Qobj dict field object.

Parameters

kwargs – arbitrary keyword arguments that can be accessed as attributes of the object.

Methods

QobjHeader.from_dict(data)

Create a new QobjHeader object from a dictionary.

QobjHeader.to_dict()

Return a dictionary format representation of the QASM Qobj.