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

Running the following circuit: ``` def small_circ(): op = qml.T(0) op = qml.adjoint(op) op = qml.ctrl(op, control=1, control_values=[1]) return qml.state() ``` using `null.qubit` as the device executes a matrix operation...

bug

When lowering hamiltonians, we first create an aggregate value and then store this aggregate value to an alloca pointer. We can avoid creating the aggregate value and store individual fields...

enhancement
good first issue
chore

The following code reproduces the bug: ```python import pennylane as qml from catalyst import qjit, measure dev = qml.device("qrack.simulator", wires=3, shots=5) @qjit() @qml.qnode(dev, mcm_method="one-shot") def circuit(): qml.X(0) m_res = [measure(0),...

The following code ```python import pennylane as qml from catalyst import qjit, measure dev = qml.device("qrack.simulator", wires=3, shots=5) @qjit() @qml.qnode(dev, mcm_method="one-shot") def circuit(): qml.X(0) m_res = [measure(0), measure(1)] return [qml.sample(m)...

bug
duplicate

It's quite common to see workflows that make use of itertools related functionality, in particular - `itertools.product`, - `itertools.combinations`, and - `itertools.permutations`. Here, I focus only on `product` as this...

enhancement

**Context:** When calling `get_abstract_signature` from within `get_decomposed_signature` we are flattening/unflattening the PyTree one more time without need. In this sense `get_abstract_signature` is just a wrapper for the `shaped_abstractify` function that...

housecleaning

**Context:** * j[axlib stopped being tagged after version 0.4.32](https://github.com/jax-ml/jax/releases) * [mlir-hlo was removed in version 0.4.32](https://github.com/jax-ml/jax/blob/a39b6232be9b435fb3c8a82445708b7f8f71081d/CHANGELOG.md?plain=1#L482-L484) * [JAX's organization changed from google to jax-ml](https://github.com/jax-ml/jax/discussions/23319) **Description of the Change:** * take...

**Context:** During feature freeze, we need to modify some of the Github workflows on the release candidate branch. These changes should not be included in the daily sync that merged...

**Context:** We currently have an [action](https://github.com/PennyLaneAI/catalyst/blob/main/.github/workflows/build-nightly-release.yaml) which builds and uploads catalyst to TestPyPi. We would like to do the same for RC branches during the the feature freeze week for...

The following program fails: ```py from catalyst import * import pennylane as qml @qjit @qml.qnode(qml.device('lightning.qubit', wires=0)) def circuit(N: int): phase_divisors = jnp.arange(N) cumulative_phase = jnp.roll(phase_divisors, jnp.asarray(1)) return cumulative_phase print(circuit(2)) ```...

bug