tsim.core.instructions.detector
← Module overview
function
source
functiondetector¶source
tsim.core.instructions.detector
def detector(b: GraphRepresentation, rec: list[int], *args=()) -> NoneAdd detector annotation that XORs the given measurement record bits.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
b | GraphRepresentation | required | |
rec | list[int] | required | |
*args | — | () |