qat.plugins.BaseChanger

class qat.plugins.BaseChanger

This plugin will split the observable job into smaller diagonal observable jobs with each term of the smaller observable commuting. To do so, a base changer circuit (for the diagonalization) is added at the tail of a deepcopy of the circuit, for each new observable. The post-processing sums the value obtained for each diagonal observable, giving only one value, as if only one observable had been simulated.

compile(batch, hardware_specs)

Compiles a batch

post_process(batch_result)

Post processes a collection of results