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_seed value provided at initialization is forwarded to get_default_echo_hardware() as its seed argument, except when it is the boolean value False. In that case, the seed argument is omitted entirely. This differs from passing None, which is forwarded as seed=None and allows the callee to apply its own default seeding behaviour.

Return type:

QuantumHardwareModel