Gate.validate_parameter

Gate.validate_parameter(parameter)[source]

Gate parameters should be int, float, or ParameterExpression