Traceback (most recent call last):


 "/home/travis/build/Qiskit/qiskit-terra/test/randomized/test_transpiler_equivalence.py", line 230, in equivalent_transpile

xpiled_qc = transpile(self.qc, backend=backend, optimization_level=opt_level)


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/compiler/transpile.py", line 214, in transpile

circuits = parallel_map(_transpile_circuit, list(zip(circuits, transpile_args)))


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/tools/parallel.py", line 106, in parallel_map

return [task(values[0], *task_args, **task_kwargs)]


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/compiler/transpile.py", line 312, in _transpile_circuit

output_name=transpile_config['output_name'])


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/transpiler/passmanager.py", line 214, in run

return self._run_single_circuit(circuits, output_name, callback)


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/transpiler/passmanager.py", line 277, in _run_single_circuit

result = running_passmanager.run(circuit, output_name=output_name, callback=callback)


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/transpiler/runningpassmanager.py", line 115, in run

dag = self._do_pass(pass_, dag, passset.options)


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/transpiler/runningpassmanager.py", line 145, in _do_pass

dag = self._run_this_pass(pass_, dag)


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/transpiler/runningpassmanager.py", line 157, in _run_this_pass

new_dag = pass_.run(dag)


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/transpiler/passes/optimization/consolidate_blocks.py", line 128, in run

unitary = UnitaryGate(Operator(subcirc))
# simulates the circuit


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/quantum_info/operators/operator.py", line 86, in __init__

self._data = self._init_instruction(data).data


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/quantum_info/operators/operator.py", line 490, in _init_instruction

instruction = instruction.to_instruction()


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/circuit/quantumcircuit.py", line 819, in to_instruction

return circuit_to_instruction(self, parameter_map)


 "/home/travis/build/Qiskit/qiskit-terra/qiskit/converters/circuit_to_instruction.py", line 119, in circuit_to_instruction

if reg.size == c.size:
UnboundLocalError: local variable 'c' referenced before assignment


Traceback (most recent call last):

 "/usr/lib/python2.6/dist-packages/salt/minion.py", line 428, in _thread_return
ret['return'] = func(*args, **kwargs)

 "/usr/lib/python2.6/dist-packages/salt/modules/monit.py", line 91, in summary
resource, name, status = parts[0].strip(), parts[1], parts[2].strip()
IndexError: list index out of range