qp.typing.Wire¶
- Wire = <pennylane.typing._AbstractWireTypeFactory object>¶
An
AbstractWiressubclass. It can be indexed to createAbstractWireswith 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)