qat.model.loaders.purr package

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

class FileModelLoader(path)

Bases: BaseLegacyModelLoader

load()

Load and return the Hardware Model.

Returns:

A loaded Hardware Model

Return type:

LegacyHardwareModel | LogicalHardwareModel

class LucyModelLoader(**kwarg)

Bases: BaseLegacyModelLoader

load()

Load and return the Hardware Model.

Returns:

A loaded Hardware Model

Return type:

LegacyHardwareModel | LogicalHardwareModel

class QbloxDummyModelLoader(name=None, dummy_cfg=None, qubit_count=4, connectivity=None, add_direction_couplings=True)

Bases: BaseLegacyModelLoader

load()

Load and return the Hardware Model.

Returns:

A loaded Hardware Model

Return type:

LegacyHardwareModel | LogicalHardwareModel

class QbloxFileModelLoader(path)

Bases: FileModelLoader

File loader for the open source QbloxLiveHardwareModel

load()

Load and return the Hardware Model.

Returns:

A loaded Hardware Model

Return type:

LegacyHardwareModel | LogicalHardwareModel

class QiskitModelLoader(qubit_count=20, noise_model=None, strict_placement=True, connectivity=None)

Bases: BaseLegacyModelLoader

load()

Load and return the Hardware Model.

Returns:

A loaded Hardware Model

Return type:

LegacyHardwareModel | LogicalHardwareModel

class RTCSModelLoader(rotating_frame=True)

Bases: BaseLegacyModelLoader

load()

Load and return the Hardware Model.

Returns:

A loaded Hardware Model

Return type:

LegacyHardwareModel | LogicalHardwareModel

Submodules