Skip to content

Commit

Permalink
add types
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmoutinho committed Feb 12, 2024
1 parent ea40611 commit 8dd3f30
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions qadence_libs/types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from __future__ import annotations

from qadence.types import StrEnum

__all__ = ["BasisSet", "ReuploadScaling"]


class BasisSet(StrEnum):
"""Basis set for feature maps."""

FOURIER = "Fourier"
"""Fourier basis set."""
CHEBYSHEV = "Chebyshev"
"""Chebyshev polynomials of the first kind."""


class ReuploadScaling(StrEnum):
"""Scaling for data reuploads in feature maps."""

CONSTANT = "Constant"
"""Constant scaling."""
TOWER = "Tower"
"""Linearly increasing scaling."""
EXP = "Exponential"
"""Exponentially increasing scaling."""

0 comments on commit 8dd3f30

Please sign in to comment.