# Pennylane lightning.gpu, 28+ qubits quantum circuit

**URL:** <https://discuss.pennylane.ai/t/pennylane-lightning-gpu-28-qubits-quantum-circuit/2278>\
**Category:** PennyLane Help\
**Created:** [November 8, 2022, 12:48am UTC](https://discuss.pennylane.ai/t/pennylane-lightning-gpu-28-qubits-quantum-circuit/2278 "2022-11-08T00:48:10Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Jim](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@Jim](https://discuss.pennylane.ai/u/Jim)\
**Post date:** [March 9, 2023, 9:20pm UTC](https://discuss.pennylane.ai/t/pennylane-lightning-gpu-28-qubits-quantum-circuit/2278/15 "2023-03-09T21:20:44Z")

</div>

Hi @zj-lucky  
These two links would probably be helpful to you.

> [@Pennylane-lightning installation and error/warning](https://discuss.pennylane.ai/t/pennylane-lightning-installation-and-error-warning/2253):
>
> Hello, I tried to install and use lightning.qubit on a Linux cluster machine. I used this command to install pennylane-lightning: pip install pennylane-lightning When I run the following python code: import os os.environ[“OMP\_NUM\_THREADS”] = “2” import pennylane as qml dev = qml.device(“lightning.qubit”, wires=2) print(‘the end’) I encountered this warning: /path\_to\_conda/.conda/envs/penny3/lib/python3.11/site-packages/pennylane\_lightning/lightning\_qubit.py:707: UserWarning: Pre-compil…

> [@I have installed pennylane-lightning-gpu and cuquantum ,Do these commands still need to be installed?](https://discuss.pennylane.ai/t/i-have-installed-pennylane-lightning-gpu-and-cuquantum-do-these-commands-still-need-to-be-installed/1966):
>
> I have installed pennylane-lightning-gpu and cuquantum ,Do these commands still need to be installed? After I installed pennylane-lightning-gpu and cuquantum, set the dev = qml.device(‘lightning.gpu’, wires =8), Do I need any other operations? thanks

---

_[View the full topic](https://discuss.pennylane.ai/t/pennylane-lightning-gpu-28-qubits-quantum-circuit/2278)._
