PennyLaneAI / catalyst

A JIT compiler for hybrid quantum programs in PennyLane
https://docs.pennylane.ai/projects/catalyst
Apache License 2.0
109 stars 28 forks source link

Make shallow circuit demo Catalyst-Compatible #816

Closed tzunghanjuang closed 1 week ago

tzunghanjuang commented 1 month ago

Context: Convert Shallow Circuit Demo into a Catalyst-compatiable one.

Description of the Change: Mainly replace jax.jit with qjit. However, it introduces errors related to functools.partial (#814 and #815). Right now I circumvent the errors by avoiding using functools.partial. Will open the other PRs to fix the issues.

Related GitHub Issues: [sc-65901]

github-actions[bot] commented 1 month ago

Hello. You may have forgotten to update the changelog! Please edit doc/changelog.md on your branch with:

paul0403 commented 4 weeks ago

Just a note that codecov/project coverage failure usually means (a) the feature branch's new feature is not covered by a new test and/or (b) the feature branch is out of sync with main branch.