def test_schedule_multi(self):
    'Test scheduling multiple circuits at once.'
    q = QuantumRegister(2)
    c = ClassicalRegister(2)
    qc0 = QuantumCircuit(q, c)
    qc0.cx(q[0], q[1])
    qc1 = QuantumCircuit(q, c)
    qc1.cx(q[0], q[1])
    schedules = schedule([qc0, qc1], self.backend)
    expected_insts = schedule(qc0, self.backend).instructions
    self.assertEqual(schedules[0].instructions, expected_insts)
Test scheduling multiple circuits at once.
def test_schedule_multi(self):
    
    q = QuantumRegister(2)
    c = ClassicalRegister(2)
    qc0 = QuantumCircuit(q, c)
    qc0.cx(q[0], q[1])
    qc1 = QuantumCircuit(q, c)
    qc1.cx(q[0], q[1])
    schedules = schedule([qc0, qc1], self.backend)
    expected_insts = schedule(qc0, self.backend).instructions
    self.assertEqual(schedules[0].instructions, expected_insts)