tqec.computation.cube.ZXBasis#

class ZXBasis(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Z or X basis.

__init__(*args, **kwds)#

Methods

with_zx_flipped()

Get the basis with the Z/X flipped.

Attributes

Z

X