def mutable_copy(self) -> cirq.MutablePauliString:
        """Returns a new `cirq.MutablePauliString` with the same contents."""
        return MutablePauliString(
            coefficient=self.coefficient,
            pauli_int_dict={
                q: PAULI_GATE_LIKE_TO_INDEX_MAP[p] for q, p in self._qubit_pauli_map.items()
            },
        )
Returns a new `cirq.MutablePauliString` with the same contents.
cirq-core/cirq/ops/pauli_string.py