TQECColor#
- class tqec.interop.TQECColor(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
Predefined and commonly used colors in TQEC.
Methods
Returns a
X
orZ
color from aZ
orX
color and vice versa.Attributes
rgba
Returns the RGBA representation of the color.
X
Y
Z
H
X_CORRELATION
Z_CORRELATION
Detailed methods