cirq.contrib.acquaintance.get_logical_operations

Gets the logical operations specified by the physical operations and initial mapping.

operations The physical operations.
initial_mapping The initial mapping of physical to logical qubits.

ValueError A non-permutation physical operation acts on an unmapped qubit.