cirq.contrib.acquaintance.update_mapping

Updates a mapping (in place) from qubits to logical indices according to a set of permutation gates.

Any gates other than permutation gates are ignored.

mapping The mapping to update.
operations The operations to update according to.