Code#
This class is the superclass providing template functionality needed for every code.
- class Code#
CSS code object
- property d#
- getHx(self: mqt.qecc.pyqecc.Code) List[List[bool]] #
- getHz(self: mqt.qecc.pyqecc.Code) List[List[bool]] #
- get_syndrome(self: mqt.qecc.pyqecc.Code, arg0: List[bool], arg1: List[bool]) List[bool] #
Computes syndrome vector
- get_x_syndrome(self: mqt.qecc.pyqecc.Code, arg0: List[bool]) List[bool] #
Computes single sided syndrome vector (length n)
- is_stabilizer(*args, **kwargs)#
Overloaded function.
is_stabilizer(self: mqt.qecc.pyqecc.Code, arg0: List[bool], arg1: List[bool]) -> bool
Checks if vector is a stabilizer
is_stabilizer(self: mqt.qecc.pyqecc.Code, arg0: List[bool]) -> bool
- is_x_stabilizer(self: mqt.qecc.pyqecc.Code, arg0: List[bool]) bool #
Checks if vector is a x-stabilizer
- json(self: mqt.qecc.pyqecc.Code) json #
- property k#
- property n#