Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add from_plxpr conversion function (#837)
**Context:** This PR ports the [pennylane PR #5883](PennyLaneAI/pennylane#5883) to catalyst and renames it `from_plxpr`. Adding this code to catalyst solves many of the dependency and testing issues that arise from placing this code in the pennylane resposity. In the future, if we move more of the catalyst frontend into pennylane, this function may move there as well. **Description of the Change:** Adds a function for converting pennylane variant jaxpr into catalyst variant jaxpr. **Benefits:** Opens up the ability to have improved program capture directly integrated with catalyst. **Possible Drawbacks:** **Related GitHub Issues:** [sc-61537] --------- Co-authored-by: David Wierichs <[email protected]> Co-authored-by: David Ittah <[email protected]>
- Loading branch information