|View source on GitHub|
Splits moments so that they contain either only acquaintance or permutation gates.
cirq.contrib.acquaintance.rectify_acquaintance_strategy( circuit: 'cirq.Circuit', acquaint_first: bool = True ) -> None
Orders resulting moments so that the first one is of the same type as the previous one.
||The acquaintance strategy to rectify.|
||Whether to make acquaintance moment first in when splitting the first mixed moment.|
||If the circuit is not an acquaintance strategy.|