Skip to content

Commit

Permalink
Removing type ignores from imports
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloAndresCQ committed Jun 4, 2024
1 parent b2d65a4 commit 53162e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
import numpy as np
from sympy import Expr # type: ignore
from numpy.typing import NDArray
from pytket.circuit import Circuit # type: ignore
from pytket.circuit import Circuit
from pytket.extensions.cutensornet.general import set_logger
from pytket.extensions.cutensornet.structured_state import CuTensorNetHandle
from pytket.utils.operators import QubitPauliOperator # type: ignore
from pytket.utils.operators import QubitPauliOperator

try:
import cuquantum as cq # type: ignore
Expand Down
14 changes: 7 additions & 7 deletions tests/test_general_state_operator_expval.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
import random
import numpy as np
import pytest
from pytket.circuit import ToffoliBox, Qubit # type: ignore
from pytket.passes import DecomposeBoxes, CnXPairwiseDecomposition # type: ignore
from pytket.transform import Transform # type: ignore
from pytket.pauli import QubitPauliString, Pauli # type: ignore
from pytket.utils.operators import QubitPauliOperator # type: ignore
from pytket.circuit import Circuit # type: ignore
from pytket.extensions.cutensornet.general_state import ( # type: ignore
from pytket.circuit import ToffoliBox, Qubit
from pytket.passes import DecomposeBoxes, CnXPairwiseDecomposition
from pytket.transform import Transform
from pytket.pauli import QubitPauliString, Pauli
from pytket.utils.operators import QubitPauliOperator
from pytket.circuit import Circuit
from pytket.extensions.cutensornet.general_state import (
GeneralState,
GeneralOperator,
GeneralExpectationValue,
Expand Down

0 comments on commit 53162e4

Please sign in to comment.