PennyLane
Install
Install
  1. Blog/
  2. High-Performance Computing/
  3. Throttling up aerospace applications with Rolls-Royce, AMD, and PennyLane on Lux

November 23, 2026

Throttling up aerospace applications with Rolls-Royce, AMD, and PennyLane on Lux

David Ren

David Ren

Kalman Szenes

Kalman Szenes

Ali Asadi

Ali Asadi

Joseph Lee

Joseph Lee

Jay Soni

Jay Soni

Leigh Lapworth

Leigh Lapworth

Jose M Monsalve Diaz

Jose M Monsalve Diaz

PennyLane and Catalyst can now simulate the largest block encoding of a CFD-related matrix yet to our knowledge: a 2048 x 2048 mesh 2D lid-driven cavity. Read on to find out how.

New aircraft engines are designed with computational fluid dynamics (CFD), where each simulation can be thought of as repeatedly solving very large systems of linear equations. Better and larger simulations accelerate the design of next generation lower-emissions aircraft engines for Rolls-Royce. However, simulating an entire engine, with the trillions of variables necessary to mesh the domain, is significantly beyond what classical supercomputers can do.

Quantum computing could help; each additional qubit doubles the mesh size stored in a quantum computer. Quantum linear solvers based on the Quantum Singular Value Transformation (QSVT) are a leading candidate algorithm to speed up CFD on quantum computers. Whether this beats classical solvers at application scale, though, is unknown. Until fault-tolerant hardware exists, the only way to find out is to build these quantum algorithms at increasingly realistic sizes and verify on classical supercomputers.

Back in March, Xanadu, Rolls-Royce, and AMD collaborated to simulate the largest CFD-related quantum algorithm: QSVT for a 2D lid-driven cavity with a 256 x 256 mesh, executed on a single AMD MI300X GPU in under 2 hours. From discussions with Rolls-Royce and using PennyLane's resource estimation tools, we identified the most expensive part of a QSVT solver to be the block encoding.

Today, we're announcing that PennyLane, Catalyst, and Lightning are now able to classically simulate end-to-end the largest block encoding of a CFD-related matrix yet to our knowledge: a 2048 x 2048 2D lid-driven cavity mesh.

Achieving this scale required:

  • Algorithmic advances to reduce the number of non-Clifford gates by over 220x compared to March;
  • Extending Catalyst to compile complex and hybrid programs of this size in under a minute;
  • A run on Lux, a new supercomputer at Oak Ridge National Laboratory (ORNL), distributing the 18 TB quantum state vector simulation efficiently across 64 AMD Instinct MI355X GPUs (8 nodes).
Throttling up aerospace applications with Rolls-Royce, AMD, and PennyLane on Lux.

Read on to learn just how we achieved this, and what it all means for quantum computing applied to aircraft engine design.

Contents

  • Algorithmic improvements
  • Compilation improvements
  • Executing on Lux
  • Conclusion

Algorithmic improvements

Example of QSVT applied to matrix-vector operations
Figure 1: Matrix-vector multiplication example executed as a block encoding applied to a state preparation for a 128 x 128 mesh 2D lid-driven cavity compared against the classical result.

By running PennyLane's resource estimation tools, we (a) identified that the majority of the cost of March's QSVT algorithm lay in block encoding the non-unitary matrix A in the linear system of equations Ax=b and (b) estimated that scaling up March's algorithm to handle a 2048 x 2048 mesh would cost around 21 million gates per block encoding. Inverting a matrix with QSVT typically requires d applications of A's block encoding, so any saving in the block encoding saves d times as much in QSVT. Therefore, we focus on reducing the cost of block encoding. Figure 1 presents an example of the quantum execution of Ax.

We found that over 99% of the gates in each block encoding came from loading the entries of A with one multiplexed RY per diagonal and adders to shift each diagonal into place. For a fault-tolerant quantum computer using a standard Clifford+T gate set, each RY must be synthesised into a sequence of (many) expensive T gates. To minimize expense, we need to make the block encoding with fewer gates in total and ideally fewer T and non-Clifford gates.

Our recent paper presented one way to load data more efficiently by exploiting the matrix's structure. It combined multiple adders into one to apply all diagonal shifts at once. In doing so, the per-diagonal RYs merged into a larger multiplexed rotation: an RY whose angle depends on both the diagonal and the row.

A multiplexed rotation can be built in two ways. The direct way decomposes it into many RY gates, and each of those must be synthesised into T gates. We instead implement it as a phase gradient QROM. This applies angles with a phase gradient register and an adder, so no angles need to be synthesised.

The QROM still needs to be decomposed into gates, and the typical choices are unary iteration and SelectSwap for fault-tolerant hardware. With a SelectSwap QROM decomposition applied to the 2048 x 2048 mesh, we could reduce the T gate count by over 600x compared to the RY version. The catch is that T gates are saved by spending many more qubits. Instead, for our 40-qubit simulations, we decompose the QROM as a multiplexer with zero work wires.

Loading matrix entries with phase gradient QROM now relies on a sequence of Pauli X gates interleaved with multi-controlled X gates. Exactly how this is implemented matters; one such block encoding could cost about 1 billion gates. But if we merge addresses that share a common prefix, load matrix entries in Gray-code order so only the controls that change are bitflipped, and load the diagonal's most common value first and then only change the exceptions, we reduce the block encoding gate count by over 1300x to 0.7 million gates via PennyLane's compiler-native JAX/capture-based decomposition system.

Moreover, we're able to reduce the multi-controlled gate count to just 13% of the block encoding instead of the 99%+ seen in March. The remainder are mostly Pauli X gates. With Pauli frame tracking on fault-tolerant hardware, Pauli X gates are tracked in classical software and never physically applied, so they cost zero runtime and add zero errors. Non-Clifford gate counts were reduced by 220x compared to a scaled up version of March's algorithm, compared as fairly as possible given the evolution of the algorithm. Decomposing down to a Clifford + T gate set with gridsynth or mixed fallback, we estimate the T gate reduction to be 450x–570x mostly thanks to cutting the number of multicontrolled rotations.

Compilation improvements

Even with all these algorithmic improvements, the PennyLane program is far too large in qubits and gates for Python to run. So, we compiled it with Catalyst.

Back in March, Catalyst unrolled the complex nested for loops inside the block encodings into separate gates, so compile time grew with circuit size. That ruled out large quantum programs such as QSVT for matrix inversion, especially for high numbers of phase angles.

Now, we extended Catalyst to preserve loops, branches, and subroutines as structured control flow down to MLIR. By calling the @qp.qjit Python decorator with capture enabled, the QSVT loop is compiled only once for any array of phase angles, not per phase angle. The block encodings are also only compiled once.

A deeper circuit costs no extra compilation: in Figure 2, you can see that Catalyst can compile QSVT with 100,000 phase angles in about the same time as for 2 phase angles and only added 7 lines of MLIR as you can see in Figure 3. Catalyst compiled the 40-qubit, 2048 x 2048 mesh block encoding in 5 seconds. Even at 100 qubits, compiling to MLIR takes about a minute on a single AMD EPYC 9R45 CPU.

Time for Catalyst compilation to MLIR for QSVT and block encoding circuits as a function of the number of qubits and phase angles averaged over 5 runs
Figure 2: Catalyst compilation time to MLIR for a QSVT and all of its block encodings as a function of the qubit count and the number of QSVT phase angles. Compilation times averaged over 5 independent runs on an AMD EPYC 9R45 CPU.

Number of lines of MLIR for QSVT as a function of the number of qubits and phase angles
Figure 3: MLIR size for `qp.QSVT` from 40 to 100 qubits and 2 to 100,000 QSVT phase angles.

Executing on Lux

To run the largest-ever CFD-related block encoding simulation, we needed classical compute with massive memory. A 40-qubit state vector holds 2^{40} complex amplitudes, about 18 TB of memory. No single GPU comes close to storing this, so the state must be split across many. Lux, the new AMD-powered SI/HPC supercomputer at ORNL, has more than 4,000 AMD Instinct MI355X GPUs, each with 288 GB of HBM3E and 8 TB/s of memory bandwidth. AMD ran our workflow on one rack: 64 GPUs with 18.4 TB of combined memory.

To run across nodes, we added MPI-based multi-node support to lightning.amdgpu, which runs programs compiled by Catalyst, and brought it up on the new GPUs. Algorithmically, reordering the qubits also reduced cross-node communication volume by 90%, helping to efficiently distribute the simulation across multiple nodes. Gates on qubits stored locally run on each GPU independently; only gates on the remaining qubits need data exchanged between GPUs.

