tqec.gallery#
Collection of pre-built logical computations.
This module contains functions that build ZXGraph
and
BlockGraph
instances representing the logical computations,
including:
solo_node
: logical memorylogical_cnot
: logical CNOT gatethree_cnots
: three logical CNOT gates compressed in spacetime
Functions
Create a block graph for the logical CNOT gate. |
|
|
Create a ZX graph for the logical CNOT gate. |
|
Create a block graph for the logical CZ gate. |
|
Create a ZX graph for the logical CZ gate. |
Create a block graph for moving and rotating the spatial boundaries of a logical qubit. |
|
|
Create a ZX graph for moving and rotating the spatial boundaries of a logical qubit. |
|
Create a block graph with a single cube that can support the given observable basis. |
|
Create a single node ZX graph with the given kind. |
|
Create a block graph for three logical CNOT gates compressed in spacetime. |
|
Create a ZX graph for three logical CNOT gates compressed in spacetime. |