Skip to content

Commit

Permalink
Merge pull request #11 from pasqal-io/jm/constructors
Browse files Browse the repository at this point in the history
Add constructors
  • Loading branch information
jpmoutinho authored Oct 2, 2023
2 parents 15c475e + cd533af commit 9c28a60
Show file tree
Hide file tree
Showing 10 changed files with 1,595 additions and 0 deletions.
41 changes: 41 additions & 0 deletions qadence/constructors/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# flake8: noqa

from .feature_maps import (
feature_map,
chebyshev_feature_map,
fourier_feature_map,
tower_feature_map,
exp_fourier_feature_map,
)

from .ansatze import hea, build_qnn

from .daqc import daqc_transform

from .hamiltonians import (
hamiltonian_factory,
ising_hamiltonian,
single_z,
total_magnetization,
zz_hamiltonian,
)

from .qft import qft

# Modules to be automatically added to the qadence namespace
__all__ = [
"feature_map",
"chebyshev_feature_map",
"fourier_feature_map",
"tower_feature_map",
"exp_fourier_feature_map",
"hea",
"build_qnn",
"hamiltonian_factory",
"ising_hamiltonian",
"single_z",
"total_magnetization",
"zz_hamiltonian",
"qft",
"daqc_transform",
]
Loading

0 comments on commit 9c28a60

Please sign in to comment.