deltakit.explorer.codes.StabiliserCode#
- class deltakit.explorer.codes.StabiliserCode(stabilisers: Sequence[Iterable[Stabiliser]], x_logical_operators: Sequence[Collection[PauliGate]] | None = None, z_logical_operators: Sequence[Collection[PauliGate]] | None = None, use_ancilla_qubits: bool = True, check_logical_operators_are_independent: bool = False)#
Bases:
ABCClass representing an abstract stabiliser code.
This class also contains methods that help set up circuits for memory experiments.
Methods#
Set up the CSSStage which represents the encoding of a logical \(\ket{+}\dots\ket{+}\) |
|
Set up the CSSStage which represents the encoding of a logical \(\ket{0}\dots\ket{0}\). |
|
Set up the CSSStage which represents measuring the stabilisers for num_rounds rounds. |
|
Set up the CSSStage which represents measuring all logical X operators simultaneously. |
|
Set up the CSSStage which represents measuring all logical Z operators simultaneously. |
|
Method to allow for updating both X and Z logicals simultaneously. |