XGate.get_inverse

XGate.get_inverse()

Return the gate’s inverse as a gate.