move_rotation#

tqec.gallery.move_rotation(observable_basis=None)[source]#

Create a block graph for moving and rotating the spatial boundaries of a logical qubit.

Parameters:

observable_basis (Basis | None) – The observable basis that the block graph can support. If None, the ports are left open. Otherwise, the ports are filled with the given basis.

Returns:

A BlockGraph instance representing the move-rotation operation.

Return type:

BlockGraph