French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

QasmQobj

class QasmQobj(qobj_id=None, config=None, experiments=None, header=None)[source]

Bases : object

A QASM Qobj.

Instantiate a new QASM Qobj Object.

Each QASM Qobj object is used to represent a single payload that will be passed to a Qiskit provider. It mirrors the Qobj the published Qobj specification for OpenQASM experiments.

Paramètres
  • qobj_id (str) – An identifier for the qobj

  • config (QasmQobjRunConfig) – A config for the entire run

  • header (QobjHeader) – A header for the entire run

  • experiments (list) – A list of lists of QasmQobjExperiment objects representing an experiment

Methods

from_dict

Create a new QASMQobj object from a dictionary.

to_dict

Return a dictionary format representation of the QASM Qobj.