Skip to content

Commit

Permalink
Allow any kwarg type. (#1500)
Browse files Browse the repository at this point in the history
Co-authored-by: yao-cqc <75305462+yao-cqc@users.noreply.github.com>
  • Loading branch information
cqc-alec and yao-cqc authored Jul 30, 2024
1 parent d47dc1c commit da1f491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytket/pytket/utils/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import Dict, List, Tuple, Union
from typing import Any, Dict, List, Tuple, Union

import numpy as np
from pytket.circuit import BasisOrder

StateTuple = Tuple[int, ...]
CountsDict = Dict[StateTuple, Union[int, float]]
KwargTypes = Union[int, float, str, None]
KwargTypes = Any


class BitPermuter:
Expand Down

0 comments on commit da1f491

Please sign in to comment.