braket.circuits.operator module

class braket.circuits.operator.Operator[source]

Bases: abc.ABC

A quantum 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

target (QubitSet) – Target qubits that the operator is applied to.