Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

Command

class Command(name, qubits=None, sequence=None, **kwargs)[source]

Bases: object

Class representing a Command.

name

Pulse command name.

Initialize a Command object

প্যারামিটার
  • name (str) -- The name of the command

  • qubits -- The qubits for the command

  • sequence (PulseQobjInstruction) -- The sequence for the Command

  • kwargs -- Optional additional fields

Methods

from_dict

Create a new Command object from a dictionary.

to_dict

Return a dictionary format representation of the Command.