ZXKind#
- class tqec.computation.ZXKind(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
The kind of the node in the ZX graph.
Methods
Return a X/Z kind from a Z/X kind.
Attributes
X
X spider.
Y
Y basis initialization/measurement.
Z
Z spider.
P
Open port representing the input/output of the graph.
Detailed methods