PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.38k stars 606 forks source link

[Capture] add `eval_jaxpr` method to `DefaultQubit` #6594

Closed albi3ro closed 5 days ago

albi3ro commented 1 week ago

Context:

Follows on from #6328 . This integrates the new class with DefaultQubit.

Description of the Change:

Implements DefaultQubit.eval_jaxpr with the DefaultQubitInterpreter class.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

[sc-78504]

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.45%. Comparing base (c9af833) to head (e9beec7). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6594 +/- ## ======================================== Coverage 99.45% 99.45% ======================================== Files 450 451 +1 Lines 42088 42198 +110 ======================================== + Hits 41857 41967 +110 Misses 231 231 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: