Command

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

Class representing a Command.

name

Pulse command name.

Initialize a Command object

Parameters
  • 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

Command.from_dict(data)

Create a new Command object from a dictionary.

Command.to_dict()

Return a dictionary format representation of the Command.