qat.plugins.CausalConesSplitter

class qat.plugins.CausalConesSplitter(*args, **kwargs)

A plugin that transforms jobs into batches by:

  • computing for each term of the job’s observable the set of qubits/gates that truly influence the term’s expected value (reverse causal cone computation)

  • generating a new circuit for each term using these informations

compile(batch, _specs)

Compiles a batch and returns a new batch

post_process(batch_results)

Post processes batch results