three_cnots_block_graph#
- tqec.gallery.three_cnots_block_graph(support_observable_basis)[source]#
Create a block graph for three logical CNOT gates compressed in spacetime.
- Parameters:
support_observable_basis (Literal['X', 'Z', 'BOTH']) – The observable basis that the block graph can support. It can be either “Z”, “X”, or “BOTH”. Note that a cube at the port can only support the observable basis opposite to the cube. If “Z”, the six ports of the block graph are filled with X basis cubes. If “X”, the six ports are filled with Z basis cubes. If “BOTH”, the ports are left open.
- Returns:
A
BlockGraph
instance representing the three logical CNOT gates compressed in spacetime.- Return type: