catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

A JIT compiler for hybrid quantum programs in PennyLane

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

One of the purposes of [the `QJITDevice` class](https://github.com/PennyLaneAI/catalyst/blob/659c69a878c218a7dd9c13e7309e916159deef11/frontend/catalyst/device/qjit_device.py#L295) is to compute the preprocessing transform program depending on the device capabilities, i.e. what qnode-level transforms (aka `qml.transfroms.blah`) need to happen before...

good first issue
chore

**Context:** Catalyst could not find itself in an astral-uv installation. **Description of the Change:** Search for "catalyst" cli executable on the system path. **Benefits:** It works in astral-uv **Possible Drawbacks:**...

external

**Description:** Using the OQC device is returning a compile error **Code Snippet:** ```python dev = qml.device("oqc.cloud", backend="lucy", shots=2012, wires=1) @qjit @qml.qnode(dev) def circuit(x: float): qml.RX(x, wires=0) return qml.counts(wires=[0]) ``` **Error:**...

bug

**Context:** Hackweek project **Description of the Change:** This change isolates the quantum **state evolution** logic into a separate function. Previously, the operations for applying gates and evolving the quantum state...

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

do-not-merge

**Context:** Currently, the decomposition pass assumes all qubits involved in a gate operation come from the same quantum register (qreg). However, gates may operate on qubits from different registers, which...

**Context:** Prototype PL's [DecompositionGraph](https://github.com/PennyLaneAI/pennylane/blob/f818dc209742602b20e9a05472af35ed45dd0929/pennylane/decomposition/decomposition_graph.py#L131) in C++ for integration with the Catalyst core compiler **Benefits:** - Construct and solve the decomposition graph in MLIR instead of Python - Avoid Python/JAX overheads...

**Context:** Introduced a new option `rulesPath` in the `DecomposeLoweringPass` to specify the path for external gate decomposition rules. This work addresses the limitation that MLIR lacks a linker like LLVM,...

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

**Context:** Hackweek project **Description of the Change:** ```mlir builtin.module { func.func @qnode_main(%shots : i64, %num_qubits : i64, %angle : f64) -> tensor { %result = quantum.call_execution(%shots, %num_qubits, %angle) {callee =...