shamrock.algs.set_impl#

shamrock.algs.set_impl(alg: str, impl: str) → None#

Select the implementation impl of the algorithm alg.

impl is a JSON string {"implementation": "<name>", "parameters": {...}}, typically one of the entries of get_default_impl_list(alg).

Raises an exception if no algorithm is registered under alg, or if impl is not a valid implementation of it.