WiresEnum#

class torchquantum.operator.WiresEnum(value)[source]#

Bases: IntEnum

Integer enumeration class to represent the number of wires an operation acts on.

__init__()#

Attributes

AnyWires = -1#
AllWires = 0#