qat.plugins.GateRewriter

A plugin replacing a quantum gate by an equivalent subcircuit

Warning

This plugin stays in the Qaptiva 800s for backward compatiblity. The plugin can be replace by KAKCompression plugin of by GraphCircuit

class qat.plugins.GateRewriter

This class is used to replace some gates by a pattern in a circuit A GraphCircuit object may be used but GateRewriter can be faster

compile(batch, specs)

Compile a batch

Parameters