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

[Bug] Dynamic shape arrays and reshaping #908

Open josh146 opened 1 month ago

josh146 commented 1 month ago

It turns out that there are several bugs involved in attempting to reshape dynamic shaped arrays. In particular:

_Originally posted by @josh146 in https://github.com/PennyLaneAI/catalyst/pull/904#discussion_r1667077464_