A new method for calculating angles within Quantum Signal Processing (QSP) and Quantum Singular Value Transformation (QSVT) circuits is now approximately seven times faster than existing iterative solvers for high-degree polynomials. Oumarou Oumarou, a Quantum Scientist at Covestro, collaborated with PennyLane to develop this iterative-optax approach, contributing the feature to the open-source community, the company says. “With PennyLane, we want users to have tools readily available when they need them,” PennyLane explains, as QSP and QSVT are expected to underpin key algorithms for future Fault Tolerant Quantum Computers in fields like quantum chemistry and condensed matter physics.
QSP/QSVT Frameworks Underpin Quantum Algorithms
The improvement stems from using the L-BFGS optimizer from Optax, allowing for Just-In-Time compilation of the optimization loop itself, a feature not present in earlier implementations. Applications span diverse fields, including quantum chemistry, quantum physics and condensed matter physics, highlighting the broad potential impact of accelerating these core algorithmic primitives. PennyLane’s implementation allows users to access this functionality through the qp. and qp. Performance benchmarks demonstrate the advantage of the iterative Optax solver, with the difference becoming increasingly pronounced as polynomial degrees exceed 1000.
Detailed testing involved averaging runtimes over multiple random polynomials to ensure robustness and account for variations in input data, according to the company. The team’s published code provides a clear demonstration of the performance gains, showing a significant reduction in computation time for higher-degree polynomials, the company says.
The availability of this optimized method within the open-source PennyLane platform is intended to empower researchers and accelerate progress in quantum algorithm development, enabling more complex simulations and explorations of quantum phenomena. This work represents a practical step toward realizing the full potential of QSP and QSVT in the era of scalable quantum computation.
Iterative-Optax Method Accelerates Angle Computation
The iterative-optax method, now integrated into PennyLane, delivers a performance boost for quantum computations by using the L-BFGS optimizer from Optax. The “iterative-optax” option uses the L-BFGS optimizer from Optax, which allows the optimization loop itself to be JIT-compiled. Beyond angle calculation, the iterative-optax method streamlines the preparation of QSVT circuits within PennyLane using the qp. qsvt function. Users can specify the Hamiltonian and select “iterative-optax” as the angle solver, enabling faster circuit construction.
It is available on qp. and qp.qsvt, offering a powerful way to scale QSP and QSVT workflows for polynomials with degrees over 1000. The team encourages users to test the method on their own workflows and share their results.
7x Speedup Achieved with JIT and Optax Benchmarks
Performance benchmarks reveal an approximately seven-fold increase in execution speed when calculating angles for polynomials of degree 1000 or higher, achieved through the integration of the Optax optimization library and just-in-time compilation within PennyLane. These improvements were demonstrated using JAX on a CPU-based platform, suggesting that gains could be further amplified with GPU hardware. To validate the speedup, researchers generated random polynomials ranging in degree from 100 to 5000, exceeding the limitations of a direct root-finding approach.
Both the original “iterative” solver and the new “iterative-optax” method were tested, with “iterative-optax” completing calculations roughly seven times faster at degrees 1000, 2000, and 5000. The benchmarks excluded the initial JIT compilation time, focusing solely on the iterative solving process. The team reports that “Using the iterative Optax solver with PennyLane allows for efficient angle computation essential for Quantum Signal Processing and Quantum Singular Value Transformation circuits.”
Beyond speed, the method maintains high accuracy, reproducing target polynomials with minimal error. The code used to generate these results is publicly available, allowing others to verify and build upon the findings.
As an example, the team demonstrated the function’s application with the polynomial P(x) = x – 0.5x³ + 0.25x⁵, Optax reports. Just like that, in a single function, you can use functionality that is powering new quantum computing research today!




See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.
