QHack Results Highlight Quantum Computing Applications and Tools on GPUs

May 18, 2023

May 18, 2023 — QHack is an educational conference and the world’s largest quantum machine learning (QML) hackathon. This year at QHack 2023, 2,850 individuals from 105 different countries competed for 8 days to build the most innovative solutions for quantum computing applications using NVIDIA quantum technology.

The event was organized by Xanadu, with NVIDIA sponsoring the QHack 2023 NVIDIA Challenge. As part of the challenge, the top teams received access to the NVIDIA Quantum Platform, consisting of NVIDIA quantum software. This included the NVIDIA cuQuantum SDK and an early-access version of NVIDIA CUDA Quantum, now available in open source. Both of these tools are optimized for the most powerful NVIDIA GPUs in the world—the same GPUs used to train ChatGPT.

QHack NVIDIA Challenge

In support of the NVIDIA Challenge, Cyxtera provided three DGX A100 Stations located around the globe, and Run:ai provided the user management and orchestration interface. The top 72 teams were given access to a single NVIDIA A100 80 GB GPU for 6 hours a day.

A few days into the event, teams were asked to submit their projects in progress for consideration for additional power-ups. At this time, 36 of these teams received private beta access to CUDA Quantum. Additionally, the top 24 teams received a second NVIDIA A100 80 GB GPU.

Participants in the NVIDIA Challenge built 23 incredible projects, including, but not limited to:

  • Quantum mixed reality
  • QML for weather forecasting
  • Genomic error correction and resequencing
  • Machine learning (ML) to design better variational quantum algorithms
  • Simulating the quantum dynamics of a space-time wormhole

These projects were graded on innovative ideas, scientific rigor, and capabilities with GPU-based simulators and workflows.

Winning Projects Underscore Quantum Computing Use Cases

The top three winning projects of the NVIDIA Challenge (detailed below) were awarded to the most rigorous scientific explorations, backed by good performance optimizations and presentations within the time allowed.

First place: Accelerating Noisy Algorithm Research with PennyLane-Lightning and NVIDIA cuQuantum SDK

Team MFC, consisting of Lion Frangoulis, Cristian Emiliano Godínez Ramírez, Emily Haworth, and Aaron Sander, won first place in the NVIDIA Challenge. Team MFC’s project, Accelerating Noisy Algorithm Research with PennyLane-Lightning and NVIDIA cuQuantum SDK addresses the computational complexity of noisy simulations with the PennyLane-Lightning-GPU plugin and the NVIDIA cuQuantum SDK.

This work is critically important for anyone interested in running algorithms on real quantum processing units (QPUs). By understanding noise sources present in the target system, developers may be able to design ansatzes to mitigate that noise, or even take advantage of it.

Team MFC’s work relies upon Trotter-Suzuki decomposition to approximate Hamiltonian evolution. The noise was modeled by injecting a depolarizing noise channel after each CNOT operation. Next, the team explored the effects of this noise on finding the ground state of the transverse field Heisenberg model using the Variational Quantum Eigensolver (VQE).

As one might expect, high levels of noise led to unstable solutions. But most interestingly, intermediate levels of noise can lead to a faster and more accurate convergence, compared to the noiseless run shown in Figure 1.

Figure 1. Convergence to the ground state energy with Variational Quantum Eigensolver on the PennyLane-Lightning-GPU plugin accelerated by cuQuantum.

Team MFC took their process one step further and compared PennyLane Lightning Qubit (CPU-state vector simulator) with the PennyLane-Lightning-GPU (GPU-state vector simulator backed by cuQuantum) with the PennyLane default.mixed simulator backend by the native density matrix backend.

In an effort to make an apples-to-apples comparison, the team explored the effect of varying the number of trajectories on the fidelity of the stochastic noise algorithm. Their exploration shows that using roughly 200 trajectories is good enough. MFC then implemented benchmarks of the various backends of varying qubit counts. It became clear that PennyLane-Lightning-GPU is ideally tuned for larger simulations, outperforming the CPU simulator above 15 qubits.

Figure 2. Comparison of the PennyLane default.mixed density matrix backend with PennyLane Lightning Qubit and PennyLane-Lightning-GPU (backed by cuQuantum), with 200 trajectories for each.

This project demonstrates that the simulation of noisy quantum circuits is an invaluable tool for exploring hardware-efficient ansatzes for NISQ devices.

