inject_tdg

guppyft.code.helix.logical.inject_tdg(block: Block, i: int, resource: TState) → None[source]

Consume a T-state resource and apply Tdg to the logical qubit selected by a runtime index.