def get_operations(
        self, indices: Sequence[LogicalIndex], qubits: Sequence[cirq.Qid]
    ) -> cirq.OP_TREE:
        """Gets the logical operations to apply to qubits."""
Gets the logical operations to apply to qubits.
cirq-core/cirq/contrib/acquaintance/executor.py