def to_z_basis_ops(self) -> Iterator[raw_types.Operation]:
        """Returns single qubit operations to convert the qubits to the computational basis."""
        for qubit, pauli in self.items():
            yield clifford_gate.SingleQubitCliffordGate.from_single_map(
                {pauli: (pauli_gates.Z, False)}
            )(qubit)
Returns single qubit operations to convert the qubits to the computational basis.
cirq-core/cirq/ops/pauli_string.py