Skip to content

Commit 5c44af7

Browse files
authored
Import DAGCircuit for type checking
Add import statement for DAGCircuit in num_tensor_factors.py
1 parent 1090259 commit 5c44af7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

qiskit/transpiler/passes/analysis/num_tensor_factors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# that they have been altered from the originals.
1212

1313
"""Calculate the number of tensor factors of a DAG circuit."""
14+
1415
from typing import TYPE_CHECKING
1516

1617
if TYPE_CHECKING:

0 commit comments

Comments
 (0)