6.5. Steane Code Factory
6.5.1. Steane Code Block
The Steane code is a simple \([7, 1, 3]\) error-correcting code that encodes a single logical qubit with \(7\) physical qubits.
from loom_steane_code.code_factory import SteaneCode
from loom.eka import Lattice
lattice = Lattice.square_2d((10, 10))
# Create a block for a steane code
myLogicalqubit = SteaneCode.create(
lattice=lattice,
unique_label="steane_code",
position=(0, 0),
)
6.5.2. Operations on Steane Code
We currently do not provide any special code operations specific to the Steane code. The only operations available are the ones that already apply to all Block objects in Loom.