Skip to content

Commit

Permalink
from qiskit import QiskitError for lines 55 and 110 (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored and chriseclectic committed Jan 22, 2020
1 parent 632705e commit f6e84e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/benchmark/fusion_benchmarks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import math
from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit
from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit, QiskitError
from qiskit.compiler import assemble
from qiskit.providers.aer import QasmSimulator
from qiskit.quantum_info.random import random_unitary
Expand Down Expand Up @@ -107,4 +107,4 @@ def time_random_transform(self, num_qubits, fusion_enable):
qobj = assemble(circ)
result = self.backend.run(qobj, backend_options={'fusion_enable': fusion_enable}).result()
if result.status != 'COMPLETED':
raise QiskitError("Simulation failed. Status: " + result.status)
raise QiskitError("Simulation failed. Status: " + result.status)

0 comments on commit f6e84e9

Please sign in to comment.