catalyst
catalyst copied to clipboard
A JIT compiler for hybrid quantum programs in PennyLane
### Context Catalyst has recently added support for executing quantum programs in NVIDIA's CUDA Quantum platform. For example, in the following code, we see two identical quantum programs. Both programs...
Or alternatively, a base class should implement `map_wires`.
Different versions of CUDA Quantum have different instruction support. For example, version 0.6 added support for CSWAP. Let's keep the CUDA Quantum device support pinned to a minimum version for...
1. Add support for `kwargs` 2. `static_args` : This is a bit funny since we are interpreting the function and not compiling. 3. `abstracted_axes` 4. Test and add support for...
### Context Catalyst has recently added support for executing quantum programs in NVIDIA's CUDA Quantum platform. For example, in the following code, we see two identical quantum programs. Both programs...
In order to implement CUDA, I had to override some functionality in Catalyst. ```python with Patcher( (catalyst.pennylane_extensions.QFunc, "extract_backend_info", cudaq_backend_info), (qml.QNode, "__call__", QFunc.__call__), ): ``` I think third party compilers might...
This appears to be caused by `cudaq` linking against some libraries at `import` time. These libraries have some symbols set to be externally visible. Lightning kokkos uses some of this...
In this PR we enable the Jax dynamic API in the Catalyst quantum control flow primitives: while-loops, for-loops, conditionals in both quantum and classical tracing modes. An extended description of...
#### Issue description Description of the issue - Circuit drawing fails when using mid circuit measurment. * *Expected behavior:* (What you expect to happen) Draw the circuit * *Actual behavior:*...