Gate Decorator

class hal_py.gate_decorator
gate

Get the gate this decorator is created for.

Returns:The gate.
Return type:hal_py.gate
get_gate(self: hal_py.gate_decorator) → hal_py.gate

Get the gate this decorator is created for.

Returns:The gate.
Return type:hal_py.gate
get_type(self: hal_py.gate_decorator) → hal_py.decorator_type

Get the type of the decorator.

Returns:The type.
Return type:int
type

Get the type of the decorator.

Returns:The type.
Return type:int