Skip to content

Commit

Permalink
Merge branch 'main' into remove-backendv1
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 authored Mar 5, 2025
2 parents aece36e + e0b12d1 commit a640131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/ibm_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
)
from .utils import local_to_utc

if Version(qiskit_version) == "2":
if Version(qiskit_version).major >= 2:
from qiskit.result import MeasLevel, MeasReturnType
else:
from qiskit.qobj.utils import MeasLevel, MeasReturnType
Expand Down
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/utils/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from qiskit import QuantumCircuit, __version__ as qiskit_version

if Version(qiskit_version) == "2":
if Version(qiskit_version).major >= 2:
from qiskit.result import MeasLevel, MeasReturnType
else:
from qiskit.qobj.utils import MeasLevel, MeasReturnType
Expand Down

0 comments on commit a640131

Please sign in to comment.