PennyLaneAI / catalyst

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

Add test for qjit applied to a function decorated with cond #938

Closed rauletorresc closed 1 month ago

rauletorresc commented 1 month ago

Context: qjit should work when applied to a function decorated with cond.

Description of the Change: None of relevance, just a test. The functionality was already implemented at https://github.com/PennyLaneAI/catalyst/pull/835.

Benefits: Feature test.

[sc-60305)

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 97.92%. Comparing base (1f2afab) to head (c407e92). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #938 +/- ## ========================================== - Coverage 99.95% 97.92% -2.03% ========================================== Files 20 71 +51 Lines 4131 10255 +6124 Branches 198 1163 +965 ========================================== + Hits 4129 10042 +5913 - Misses 2 169 +167 - Partials 0 44 +44 ```

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