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

**Context:** Inlining creates large functions. Some passes have a complexity that grows faster than O(n) in the order of operations on functions. So large functions means larger compilation time. **Description...

do-not-merge

**Context:** In the current design, the pass pipeline is attached to the compiler. With this, adding device-specific pipelines for a custom device is challenging as we would have to redefine...

Users reported the following: > > With these changes, you should now be able to use make all and build the standalone plugin. > > I find that all of...

documentation
chore

`custom_call`s will have the following syntax: ``` %0 = catalyst.custom_call fn("lapack_dgesdd") (%arg0, %arg1) {number_original_arg = array} : (memref, memref) -> memref ``` This number_original_arg has no reason to be an...

good first issue

In PennyLane, `qml.matrix(gate())` is used to compute the matrix representation of gates without being added to the tape. Catalyst captures these operations too. ```python import pennylane as qml import catalyst...

**Context:** Currently, the ion decomposition pass can only decompose the following set of gates: { `CNOT`, `Hadamard`, `PauliZ`, `PhaseShift`, `RZ`, `T`, `S` } To the universal gate set used by...

OQD

We currently do not have such passes, but imagine a pass that performs `--PauliX--` --> `--RX(pi/2)--RX(pi/2)--` This is a valid abstract circuit transformation; however, from a device perspective, it implicitly...

enhancement
compiler

Workflows involving `QubitUnitary` cannot be differentiated because [lightning does not support taking their gradients](https://github.com/PennyLaneAI/pennylane-lightning/blob/master/pennylane_lightning/lightning_qubit/lightning_qubit.toml#L48). As a workaround, we can try to decompose the `QubitUnitary` first. However, this also fails. We...

#### 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...

chore

### Before submitting Please complete the following checklist when submitting a PR: - [ ] All new functions and code must be clearly commented and documented. - [ ] Ensure...