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 tests for qjit applied to a function decorated with for_loop or while_loop #942

Closed rauletorresc closed 1 month ago

rauletorresc commented 1 month ago

Context: qjit should work when applied to a function decorated with for_loop or while_loop.

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]