catalyst
catalyst copied to clipboard
A JIT compiler for hybrid quantum programs in PennyLane
**Context:** **Description of the Change:** **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:**
Internal issue with `DataView` iterator increment operator when size along at least one axis is zero
We discovered this issue with the `DataView` iterator increment operator when putting together #1598: https://github.com/PennyLaneAI/catalyst/blob/46d839e57b09b125a7baf25a02b19d7268901426/runtime/include/DataView.hpp#L56-L72 See the comment [here](https://github.com/PennyLaneAI/catalyst/pull/1598#issuecomment-2779178046) for more details. In short, when the size along at least...
**Context:** When using `qjit` with `verbose=True`, the CLI command that is printed is not reproducible if simply copied and pasted into terminal. **Description of the Change:** wrapped the pipeline string...
The following test fails and the reason for failing is the use of an argument of the main qjitted function inside the qnode. ```python @qjit def workflow(x, y): dev =...
The following program raises an error: ```py from catalyst import * import jax.numpy as jnp import pennylane as qml @qml.qnode(qml.device('lightning.qubit', wires=1)) def circuit(n): a = jnp.zeros((n,), dtype=int) return a @qjit...
**Context:** When tracing the program with `experimental_capture=True`, PennyLane is not able to detect if `qjit` is being used or not, but it should be. **Description of the Change:** * Update...
After #1588 and #1589, there are a few issues still present in the build systems. This issue lists them here to not forget: - [ ] [mlir] test ASAN config...
We discovered this issue when attempting to QJIT-compile a circuit implementing Grover's algorithm. Consider the following PennyLane program that applies the [qml.FlipSign](https://docs.pennylane.ai/en/stable/code/api/pennylane.FlipSign.html) operator: ```python import numpy as np import pennylane...
## Issue description ### Expected behavior When following the installation guide on https://docs.pennylane.ai/projects/catalyst/en/stable/dev/installation.html#minimal-building-from-source-guide for MacOS, after the step `make test` all tests should pass. ### Actual behavior * After executing...
We discovered this issue when attempting to QJIT-compile a circuit implementing Grover's algorithm. Consider the following PennyLane program that applies the [qml.ctrl](https://docs.pennylane.ai/en/stable/code/api/pennylane.ctrl.html) function to a Z gate, which results in...