Skip to content

bloqade.analog.ir.routine.params.Params

← Module overview

classParamssource

bloqade.analog.ir.routine.params.Params

class Params

Attributes

NameTypeDescription
n_sitesint
static_paramsDict[str, ParamType]
batch_paramsList[Dict[str, ParamType]]
args_listTuple[Union[ScalarArg, VectorArg], ...]

propertynum_argssource

bloqade.analog.ir.routine.params.Params.num_args

num_args: int
source

propertyarg_namessource

bloqade.analog.ir.routine.params.Params.arg_names

arg_names: Tuple[str]
source

methodparse_argssource

bloqade.analog.ir.routine.params.Params.parse_args

def parse_args(*flattened_args=()) -> Dict[str, Decimal]

Parameters

NameTypeDefaultDescription
*flattened_args—()

Returns

Dict[str, Decimal]

source

methodbatch_assignmentssource

bloqade.analog.ir.routine.params.Params.batch_assignments

def batch_assignments(*args=()) -> List[Dict[str, ParamType]]

Parameters

NameTypeDefaultDescription
*args—()

Returns

List[Dict[str, ParamType]]

source