catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

A JIT compiler for hybrid quantum programs in PennyLane

Results 282 catalyst issues
Sort by recently updated
recently updated
newest added

#### Issue description Description of the issue - include code snippets and screenshots here if relevant. You may use the following template below * *Expected behavior:* (What you expect to...

**Context** We would like to run a small experiment of adding an [OpenQASM](https://docs.quantum.ibm.com/build/introduction-to-qasm) dialect in [MLIR](https://mlir.llvm.org/). Having a native representation of the OpenQASM standard available in MLIR would be beneficial...

I know this is on the backloag, but just adding it here. One comment from Ali is that scipy has changed symbols, so symbols that we are using from scipy...

chore

This may lead to garbage memory being used or overwriting memory. I think this can be caught doing static type checking in MLIR. Probably during the lowering of backprop op.

bug

Catalyst grad and jacobian use `argnum` instead of `argnums`. We should use `argnums` like JAX. Specially since `grad` and `jacobian` fall back to `jax.grad` and `jax.jacobian`.

good first issue
upstream

**Requirements** The `mitigate_with_zne` function is modified to take a `folding` argument: ```python mitigate_with_zne(f, *, scale_factors: jax.Array, folding: str, deg) ``` where `folding` accepts a string corresponding to: - `global` (current...

compiler

Work in progress on eliminating large unitary matrices from circuits just because the control operator was used. The `Controlled` -> `QubitUnitary` decomposition was implemented way back when Catalyst only had...

We have a cache `mlir_fn_cache` that is placed just before lowering JAXPR to MLIR. I also want to add other caches. It would be nice to have a single function...

good first issue
frontend

#### Issue description The cuda_quantum device uses the old device API, and as such can't use the newer updates to validation, decomposition, and other tape preprocessing. #### Additional information When...

#### Issue description Description of the issue - include code snippets and screenshots here if relevant. You may use the following template below * *Expected behavior:* (What you expect to...