Second place: Quantum-Enhanced Support Vector Machines for Stellar Classification

Louis Chen, Henry Makhanov, and Felix Xu of Team Durchmusterung earned second place for their exploration of Quantum-Enhanced Support Vector Machines for Stellar Classification.

Stellar classification is a technique based on stellar spectroscopy data used to classify stars. Each spectral type relies on temperature, and luminosity and can be further divided into luminosity classes. Chemical compositions are also included. Due to the nature of the data, human classification is difficult to standardize, which is why ML models have been broadly employed for the task.

Team Durchmusterung explored how these state-of-the-art methods compare to a Quantum Support Vector Machine (QSVM). The Hertzsprung-Russell diagram is a common tool for studying stellar evolution and their classifications. See Figure 3 to get an idea of how complex, and sometimes subjective, this process can be when done by humans.

Figure 3. The Hertzsprung-Russell diagram is a common, but subjective, tool used for stellar classification.

While quantum SVMs are promising, these methods still require classical preprocessing and postprocessing. In order to enable the quantum kernel methods for this ML model, feature engineering is required to reduce the dimensionality of the dataset and extract certain features that may negatively impact the computational load or model accuracy.

After the dataset had been prepared for quantum kernel learning, Durchmusterung explored its effectiveness compared to classical SVMs across multiple metrics like accuracy, sensitivity, and specificity. The goal of this approach is to determine if the quantum kernel can compete with the classical methods under investigation.

It is clear that the model has competitive accuracy, while consistently outperforming the specificity of the classical models investigated. The sensitivity of the quantum model was also slightly more robust than the classical model, suggesting that this method could be useful at scale.

Figure 4. Quantum Support Vector Machine speedup for cuQuantum running on NVIDIA A100 GPUs compared to M1 CPUs for various data sizes.

Durchmusterung also explored the other classical models for benchmarking, such as k-nearest neighbors (KNN) and logistic regression. They found that while these methods succeed for binary classification achieving accuracies of roughly 86%, for multi-labeled classification the accuracy drops to roughly 78%. The quantum kernel model is able to achieve an accuracy of approximately 81%.

Overall, this exploration is a testament to the team’s hard work and the value the NVIDIA Quantum Platform provides to QML and quantum circuit simulation.

Third place: Reinforcement Learning Quantum Local Search

The third-place prize for the NVIDIA Challenge at QHack 2023 went to TaipeiQC for Reinforcement Learning Quantum Local Search. The two-person team, consisting of Chen-Yu Liu and Ya-Chi Lu, considered quantum local search (QLS), which leverages small QPUs to solve combinatorial optimization problems with some random starting point. They examined whether reinforcement learning (RL) can improve the initial selection process such that the quantum local search performs better.

Combinatorial optimization problems are very common. Routing optimization (such as the traveling salesman problem) and resource allocation (such as portfolio optimization) are great examples of combinatorial optimization problems. There are many approaches to attempting to solve these problems with quantum processors and QLS is one of those approaches.

TaipeiQC chose to explore 32, 64, and 128 variable combinatorial Ising problems, each with a five-variable solver. Leveraging a Proximal Policy Optimization (PPO) approach for training their agents, TaipeiQC generated a problem graph and historical configuration data to help the Policy Network understand the state in which it can take action.

And the team did not stop there—they also explored Importance Weighted Actor-Learner Architectures (IMPALA) for training.

Figure 5. Trained on the NVIDIA A100 80 GB GPU, this reinforcement learning agent shows that, as expected, less complex problems are easier to learn more quickly.

Higher mean rewards are better, and for all of these cases, the RL-QLS approach performs better than QLS, with better approximation ratios in every case (Figure 6). Applying ML techniques to design better quantum algorithms is an interesting intersection between ML and quantum computing.

As the TaipeiQC project shows, there is real promise in applying these techniques to quantum algorithm design. NVIDIA GPUs and the NVIDIA Quantum Platform are critical for workloads like these.

Figure 6. The reinforcement learning agent quickly outperforms the quantum local search implementation for all three problem sizes, showing the value that ML can provide to quantum computing algorithms.

NVIDIA Quantum Computing

We are excited to see what follow-on work will be done with all the QHack 2023 projects. The technology NVIDIA provides is key to accelerating algorithm development and implementations like these. Faster throughput enables researchers and developers to innovate at a scale and speed not possible before.

To learn more about quantum computing applications and the technology accessible to participants during QHack 2023, check out NVIDIA cuQuantum and NVIDIA CUDA Quantum.


Source: Tom Lubowe and Jin-Sung Kim, Nvidia

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industy updates delivered to you every week!

ASC23: Application Results

June 2, 2023

The ASC23 organizers put together a slate of fiendishly difficult applications for the students this year. The apps were a mix of traditional HPC packages, like WRF-Hydro and FVCOM, plus machine learning centric programs Read more…

Q&A with Marco Pistoia, an HPCwire Person to Watch in 2023

June 2, 2023

HPCwire Person to Watch Marco Pistoia wears a lot of hats at JPMorgan Chase & Co.: managing director, distinguished engineer, head of global technology applied research and head of quantum computing. That work with J Read more…

HPC Career Notes: June 2023 Edition

June 1, 2023

In this monthly feature, we’ll keep you up-to-date on the latest career developments for individuals in the high-performance computing community. Whether it’s a promotion, new company hire, or even an accolade, we’ Read more…

Intersect360: HPC Market ‘Returning to Stable Growth’

June 1, 2023

The folks at Intersect360 Research released their latest report and market update just ahead of ISC 2023, which was held in Hamburg, Germany, last week. The headline: “We’re returning to stable growth,” per Addison Read more…

Lori Diachin to Lead the Exascale Computing Project as It Nears Final Milestones

May 31, 2023

The end goal is in sight for the multi-institutional Exascale Computing Project (ECP), which launched in 2016 with a mandate from the Department of Energy (DOE) and National Nuclear Security Administration (NNSA) to achi Read more…

AWS Solution Channel

Shutterstock 1493175377

Introducing GPU health checks in AWS ParallelCluster 3.6

GPU failures are relatively rare but when they do occur, they can have severe consequences for HPC and deep learning tasks. For example, they can disrupt long-running simulations and distributed training jobs. Read more…

 

Shutterstock 1415788655

New Thoughts on Leveraging Cloud for Advanced AI

Artificial intelligence (AI) is becoming critical to many operations within companies. As the use and sophistication of AI grow, there is a new focus on the infrastructure requirements to produce results fast and efficiently. Read more…

ASC23: LINPACK Results

May 30, 2023

With ISC23 now in the rearview mirror, let’s get back to the results from the ASC23 Student Cluster Competition. In our last articles, we looked at the competition and applications, plus introduced the teams, now it’ Read more…

ASC23: Application Results

June 2, 2023

The ASC23 organizers put together a slate of fiendishly difficult applications for the students this year. The apps were a mix of traditional HPC packages, like Read more…

Intersect360: HPC Market ‘Returning to Stable Growth’

June 1, 2023

The folks at Intersect360 Research released their latest report and market update just ahead of ISC 2023, which was held in Hamburg, Germany, last week. The hea Read more…

Lori Diachin to Lead the Exascale Computing Project as It Nears Final Milestones

May 31, 2023

The end goal is in sight for the multi-institutional Exascale Computing Project (ECP), which launched in 2016 with a mandate from the Department of Energy (DOE) Read more…

At ISC, Sustainable Computing Leaders Discuss HPC’s Energy Crossroads

May 30, 2023

In the wake of SC22 last year, HPCwire wrote that “the conference’s eyes had shifted to carbon emissions and energy intensity” rather than the historical Read more…

Nvidia Announces Four Supercomputers, with Two in Taiwan

May 29, 2023

At the Computex event in Taipei this week, Nvidia announced four new systems equipped with its Grace- and Hopper-generation hardware, including two in Taiwan. T Read more…

Nvidia to Offer a ‘1 Exaflops’ AI Supercomputer with 256 Grace Hopper Superchips

May 28, 2023

We in HPC sometimes roll our eyes at the term “AI supercomputer,” but a new system from Nvidia might live up to the moniker: the DGX GH200 AI supercomputer. Read more…

Closing ISC Keynote by Sterling and Suarez Looks Backward and Forward

May 25, 2023

ISC’s closing keynote this year was given jointly by a pair of distinguished HPC leaders, Thomas Sterling of Indiana University and Estela Suarez of Jülich S Read more…

The Grand Challenge of Simulating Nuclear Fusion: An Overview with UKAEA’s Rob Akers

May 25, 2023

