tqec.sketchup.block_graph.Pipe
- class Pipe(u: Cube, v: Cube, pipe_type: PipeType)[source]
A block connecting two cubes in a 3D spacetime diagram.
The pipe represents the idle or merge/split lattice surgery operation on logical qubits depending on its direction.
Methods
__init__
(u, v, pipe_type)Attributes
direction
Get the direction of the pipe.
u
v
pipe_type