Rotation#
- class discopy.quantum.gates.Rotation(name=None, dom=None, cod=None, data=None, *args, **kwargs)[source]#
Bases:
Parametrized
,QuantumGate
Abstract class for rotation gates.
- property phase#
The phase of a rotation gate.
Bases: Parametrized
, QuantumGate
Abstract class for rotation gates.
The phase of a rotation gate.