def conjugated_by(self, clifford: cirq.OP_TREE) -> PauliStringPhasor:
        r"""Returns the Pauli string conjugated by a clifford operation.

        The PauliStringPhasor $P$ conjugated by the Clifford operation $C$ is
          $C^\dagger P C$.
        """
        new_pauli_string: ps.PauliString = self.pauli_string.conjugated_by(clifford)
        pp = self.exponent_pos
        pn = self.exponent_neg
        return PauliStringPhasor(new_pauli_string, exponent_pos=pp, exponent_neg=pn)
Returns the Pauli string conjugated by a clifford operation.

        The PauliStringPhasor $P$ conjugated by the Clifford operation $C$ is
          $C^\dagger P C$.
        
cirq-core/cirq/ops/pauli_string_phasor.py