tqec.gallery#

Collection of pre-built logical computations.

This module contains functions that build BlockGraph instances representing the logical computations, including:

  • memory: memory experiment

  • stability: stability experiment

  • cnot: logical CNOT gate

  • cz: logical CZ gate

  • move_rotation: rotate spatial boundaries by moving the logical qubit in spacetime

  • three_cnots: three logical CNOT gates compressed in spacetime

Functions

cnot([observable_basis])

Create a block graph for the logical CNOT gate.

cz([support_flows])

Create a block graph representing the logical CZ gate.

memory([observable_basis])

Create a block graph with a single cube that represents a logical memory experiment.

move_rotation([observable_basis])

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

stability([observable_basis])

Create a block graph with a single cube that represents a logical stability experiment.

three_cnots([observable_basis])

Create a block graph for three logical CNOT gates compressed in spacetime.