MergeResult#
- class ssip.merge_result.MergeResult(Code: CSScode, MergeMap: ndarray[Any, dtype[uint8]], NewZStabs: list, NewXStabs: list, NewQubits: list, NewZLogicals: list, NewXLogicals: list, OldZLogicals: list, OldXLogicals: list)[source]#
Bases:
object
A collection of data which informs the user about a merge, or multiple merges, which were performed.
- Code#
The output merged code.
- MergeMap#
The map on qubits from the input to output code.
- Type:
numpy.ndarray[Any, numpy.dtype[numpy.uint8]]
- introduced by the merge, if there are any.
- introduced by the merge, if there are any.
- retained by the merge, if there are any.
- retained by the merge, if there are any.
Methods
Attributes