def permutation(self) -> dict[int, int]:
        """permutation = {i: s[i]} indicates that the i-th element is mapped to
        the s[i]-th element."""
permutation = {i: s[i]} indicates that the i-th element is mapped to
        the s[i]-th element.
cirq-core/cirq/contrib/acquaintance/permutation.py