CSScode#
- class ssip.basic_functions.CSScode(PZ: ndarray[Any, dtype[uint8]], PX: ndarray[Any, dtype[uint8]])[source]#
Bases:
object
A qubit Calderbank-Shor-Steane code with a set of stabiliser generators is a pair of parity-check matrices over the field F_2.
- PZ#
Parity-check matrix over F_2 for Z generators.
- Type:
numpy.ndarray[Any, numpy.dtype[numpy.uint8]]
- PX#
Parity-check matrix over F_2 for X generators.
- Type:
numpy.ndarray[Any, numpy.dtype[numpy.uint8]]
Methods
Attributes