Operator
- class braket.circuits.operator.Operator[source]
Bases:
ABCAn operator is the abstract definition of an operation for a quantum device.
- abstract property name: str
The name of the operator.
- Returns:
str – The name of the operator.
- abstractmethod 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.
- Return type:
Any- Returns:
Any – The canonical intermediate representation of the operator.
- property requires_physical_qubits: bool
Whether a circuit using this operator requires qubits to be physical.
- Type:
bool