update QuState.apply_gate to take a list of qubits to apply the gate to