catalyst
catalyst copied to clipboard
A JIT compiler for hybrid quantum programs in PennyLane
### Before submitting Please complete the following checklist when submitting a PR: - [ ] All new functions and code must be clearly commented and documented. - [ ] Ensure...
**Context:** The async lowering will add a puts and a message about values in an error state. We should remove them as we now return an exception. Not really a...
```python from catalyst import qjit, measure, cond import pennylane as qml @qml.qnode(qml.device("lightning.qubit", wires=1, shots=100)) def circuit(): return qml.sample() print(circuit().shape) print(qjit(circuit)().shape) ``` ```bash $ python test.py (100,) (100, 1) ```
### Before submitting Please complete the following checklist when submitting a PR: - [ ] All new functions and code must be clearly commented and documented. - [ ] Ensure...
**Context:** Change the OSX Deployment version to 12, for more backwards compatibility. **Description of the Change:** This PR updates the OSX Deployment target version to a lower value than 14....
The async lowering will add a `puts` and a message about values in an error state. We should remove them as we now return an exception. Not really a bug,...
Catalyst support for certain JAX functions relies on a BLAS runtime library being available, specifically the OpenBLAS library shipped with SciPy. The relevant source code is located in the Python...
We currently do not support this case.
The Projector observable is not currently supported in Catalyst. ``` python dev = qml.device('lightning.qubit', wires=2) @qml.qjit @qml.qnode(dev) def circuit(): qml.PauliX(0) return qml.expval(qml.Projector([0, 0], wires=[0, 1])) >>> circuit() NotImplementedError: Observable Projector(array([0,...
**Context:** With the change in #531, we can now modify the CUDA `@qjit` decorator to inherit from the main `catalyst.qjit` decorator. This enables the functionality provided by the main QJIT...