<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def map_gate(gate: Gate, args: Sequence[Qubits]) -> Circuit: """Applies the same gate all input qubits in the argument list. H(0) H(1) H(2) """

    circ = Circuit()

    for qubits in args:
        circ += gate.relabel(qubits)

    return circ