Parameterizable

class braket.parametric.parameterizable.Parameterizable[source]

Bases: ABC

A parameterized object is the abstract definition of an object that can take in FreeParameterExpressions.

abstract property parameters: list[FreeParameterExpression | FreeParameter | float]

Get the parameters.

Returns:

list[FreeParameterExpression | FreeParameter | float] – The parameters associated with the object, either unbound free parameter expressions or bound values. The order of the parameters is determined by the subclass.

abstractmethod bind_values(**kwargs)[source]

Takes in parameters and returns an object with specified parameters replaced with their values.

Parameters:

**kwargs (FreeParameter | str) – Arbitrary keyword arguments.

Return type:

Any

Returns:

Any – The result object will depend on the implementation of the object being bound.