qat.model.loaders.purr.echo module
- class EchoModelLoader(qubit_count=4, connectivity=None, add_direction_couplings=True, random_seed=False)
Bases:
BaseLegacyModelLoader- load()
Build the default Echo hardware model.
The
random_seedvalue provided at initialization is forwarded toget_default_echo_hardware()as itsseedargument, except when it is the boolean valueFalse. In that case, theseedargument is omitted entirely. This differs from passingNone, which is forwarded asseed=Noneand allows the callee to apply its own default seeding behaviour.- Return type: