GPU accelerated circuit simulation with Pennylane Lightning

Contents:

Text Link

The qBraid Lab GPU server provides access to an NVIDIA V100 GPU, and is tailored for researchers and developers requiring enhanced computational capabilities. This high-performance Lab instance allows users to leverage GPU accelerated circuit simulation, to explore quantum machine learning applications with GPU-enabled quantum gradients, and more. For exclusive early access, join our pre-launch waitlist.

The GPU Lab image comes pre-configured with the NVIDIA cuQuantum SDK GPU simulator library, and includes GPU integrations with other popular quantum software packages including Pennylane.

Launch GPU instance

Use the drop-down at the top of your account page to select the GPU Lab image, and then click Launch Lab. At the moment, the GPU Lab instance is in beta, so is restricted to users who have been granted early access (see pre-launch waitlist). For enterprises and organizations seeking early access, or for other individual inquiries, feel free to contact us directly.

Launch GPU Image

Setup Pennylane Lightning GPU environment

PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations. The PennyLane-Lightning-GPU plugin extends the Pennylane-Lightning state-vector simulator written in C++, and offloads to the NVIDIA cuQuantum SDK for GPU accelerated circuit simulation.

The lightning.gpu device is an extension of PennyLane’s built-in lightning.qubit device. It extends the CPU-focused Lightning simulator to run using the NVIDIA cuQuantum SDK, enabling GPU-accelerated simulation of quantum state-vector evolution. Install the environment on qBraid Lab.

Launch demo notebook

Navigate to the qbraid-lab-demos GitHub repository, and click the Launch on Lab button to clone repository into qBraid Lab account. The repository is now cloned into your qBraid files.

Benchmarking circuit evaluation

From the files in the left sidebar, double-click qbraid_labgpulightning_gpu_benchmark.ipynb to open the example notebook. Make sure your kernel is set to Python 3 [Lightning], see Switch notebook kernel.

In this notebook, we compare the execution time for the remote Braket SV1 device and the Pennylane lighting.gpu device. Our first step is to create a simple circuit:

Read more at https://docs.qbraid.com/en/latest/lab/gpu.html

Written By:

Kenneth Heitritter

Vice President of R&D

Blogs

All Categories
Collaborations
Hackathons
Research
Press Releases
Product
Blog Post Image
qBraid Alliance unites quantum computing across universities

Our first cohort of the qBraid Alliance, a partnership with student organizations at leading universities around the country.

Read more
Blog Post Image
qBraid: The Premier Destination for IBM Quantum Lab users

Coming from IBM Quantum Lab? Learn how to start using qBraid Lab

Read more
Blog Post Image
GPU accelerated circuit simulation with Pennylane Lightning

Accelerating hybrid workflows using Pennylane's embedded simulators with NVIDIA GPUs on qBraid Lab.

Read more
Blog Post Image
Unleashing the Power of NVIDIA CUDA Quantum with qBraid

As an early adopter of the NVIDIA GH200 Grace Hopper Superchip systems, qBraid provides unparalleled access to today’s most advanced computing technologies.

Read more
Blog Post Image
[Partner Post] QuEra : Exploring the Advantages of Cloud-Based Quantum Computing

Explore the advantages of cloud-based quantum computing and how it is revolutionizing research and development across various industries

Read more
Blog Post Image
[Partner Post] QuEra : Top Applications Of Quantum Computing for Enterprises

Discover how quantum computing is revolutionizing enterprises, from enhancing cybersecurity with quantum encryption to optimizing complex logistics and supply chain operations.

Read more
Blog Post Image
qBraid & QuEra are proud to announce access to Aquila on Amazon Braket via the qBraid platform

qBraid’s quantum computing platform adds access to 256 qubit neutral atom quantum computer, Aquila by QuEra.

Read more
Blog Post Image
Pulser, Pasqal’s quantum SDK for programming on neutral atom QC is available on qBraid Lab

The qBraid platform will allow users to play with Pulser in a matter of a few minutes.

Read more
Blog Post Image
qBraid partners with Quantum Algorithms Institute

qBraid and Quantum Algorithms Institute partner to accelerate the pace of quantum computing in British Columbia and beyond

Read more
Blog Post Image
qBraid Provides Custom Notebook Environment for Xanadu

As part of QHack, qBraid is providing the best quantum developer notebook environment experience for challengers.

Read more
Blog Post Image
HAQS Review by CQTech

From October 21st to November 5th of 2022, qBraid hosted HAQS, one of the most popular quantum computing events of the year, where participants from around the world worked on solving a total of five quantum computing challenges during the two weeks of the event.

Read more
Blog Post Image
QCHack highlights and the release of qBraid SDK

At this year's QCHack, participants attended a week filled with amazing talks, 1:1 sessions with academic and industry mentors, and a 24 hour hackathon hosted by Stanford, Yale and Berkeley.

Read more
Blog Post Image
NYUAD Hackathon for Social Good highlights

The potential of the field of quantum computing is so huge that everyone in the field cannot wait for all the promises that the field holds to become a reality.

Read more
Blog Post Image
qBraid's Wins 1st for the Best Quantum Algorithm Paper Award at IEEE

IEEE has awarded qBraid and its collaborators 1st place for the Best Paper Award in the Quantum Algorithm Track.

Read more
Blog Post Image
Quantum Computing for Flight Trajectory Optimization

qBraid's team used hybrid classical-quantum algorithms to determine the best flight path

Read more
Blog Post Image
Benchmarking variational quantum circuits with permutation symmetry

Read more
Blog Post Image
Quantum Power Flows: From Theory to Practice

Read more
Blog Post Image
Estimating truncation effects of quantum bosonic systems using sampling algorithms

Learn how classical sampling methods, such as Markov Chain Monte Carlo, can estimate truncation errors in simulating bosons on quantum computers, aiding resource assessment and result validation for quantum simulations, including applications in two-dimensional lattice scalar field theory.

Read more
Blog Post Image
Embedding Learning in Hybrid Quantum-Classical Neural Networks

Read more
qBraid Alliance unites quantum computing across universities
qBraid Alliance unites quantum computing across universities

Our first cohort of the qBraid Alliance, a partnership with student organizations at leading universities around the country.

Read more
qBraid: The Premier Destination for IBM Quantum Lab users
qBraid: The Premier Destination for IBM Quantum Lab users

Coming from IBM Quantum Lab? Learn how to start using qBraid Lab

Read more
qBraid leads component project in The Bloch Quantum Tech Hub
qBraid leads component project in The Bloch Quantum Tech Hub

The Bloch develops quantum technology solutions for society’s most pressing problems by accelerating industry adoption to drive research commercialization, catapulting US leadership in quantum information science and technology.

Read more
Announcing the Launch of the qBraid Connections Podcast
Announcing the Launch of the qBraid Connections Podcast

Our newest podcast series

Read more
qBraid Awarded Q4Bio Contract by Wellcome Leap
qBraid Awarded Q4Bio Contract by Wellcome Leap

qBraid will lead a team of researchers from MIT, UChicago, Argonne National Laboratory, and QuEra to develop quantum computing solutions for studying the interaction of metals and intrinsically disordered proteins.

Read more
OSU uses Intel Quantum SDK with qBraid
OSU uses Intel Quantum SDK with qBraid

OSU uses qBraid for accessing Intel Quantum SDK

Read more
qBraid Announces qBraid SDK Integrated with Amazon Braket on qBraid Lab
qBraid Announces qBraid SDK Integrated with Amazon Braket on qBraid Lab

qBraid provides agnostic connections to quantum computers and simulators thanks to Amazon Braket

Read more
Duality Quantum Accelerator Accepts Six Startups into Inaugural Cohort
Duality Quantum Accelerator Accepts Six Startups into Inaugural Cohort

Duality Quantum Accelerator Accepts Six Startups into Inaugural Cohort

Read more
qBraid's QuBes course endorsed by White House Q12 Initiative
qBraid's QuBes course endorsed by White House Q12 Initiative

Take the QuBes (Quantum Beginners) course to learn quantum computing.

Read more
MIT delta v: qBraid Makes Quantum Computing More Accessible
MIT delta v: qBraid Makes Quantum Computing More Accessible

qBraid aims to increase accessibility to, and interoperability amongst, quantum computing resources.

Read more
Blog Post Image
GPU accelerated circuit simulation with Pennylane Lightning

Accelerating hybrid workflows using Pennylane's embedded simulators with NVIDIA GPUs on qBraid Lab.

Read more
Blog Post Image
Installing python packages on qBraid

Here are 3 ways to install python packages on qBraid

Read more
Blog Post Image
Launch new Cirq v1.2.0 notebook in 4 clicks

How to install Cirq v1.2.0 environment on qBraid Lab

Read more
Blog Post Image
Build and Run your quantum circuit on four (quantum) devices with qBraid

Let qBraid help you take your first step into the quantum world!

Read more
Blog Post Image
General Access to Intel® Quantum SDK

Intel® Quantum SDK is generally available on qBraid Lab for Free with no installation necessary

Read more
Blog Post Image
[Partner Post] AWS Quantum Technologies Blog: Bernoulli line and the Bloch sphere - visualizing probability and quantum states

Dive into the intricate interplay of the Bernoulli line and the Bloch sphere, revealing profound geometric insights into quantum state dynamics.

Read more