Skip to content

Commit

Permalink
old style typing required by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yaelbh committed Dec 9, 2024
1 parent afd0851 commit 5519c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_ibm_runtime/transpiler/passes/basis/fold_rzz_angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

"""Pass to wrap Rzz gate angle in calibrated range of 0-pi/2."""

from typing import Tuple, Optional, Union
from typing import Tuple, Optional, Union, List
from math import pi
from operator import mod

Expand Down Expand Up @@ -46,7 +46,7 @@ class FoldRzzAngle(TransformationPass):
with angle of arbitrary real numbers.
"""

def __init__(self, target: Optional[Union[Target, list[str]]] = None):
def __init__(self, target: Optional[Union[Target, List[str]]] = None):
"""
Args:
target - either a target or only a list of basis gates, either way it can be checked
Expand Down

0 comments on commit 5519c77

Please sign in to comment.