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