Gets the logical operations to apply to qubits.

def get_operations(self,
                       indices: Sequence[LogicalIndex],
                       qubits: Sequence[ops.Qid]
                       ) -> ops.OP_TREE:
        """Gets the logical operations to apply to qubits."""