braket.circuits.operator module

class braket.circuits.operator.Operator[source]

Bases: abc.ABC

An operator is the abstract definition of an operation for a quantum device.

abstract property name

The operator name.

Type

str

abstract to_ir(*args, **kwargs)[source]

Converts the operator into the canonical intermediate representation. If the operator is passed in a request, this method is called before it is passed.

Parameters
  • *args – Positional arguments

  • **kwargs – Keyword arguments