Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GroverOperator segfaults on Lightning-Kokkos with +15 wires #937

Open
maliasadi opened this issue Oct 8, 2024 · 0 comments
Open

GroverOperator segfaults on Lightning-Kokkos with +15 wires #937

maliasadi opened this issue Oct 8, 2024 · 0 comments

Comments

@maliasadi
Copy link
Member

maliasadi commented Oct 8, 2024

Issue description

Simulating qml.templates.GroverOperator with Lightning-Kokkos could not be scaled similar to Lighnting-Qubit.

The following code will be killed due to memory segfaults:

import pennylane as qml

num_wires = 15

@qml.qnode(qml.device("lightning.qubit", wires=num_wires))
def circuit():
    qml.templates.GroverOperator(wires=range(num_wires))
    return qml.probs()

circuit()
  • System information:
Name: PennyLane
Version: 0.38.0
Required-by: PennyLane-qiskit, PennyLane_Lightning, PennyLane_Lightning_Kokkos, qml_benchmarks

Platform info:           Linux-6.8.0-45-generic-x86_64-with-glibc2.35
Python version:          3.11.8
Numpy version:           1.26.4
Scipy version:           1.14.1
Installed devices:
- lightning.qubit (PennyLane_Lightning-0.39.0.dev40)
- lightning.kokkos (PennyLane_Lightning_Kokkos-0.39.0.dev40)
- default.mixed (PennyLane-0.38.0)
- default.qubit (PennyLane-0.38.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant