Skip to content

Commit

Permalink
Remove running pass manager
Browse files Browse the repository at this point in the history
  • Loading branch information
nkanazawa1989 committed Dec 20, 2023
1 parent eb70de5 commit e02f6f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 181 deletions.
7 changes: 0 additions & 7 deletions qiskit/transpiler/passmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from .basepasses import BasePass
from .exceptions import TranspilerError
from .layout import TranspileLayout
from .runningpassmanager import RunningPassManager

_CircuitsT = Union[List[QuantumCircuit], QuantumCircuit]

Expand Down Expand Up @@ -231,12 +230,6 @@ def __add__(self, other):
# When other is not identical type, _pass_sets is also evaluated by self.append.
return new_passmanager

def to_flow_controller(self) -> RunningPassManager:
# For backward compatibility.
# This method will be resolved to the base class and return FlowControllerLinear
flatten_tasks = list(self._flatten_tasks(self._tasks))
return RunningPassManager(flatten_tasks)

# pylint: disable=arguments-differ
def run(
self,
Expand Down
174 changes: 0 additions & 174 deletions qiskit/transpiler/runningpassmanager.py

This file was deleted.

0 comments on commit e02f6f5

Please sign in to comment.