catalyst
catalyst copied to clipboard
A JIT compiler for hybrid quantum programs in PennyLane
**Context:** In preparation for quantum subroutines, I found the need to compile the following function: ```python @catalyst.qjit(target="mlir") def identity(x : AbstractQreg()): return x print(identity.mlir) ``` However, one small impediment was...
**Context:** More changes in the frontend for lowering **Description of the Change:** Adds pytype to aval mapping for abstract quantum registers and qubits. Also fixes functions lowering abstract quantum registers...
**Context:** This is just a proof of concept, additional work is needed. What is this PR addressing? For this simple piece of code: ```python import numpy as np import pennylane...