tqec.sketchup.zx_graph.ZXEdge

class ZXEdge(u: 'ZXNode', v: 'ZXNode', has_hadamard: 'bool' = False)[source]
__init__(u: ZXNode, v: ZXNode, has_hadamard: bool = False) None

Methods

__init__(u, v[, has_hadamard])

Attributes

direction

Get the direction of the edge.

has_hadamard

u

v