Schedule.assign_parameters

Schedule.assign_parameters(value_dict)[source]

Assign the parameters in this schedule according to the input.

Parameters

value_dict (Dict[ParameterExpression, Union[ParameterExpression, float, int]]) – A mapping from Parameters to either numeric values or another Parameter expression.

Return type

Schedule

Returns

Schedule with updated parameters (a new one if not inplace, otherwise self).