Skip to content

tsim.core.instructions.detector

← Module overview

functiondetectorsource

tsim.core.instructions.detector

def detector(b: GraphRepresentation, rec: list[int], *args=()) -> None

Add detector annotation that XORs the given measurement record bits.

Parameters

NameTypeDefaultDescription
bGraphRepresentationrequired
reclist[int]required
*args—()
source