Skip to content

Commit 467e5f4

Browse files
authored
Add type checking for DAGCircuit import
1 parent 2d5814a commit 467e5f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

qiskit/transpiler/passes/analysis/dag_longest_path.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
# Any modifications or derivative works of this code must retain this
1010
# copyright notice, and modified files need to carry a notice indicating
1111
# that they have been altered from the originals.
12+
1213
"""Return the longest path in a :class:`.DAGCircuit` as a list of DAGNodes."""
14+
1315
from typing import TYPE_CHECKING
1416

1517
if TYPE_CHECKING:

0 commit comments

Comments
 (0)