qat.plugins.InitialMapping

class qat.plugins.InitialMapping(method='greedy')

A plugin wrapping various remapping methods.

These methods simply permute the qubits of the incoming job thus reducing the potential overhead.

The plugin wraps two different backends:

Parameters

method (optional, str) – the mapping method (“greedy” or “frequency”). Defaults to “greedy”.

compile(batch, specs)

Compiles a batch