samplomatic.transpiler.passes

Transpiler passes

Classes

AddInjectNoise(*args, **kwargs)

Inserts InjectNoise annotations to all the unique boxes with twirling annotation.

AddTerminalRightDressedBoxes(*args, **kwargs)

Add right-dressed boxes to collect uncollected virtual gates emitted by left-dressed boxes.

GroupGatesIntoBoxes(*args, **kwargs)

Collect the gates in a circuit inside left-dressed boxes.

GroupMeasIntoBoxes(*args, **kwargs)

Collect the measurements in a circuit inside boxes.

InlineBoxes(*args, **kwargs)

Inline every box in the input circuit by replacing it with its content.

Submodules