def test_gate(): tg = Gate("TEST", qubits=[Qubit(1), Qubit(2)], params=[]) assert tg.out() == "TEST 1 2"
def test_gate(): tg = Gate("TEST", qubits=(DirectQubit(1), DirectQubit(2)), params=[]) assert tg.out() == "TEST 1 2"