GateFamily which accepts instances of a given cirq.EigenGate
, raised to integer power.
Inherits From: GateFamily
cirq.AnyIntegerPowerGateFamily(
gate: Type[cirq.EigenGate
]
) -> None
Args |
gate
|
A subclass of cirq.EigenGate s.t. an instance g of gate will be
accepted if g.exponent is an integer.
|
Attributes |
description
|
|
gate
|
|
name
|
|
tags_to_accept
|
|
tags_to_ignore
|
|
Methods
__contains__
View source
__contains__(
item: Union[cirq.Gate
, cirq.Operation
]
) -> bool
__eq__
View source
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
View source
__ne__(
other: _SupportsValueEquality
) -> bool