<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_each(self, *targets: raw_types.Qid) -> op_tree.OP_TREE: """Returns a list of operations apply this gate to each of the targets. Args: *targets: The qubits to apply this gate to. Returns: Operations applying this gate to the target qubits. Raises: ValueError if targets are not instances of Qid. """

        return [self.on(target) for target in targets]