qat.fusion.strategies.AdjacentStrategy
- class qat.fusion.strategies.AdjacentStrategy(nbqbits_target: int = 2, qbit_limit: int = 4)
Simple strategy localising gates with a certain number of qbits, and trying to merge them with adjacent gates, without increasing the gate size.
- Parameters
nbqbits_target (optional, int) – the number of qbits of the target gates. Default is 2.
qbit_limit (optional, int) – the limit size (in qbits). Default is 4.