Skip to content

Commit

Permalink
Again
Browse files Browse the repository at this point in the history
  • Loading branch information
wshanks committed Oct 18, 2023
1 parent 0154b75 commit 91db71e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# TODO: remove old path after we stop supporting the relevant version of Qiskit
try:
from qiskit.circuit.library.hamiltonian_gate import HamiltonianGate
except ImportError:
except ModuleNotFoundError:
from qiskit.extensions.hamiltonian_gate import HamiltonianGate

from qiskit_aer import AerSimulator
Expand Down

0 comments on commit 91db71e

Please sign in to comment.