Skip to content

Commit

Permalink
Update ibm_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdilkes committed Nov 7, 2024
1 parent d0d2f6f commit 70ca5b0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pytket/extensions/qiskit/backends/ibm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@

import itertools
from collections.abc import Collection, Sequence
from typing import Optional, list, tuple, Callable
from typing import Callable, Optional

import numpy as np

from qiskit.providers import JobStatus # type: ignore
from qiskit.transpiler import PassManager, CouplingMap # type: ignore
from qiskit.transpiler.preset_passmanagers.builtin_plugins import SabreLayoutPassManager # type: ignore
from qiskit.transpiler.passmanager_config import PassManagerConfig # type: ignore

from pytket.circuit import Circuit, Node
from pytket.architecture import Architecture
from pytket.backends.status import StatusEnum
from pytket.transform import Transform
from pytket.circuit import Circuit, Node
from pytket.passes import RebaseTket
from pytket.transform import Transform
from qiskit.providers import JobStatus # type: ignore
from qiskit.transpiler import CouplingMap, PassManager # type: ignore
from qiskit.transpiler.passmanager_config import PassManagerConfig # type: ignore
from qiskit.transpiler.preset_passmanagers.builtin_plugins import (
SabreLayoutPassManager, # type: ignore
)

from ..qiskit_convert import tk_to_qiskit, qiskit_to_tk

from ..qiskit_convert import qiskit_to_tk, tk_to_qiskit

_STATUS_MAP = {
JobStatus.CANCELLED: StatusEnum.CANCELLED,
Expand Down

0 comments on commit 70ca5b0

Please sign in to comment.