NParamsEnum#

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

Bases: IntEnum

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

__init__()#

Attributes

AnyNParams = -1#