from typing import Tuple


def get_wires_of_gate(gate: Tuple):
    """Get index bit that gate act on

    Args:
        gate (qiskit.QuantumGate): Quantum gate

    Returns:
        numpy arrray: list of index bits
    """
    list_wire = []
    for register in gate[1]:
        list_wire.append(register.index)
    return list_wire