Skip to content

Commit

Permalink
Merge branch 've/refresh_fms' into jm/fm_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmoutinho committed Oct 13, 2023
2 parents 1591d56 + 0f900c1 commit cb3f0d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qadence/constructors/feature_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import inspect
from collections.abc import Callable
from math import isclose, pi
from typing import Union

from sympy import Function, acos

Expand All @@ -15,7 +16,7 @@
logger = get_logger(__name__)

ROTATIONS = [RX, RY, RZ, PHASE]
RotationTypes = type[RX] | type[RY] | type[RZ] | type[PHASE]
RotationTypes = type[Union[RX | RY | RZ | PHASE]]


def _set_range(fm_type: BasisFeatureMap | type[Function] | str) -> tuple[float, float]:
Expand Down

0 comments on commit cb3f0d0

Please sign in to comment.