Gate.get_inverse

Gate.get_inverse()[source]

Return the gate’s inverse as a gate.