...batch_assign(assignments).bloqade: select the bloqade local emulator backend
...batch_assign(assignments).braket: select braket local emulator or QuEra hardware
...batch_assign(assignments).device(specifier_string): select backend by specifying
a string
...batch_assign(assignments).parallelize(cluster_spacing): parallelize the program
register
...batch_assign(assignments).args([previously_defined_vars]): defer value assignment
to runtime
Parameters
Name
Type
Default
Description
__batch_params
List[Dict[str, ParamType]]
[]
List of dictionaries where each dictionary contains variable assignments for one set of parameters.
**assignments
List[ParamType]
{}
Returns
Union[BatchAssign, ListAssign]A new instance of BatchAssign or ListAssign class with the specified assignments.
Raises
Type
Description
ValueError
If both __batch_params and assignments are provided.
Note
Bloqade handles the multiple programs generated by this method and treats them
as a unified object for easy post-processing. Ensure all lists of values are of
the same length as Bloqade will not perform a Cartesian product.