tqec.computation.zx_graph#

ZX graph representation of a 3D spacetime defect diagram.

Classes

ZXEdge(u, v[, has_hadamard])

An edge connecting two nodes in the ZX graph.

ZXGraph([name])

ZX graph representation of a logical computation.

ZXKind(value[, names, module, qualname, ...])

The kind of the node in the ZX graph.

ZXNode(position, kind[, label])

A node in the ZX graph.