tqec.computation.cube.Port#

class Port[source]#

Cube kind representing the open ports in the block graph.

The open ports correspond to the input/output of the computation represented by the block graph. They will have no effect on the functionality of the logical computation itself and should be invisible when visualizing the computation model.

__init__()#

Methods

__init__()

to_zx_kind()

Convert the cube kind to a ZX node kind.