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
| Name | Type | Default | Description |
|---|---|---|---|
STEANE7_DETECTOR_MATRIX | NDArray[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_MATRIX | NDArray[np.int_] | np.array([[1, 1, 0, 0, 0, 1, 0]]) |