Naive strategy that group adjacent gates as long as the size of the grouped gate is under a certain threshold.
qbit_limit (optional, int) – the limit on the groups sizes (in qbits). Default to 4.