solo_node_zx_graph#

tqec.gallery.solo_node_zx_graph(kind)[source]#

Create a single node ZX graph with the given kind.

Parameters:

kind (Literal['Z', 'X']) – The kind of the node, either “Z” or “X”.

Returns:

A ZXGraph instance with a single node of the given kind.

Return type:

ZXGraph