cirq.contrib.acquaintance.rectify_acquaintance_strategy

Splits moments so that they contain either only acquaintance gates

or only permutation gates. Orders resulting moments so that the first one is of the same type as the previous one.

circuit The acquaintance strategy to rectify.
acquaint_first Whether to make acquaintance moment first in when splitting the first mixed moment.