<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def identity_gate(qubits: Union[int, Qubits]) -> Gate: """Returns the K-qubit identity gate"""

    _, qubits = qubits_count_tuple(qubits)
    return I(*qubits)