cirq.contrib.acquaintance.rectify_acquaintance_strategy

Splits moments so that they contain either only acquaintance or permutation gates.

Main aliases

cirq.contrib.acquaintance.mutation_utils.rectify_acquaintance_strategy

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.

TypeError If the circuit is not an acquaintance strategy.