PennyLaneAI/catalyst

incompatible with cuda-quantum 0.8.0

yitchen-tim opened this issue · 0 comments

Issue description

Pennylane catalyst does not support the last cuda-quantum version (0.8.0) which includes fixes on several GPU and cuda issues.

  • Expected behavior: (What you expect to happen)
    Running example code
import pennylane as qml
dev = qml.device("softwareq.qpp", wires=2)

@qml.qjit(compiler="cuda_quantum")
@qml.qnode(dev)
def circuit(x):
    qml.RX(x[0], wires=0)
    qml.RY(x[1], wires=1)
    qml.CNOT(wires=[0, 1])
    return qml.expval(qml.Y(0))

throws error ModuleNotFoundError: Compiling with incompatible version cuda_quantum==0.8.0. Please install compatible version cuda_quantum==0.6.0.

  • Actual behavior: (What actually happens)
    Return the correct expectation value.

  • Reproduces how often: (What percentage of the time does it reproduce?)
    Every time.

  • System information: (post the output of import pennylane as qml; qml.about())
    Name: PennyLane
    Version: 0.38.0
    Summary: PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
    Home-page: https://github.com/PennyLaneAI/pennylane
    Author:
    Author-email:
    License: Apache License 2.0
    Location: /opt/conda/lib/python3.10/site-packages
    Requires: appdirs, autograd, autoray, cachetools, networkx, numpy, packaging, pennylane-lightning, requests, rustworkx, scipy, toml, typing-extensions
    Required-by: amazon-braket-pennylane-plugin, PennyLane-Catalyst, PennyLane_Lightning, PennyLane_Lightning_GPU

Platform info: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.31
Python version: 3.10.13
Numpy version: 1.26.4
Scipy version: 1.12.0
Installed devices:

  • lightning.qubit (PennyLane_Lightning-0.38.0)
  • default.clifford (PennyLane-0.38.0)
  • default.gaussian (PennyLane-0.38.0)
  • default.mixed (PennyLane-0.38.0)
  • default.qubit (PennyLane-0.38.0)
  • default.qubit.autograd (PennyLane-0.38.0)
  • default.qubit.jax (PennyLane-0.38.0)
  • default.qubit.legacy (PennyLane-0.38.0)
  • default.qubit.tf (PennyLane-0.38.0)
  • default.qubit.torch (PennyLane-0.38.0)
  • default.qutrit (PennyLane-0.38.0)
  • default.qutrit.mixed (PennyLane-0.38.0)
  • default.tensor (PennyLane-0.38.0)
  • null.qubit (PennyLane-0.38.0)
  • nvidia.custatevec (PennyLane-Catalyst-0.8.0)
  • nvidia.cutensornet (PennyLane-Catalyst-0.8.0)
  • oqc.cloud (PennyLane-Catalyst-0.8.0)
  • softwareq.qpp (PennyLane-Catalyst-0.8.0)
  • lightning.gpu (PennyLane_Lightning_GPU-0.35.1)
  • braket.aws.ahs (amazon-braket-pennylane-plugin-1.26.0)
  • braket.aws.qubit (amazon-braket-pennylane-plugin-1.26.0)
  • braket.local.ahs (amazon-braket-pennylane-plugin-1.26.0)
  • braket.local.qubit (amazon-braket-pennylane-plugin-1.26.0)