from_dict

classmethod GateParameters.from_dict(d)

Creates a new GateParameters object from a dict of values.

Parameters:

d (dict[str, Any]) – A dict with keys corresponding to any of this class’s attributes. Default values are set for keys not included in the dict.

Returns:

A new GateParameters object with the values specified by d.

Return type:

GateParameters