XGate.is_constant

XGate.is_constant()

Return true if this unitary doesn’t take parameters.