memory#

tqec.gallery.memory(observable_basis=Basis.Z)[source]#

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

Parameters:

observable_basis (Basis) – The logical observable basis for the memory experiment.

Returns:

A BlockGraph instance.

Return type:

BlockGraph