cirq.optimizers.stratify.stratify_circuit

Performs the stratification by iterating through the operations in the

circuit and using the given classifiers to align them.

classifiers A list of rules to align the circuit. Must be exhaustive, i.e. all operations will be caught by one of the processors.
circuit The circuit to break out into homogeneous moments. Will not be edited.

The stratified circuit.