pygsti.processors.random_compilation.gate_inverse#
- gate_inverse(label)#
Computes the inverse of a given gate label.
- Parameters:
label (pygsti.baseobjs.Label) – The gate label for which to compute the inverse.
- Returns:
A new label representing the inverse of the input gate.
- Return type:
pygsti.baseobjs.Label