Skip to content

bloqade.lanes.steane_defaults

steane_defaults

bloqade.lanes.steane_defaults

Default Steane [[7,1,3]] detector and observable annotation matrices.

The Steane code encodes one logical qubit into seven physical qubits. These matrices define the parity checks (detectors) and logical observables for use with the Gemini logical simulator.

Attributes

NameTypeDefaultDescription
STEANE7_DETECTOR_MATRIXNDArray[np.int_]np.array([[1, 1, 1, 1, 0, 0, 0], [0, 1, 1, 0, 1, 1, 0], [0, 0, 1, 1, 1, 0, 1]])
STEANE7_OBSERVABLE_MATRIXNDArray[np.int_]np.array([[1, 1, 0, 0, 0, 1, 0]])