Before the full run, we measured scaling on a 35-qubit case (128 x 128 mesh). Going from 2 to 64 GPUs made it 30x faster, over 90% of ideal (Figure 4). Runtime also grows linearly with the number of block encoding calls, which is the ideal scaling.

The 2048 x 2048 mesh, 0.7-million gate block encoding ran in under 18 hours. That's longer than March's 2 hours because each gate now updates 2^{34} amplitudes per GPU instead of 2^{20} in total, about 16,000x more work per gate.

Runtime and efficiency of a 35-qubit block encoding as a function of the number of GPUs
Figure 4: Strong scaling (left) and parallel efficiency (right) for a 35-qubit block encoding (128 x 128 mesh) on 2 to 64 MI355X GPUs. Dashed line: ideal scaling. Efficiency is measured relative to the smallest GPU count in each curve.

Conclusion

Today, we have demonstrated more than just the largest CFD-related block encoding ever simulated on GPUs. Rather, we have constructed an end-to-end framework to (a) identify exactly which part of your PennyLane quantum algorithm costs the most, (b) ruthlessly optimise that cost by making it easy to try out algorithmic ideas, and (c) verify your large-scale quantum program is correct by quickly compiling with Catalyst and executing with Lightning before executing on a fault-tolerant quantum computer.

While Lux provides the large-scale classical compute necessary for simulating increasingly complex quantum workloads, Xanadu and AMD have been also developing Backline to provide the ultra-low-latency couplings between classical processors and quantum hardware.

We'll continue building out PennyLane and Catalyst to handle the massive quantum programs of the fault-tolerant quantum computer (FTQC) era applicable to any application. We'll also keep battletesting where quantum computing is useful, guided by Rolls-Royce and others, on cutting-edge AMD hardware.

To keep in touch with the latest developments, sign up for the PennyLane newsletter, follow us on LinkedIn or X, and check out Lux.

About the authors

David Ren
David Ren

David Ren

David is a Quantum Scientist at Xanadu. He holds a Ph.D. from the University of California, Los Angeles (UCLA). Fun fact: He believes in one-way cycling.

Kalman Szenes
Kalman Szenes

Kalman Szenes

Kalman is a 2026 Xanadu summer resident on the Performance team and a PhD candidate in Quantum Chemistry at ETH Zurich focusing on tensor network methods.

Ali Asadi
Ali Asadi

Ali Asadi

Ali is a scientific computing tinkerer, crafting the compilers and simulators that make classical-quantum applications run fast. Off the clock, he's at a piano or on a squash court.

Joseph Lee
Joseph Lee

Joseph Lee

Joseph is a physicist and software developer. At Xanadu, he leads the performance team and makes PennyLane go zoom.

Jay Soni
Jay Soni

Jay Soni

Jay completed his BSc. in Mathematical Physics from the University of Waterloo and currently works as a Quantum Software Developer at Xanadu. Fun fact, you will often find him sipping on a Tim Horton's IceCapp while he is working.

Leigh Lapworth
Leigh Lapworth

Leigh Lapworth

Leigh leads the Quantum Computing applications development at Rolls-Royce and has a background in classical supercomputing and Computational Fluid Dynamics.

Jose M Monsalve Diaz
Jose M Monsalve Diaz

Jose M Monsalve Diaz

Pathfinding Research Development @ AMD

Last modified: November 23, 2026

Related Blog Posts

Never miss a milestone

Get the latest quantum updates delivered to your inbox.

Join the list
PennyLane

PennyLane is an open-source quantum software platform for quantum computing, quantum machine learning, and quantum chemistry. Create meaningful quantum algorithms, from inspiration to implementation.

Created with ❤️ by Xanadu.

Research

  • Research

  • Performance

  • Hardware and simulators

  • Demos library

  • Compilation hub

  • Quantum datasets

Education

  • Teach

  • Learn

  • Codebook

  • Coding challenges

  • Videos

  • Glossary

Software

  • Install

  • Features

  • PennyLane documentation

  • Catalyst documentation

  • Development guide

  • How-to guides

  • API

  • GitHub


Xanadu

© Copyright 2026 | Xanadu | All rights reserved

TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc.

Privacy policyTerms of serviceCookies policyCode of conduct