As HPC and AI continue to rapidly advance, the alluring vision of nuclear fusion and its endless zero-carbon, low-radioactivity energy is the sparkle in many a Read more…

CORNELL I-WAY DEMONSTRATION PITS PARASITE AGAINST VICTIM

October 6, 1995

Ithaca, NY --Visitors to this year's Supercomputing '95 (SC'95) conference will witness a life-and-death struggle between parasite and victim, using virtual Read more…

SGI POWERS VIRTUAL OPERATING ROOM USED IN SURGEON TRAINING

October 6, 1995

Surgery simulations to date have largely been created through the development of dedicated applications requiring considerable programming and computer graphi Read more…

U.S. Will Relax Export Restrictions on Supercomputers

October 6, 1995

New York, NY -- U.S. President Bill Clinton has announced that he will definitely relax restrictions on exports of high-performance computers, giving a boost Read more…

Dutch HPC Center Will Have 20 GFlop, 76-Node SP2 Online by 1996

October 6, 1995

Amsterdam, the Netherlands -- SARA, (Stichting Academisch Rekencentrum Amsterdam), Academic Computing Services of Amsterdam recently announced that it has pur Read more…

Cray Delivers J916 Compact Supercomputer to Solvay Chemical

October 6, 1995

Eagan, Minn. -- Cray Research Inc. has delivered a Cray J916 low-cost compact supercomputer and Cray's UniChem client/server computational chemistry software Read more…

NEC Laboratory Reviews First Year of Cooperative Projects

October 6, 1995

Sankt Augustin, Germany -- NEC C&C (Computers and Communication) Research Laboratory at the GMD Technopark has wrapped up its first year of operation. Read more…

Sun and Sybase Say SQL Server 11 Benchmarks at 4544.60 tpmC

October 6, 1995

Mountain View, Calif. -- Sun Microsystems, Inc. and Sybase, Inc. recently announced the first benchmark results for SQL Server 11. The result represents a n Read more…

New Study Says Parallel Processing Market Will Reach $14B in 1999

October 6, 1995

Mountain View, Calif. -- A study by the Palo Alto Management Group (PAMG) indicates the market for parallel processing systems will increase at more than 4 Read more…

Leading Solution Providers

Contributors

CORNELL I-WAY DEMONSTRATION PITS PARASITE AGAINST VICTIM

October 6, 1995

Ithaca, NY --Visitors to this year's Supercomputing '95 (SC'95) conference will witness a life-and-death struggle between parasite and victim, using virtual Read more…

SGI POWERS VIRTUAL OPERATING ROOM USED IN SURGEON TRAINING

October 6, 1995

Surgery simulations to date have largely been created through the development of dedicated applications requiring considerable programming and computer graphi Read more…

U.S. Will Relax Export Restrictions on Supercomputers

October 6, 1995

New York, NY -- U.S. President Bill Clinton has announced that he will definitely relax restrictions on exports of high-performance computers, giving a boost Read more…

Dutch HPC Center Will Have 20 GFlop, 76-Node SP2 Online by 1996

October 6, 1995

Amsterdam, the Netherlands -- SARA, (Stichting Academisch Rekencentrum Amsterdam), Academic Computing Services of Amsterdam recently announced that it has pur Read more…

Cray Delivers J916 Compact Supercomputer to Solvay Chemical

October 6, 1995

Eagan, Minn. -- Cray Research Inc. has delivered a Cray J916 low-cost compact supercomputer and Cray's UniChem client/server computational chemistry software Read more…

NEC Laboratory Reviews First Year of Cooperative Projects

October 6, 1995

Sankt Augustin, Germany -- NEC C&C (Computers and Communication) Research Laboratory at the GMD Technopark has wrapped up its first year of operation. Read more…

Sun and Sybase Say SQL Server 11 Benchmarks at 4544.60 tpmC

October 6, 1995

Mountain View, Calif. -- Sun Microsystems, Inc. and Sybase, Inc. recently announced the first benchmark results for SQL Server 11. The result represents a n Read more…

New Study Says Parallel Processing Market Will Reach $14B in 1999

October 6, 1995

Mountain View, Calif. -- A study by the Palo Alto Management Group (PAMG) indicates the market for parallel processing systems will increase at more than 4 Read more…

ISC 2023 Booth Videos

Cornelis Networks @ ISC23
Dell Technologies @ ISC23
Intel @ ISC23
Lenovo @ ISC23
ISC23 Playlist
  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire