PennyLaneAI / catalyst

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

`catalyst.pipeline` fixes #1240

Closed paul0403 closed 3 weeks ago

paul0403 commented 3 weeks ago

Context: Two fixes on catalyst.passes.pipeline:

  1. Moved to top level, so now also available as catalyst.pipeline
  2. No need to specify the argument name, i.e. catalyst.pipeline({...})(qnode_func) now works (as opposed to catalyst.pipeline(pass_pipeline={...})(qnode_func) )
github-actions[bot] commented 3 weeks ago

Hello. You may have forgotten to update the changelog! Please edit doc/releases/changelog-dev.md on your branch with: