qp.typing.Wire

Wire = <pennylane.typing._AbstractWireTypeFactory object>

An AbstractWires subclass. It can be indexed to create AbstractWires with a fixed or dynamic wire count. It should not be used on its own.

>>> from pennylane.typing import Wire
>>> isinstance(Wires([0, 1]), Wire[2])
True
>>> Wire[1]
AbstractWires(1)
>>> Wire[2]
AbstractWires(2)
>>> Wire[-1]
AbstractWires(-1)