Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Transpile.reverse for QuantumCircuit and AbstractBlock #45

Closed
wants to merge 57 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
6377bc9
constructors
jpmoutinho Oct 2, 2023
383c6f1
Digital decomposition, operations and Braket backend
Oct 2, 2023
15c475e
Add measurements.
RolandMacDoland Oct 2, 2023
cd533af
Merge branch 'main' into jm/constructors
jpmoutinho Oct 2, 2023
9c28a60
Merge pull request #11 from pasqal-io/jm/constructors
jpmoutinho Oct 2, 2023
0a63666
Merge pull request #12 from pasqal-io/md/contribution
madagra Oct 2, 2023
f2a491f
dominik files
dominikandreasseitz Oct 2, 2023
bae5688
pyqtorch; draw; models; transpile
nmheim Oct 2, 2023
e6835e9
Merge pull request #13 from pasqal-io/ds/dominik
dominikandreasseitz Oct 2, 2023
145ef6b
Added infrastructure and build files
Oct 2, 2023
b8ee23a
Cleanup
dominikandreasseitz Oct 2, 2023
943dece
block_to_tensor
dominikandreasseitz Oct 2, 2023
9192e8b
matrixblock
dominikandreasseitz Oct 2, 2023
bc48393
add utils.py file
Oct 2, 2023
c2b6b6f
new draw; more blocks
nmheim Oct 2, 2023
35163e5
Merge pull request #14 from pasqal-io/em/blocks_utils
Doomsk Oct 2, 2023
dd4e621
Add README. (#15)
RolandMacDoland Oct 2, 2023
cf5b3fb
remaining backends files
dominikandreasseitz Oct 2, 2023
560b3c2
Rg/add readme (#16)
RolandMacDoland Oct 2, 2023
1f1c65d
gpsr algorithm
vytautas-a Oct 2, 2023
73825cf
pulser backend
vytautas-a Oct 2, 2023
a85c79b
draw requirements; install instructions
nmheim Oct 2, 2023
c1c4461
Merge branch 'main' of github.com:pasqal-io/qadence
nmheim Oct 2, 2023
c36f97b
Remove refs to private repo.
RolandMacDoland Oct 2, 2023
d73b9a1
Create a coverage report as XML file.
RolandMacDoland Oct 2, 2023
7735a80
Added main utility modules
Oct 2, 2023
6d785c7
Added main utility modules
Oct 2, 2023
e87857c
Update pyproject.toml
jpmoutinho Oct 2, 2023
14ea1e5
added co-author
vytautas-a Oct 2, 2023
24120f7
Added abstract block
Oct 2, 2023
a147753
Merge branch 'main' of github.com:pasqal-io/qadence
dominikandreasseitz Oct 2, 2023
5469129
Add pytorchwrapper and embedding.
dominikandreasseitz Oct 2, 2023
9599fd5
Add errors module. (#17)
RolandMacDoland Oct 2, 2023
5223ce7
Lint on pushes to main.
RolandMacDoland Oct 2, 2023
cd6d3fa
Adjust to new drawing module
dominikandreasseitz Oct 2, 2023
d4ea303
Block transpile fill_identities
dominikandreasseitz Oct 2, 2023
b7deb6a
Remove drawing from abstractblock
dominikandreasseitz Oct 2, 2023
34cadc9
Remove drawing from analogblock
dominikandreasseitz Oct 2, 2023
0d87bda
Remove drawing from compositeblock
dominikandreasseitz Oct 2, 2023
746aa0d
Remove drawing from primitiveblock
dominikandreasseitz Oct 2, 2023
3083768
fix test_circuit
dominikandreasseitz Oct 2, 2023
a25cc4e
Cleanup files
dominikandreasseitz Oct 2, 2023
ae6db09
Rename namespace
dominikandreasseitz Oct 2, 2023
d799bb0
Update pre-commits. (#18)
RolandMacDoland Oct 2, 2023
3a30973
Docs, examples, correct expectation shape (#31)
nmheim Oct 3, 2023
2a3a40d
don't exclude py files in docs forlder
nmheim Oct 5, 2023
8e55e01
Docs suggestions. (#33)
RolandMacDoland Oct 6, 2023
bc1bd5e
Update README and `docs/index.md` (#38)
nmheim Oct 6, 2023
85c30fa
Changing Pulser backend defaults and improved documentation (#37)
madagra Oct 6, 2023
f04a3e9
Add transpile.reverse for adjoint method
dominikandreasseitz Oct 9, 2023
4d5317d
add file
dominikandreasseitz Oct 9, 2023
6c9b6f9
recurse
dominikandreasseitz Oct 9, 2023
4be8ddd
add tests
dominikandreasseitz Oct 9, 2023
2b6b6b9
rm inplace
dominikandreasseitz Oct 9, 2023
1816393
tag block
dominikandreasseitz Oct 9, 2023
0ab0cd9
more tests
dominikandreasseitz Oct 9, 2023
28a9ea2
dont test fn with itself
dominikandreasseitz Oct 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
constructors
  • Loading branch information
jpmoutinho committed Oct 2, 2023
commit 6377bc9a75bf6763fade825b1684fdd019712833
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