-
Hybrid quantum programming with PennyLane Lightning on HPC platforms
Authors:
Ali Asadi,
Amintor Dusko,
Chae-Yeun Park,
Vincent Michaud-Rioux,
Isidor Schoch,
Shuli Shu,
Trevor Vincent,
Lee James O'Riordan
Abstract:
We introduce PennyLane's Lightning suite, a collection of high-performance state-vector simulators targeting CPU, GPU, and HPC-native architectures and workloads. Quantum applications such as QAOA, VQE, and synthetic workloads are implemented to demonstrate the supported classical computing architectures and showcase the scale of problems that can be simulated using our tooling. We benchmark the p…
▽ More
We introduce PennyLane's Lightning suite, a collection of high-performance state-vector simulators targeting CPU, GPU, and HPC-native architectures and workloads. Quantum applications such as QAOA, VQE, and synthetic workloads are implemented to demonstrate the supported classical computing architectures and showcase the scale of problems that can be simulated using our tooling. We benchmark the performance of Lightning with backends supporting CPUs, as well as NVidia and AMD GPUs, and compare the results to other commonly used high-performance simulator packages, demonstrating where Lightning's implementations give performance leads. We show improved CPU performance by employing explicit SIMD intrinsics and multi-threading, batched task-based execution across multiple GPUs, and distributed forward and gradient-based quantum circuit executions across multiple nodes. Our data shows we can comfortably simulate a variety of circuits, giving examples with up to 30 qubits on a single device or node, and up to 41 qubits using multiple nodes.
△ Less
Submitted 4 March, 2024;
originally announced March 2024.
-
Fast quantum circuit cutting with randomized measurements
Authors:
Angus Lowe,
Matija Medvidović,
Anthony Hayes,
Lee J. O'Riordan,
Thomas R. Bromley,
Juan Miguel Arrazola,
Nathan Killoran
Abstract:
We propose a new method to extend the size of a quantum computation beyond the number of physical qubits available on a single device. This is accomplished by randomly inserting measure-and-prepare channels to express the output state of a large circuit as a separable state across distinct devices. Our method employs randomized measurements, resulting in a sample overhead that is…
▽ More
We propose a new method to extend the size of a quantum computation beyond the number of physical qubits available on a single device. This is accomplished by randomly inserting measure-and-prepare channels to express the output state of a large circuit as a separable state across distinct devices. Our method employs randomized measurements, resulting in a sample overhead that is $\widetilde{O}(4^k / \varepsilon ^2)$, where $\varepsilon $ is the accuracy of the computation and $k$ the number of parallel wires that are "cut" to obtain smaller sub-circuits. We also show an information-theoretic lower bound of $Ω(2^k / \varepsilon ^2)$ for any comparable procedure. We use our techniques to show that circuits in the Quantum Approximate Optimization Algorithm (QAOA) with $p$ entangling layers can be simulated by circuits on a fraction of the original number of qubits with an overhead that is roughly $2^{O(pκ)}$, where $κ$ is the size of a known balanced vertex separator of the graph which encodes the optimization problem. We obtain numerical evidence of practical speedups using our method applied to the QAOA, compared to prior work. Finally, we investigate the practical feasibility of applying the circuit cutting procedure to large-scale QAOA problems on clustered graphs by using a $30$-qubit simulator to evaluate the variational energy of a $129$-qubit problem as well as carry out a $62$-qubit optimization.
△ Less
Submitted 20 February, 2023; v1 submitted 29 July, 2022;
originally announced July 2022.
-
Tensor Network Circuit Simulation at Exascale
Authors:
John Brennan,
Momme Allalen,
David Brayford,
Kenneth Hanley,
Luigi Iapichino,
Lee J. O'Riordan,
Myles Doyle,
Niall Moran
Abstract:
Tensor network methods are incredibly effective for simulating quantum circuits. This is due to their ability to efficiently represent and manipulate the wave-functions of large interacting quantum systems. We describe the challenges faced when scaling tensor network simulation approaches to Exascale compute platforms and introduce QuantEx, a framework for tensor network circuit simulation at Exas…
▽ More
Tensor network methods are incredibly effective for simulating quantum circuits. This is due to their ability to efficiently represent and manipulate the wave-functions of large interacting quantum systems. We describe the challenges faced when scaling tensor network simulation approaches to Exascale compute platforms and introduce QuantEx, a framework for tensor network circuit simulation at Exascale.
△ Less
Submitted 18 October, 2021;
originally announced October 2021.
-
Jet: Fast quantum circuit simulations with parallel task-based tensor-network contraction
Authors:
Trevor Vincent,
Lee J. O'Riordan,
Mikhail Andrenkov,
Jack Brown,
Nathan Killoran,
Haoyu Qi,
Ish Dhand
Abstract:
We introduce a new open-source software library Jet, which uses task-based parallelism to obtain speed-ups in classical tensor-network simulations of quantum circuits. These speed-ups result from i) the increased parallelism introduced by mapping the tensor-network simulation to a task-based framework, ii) a novel method of reusing shared work between tensor-network contraction tasks, and iii) the…
▽ More
We introduce a new open-source software library Jet, which uses task-based parallelism to obtain speed-ups in classical tensor-network simulations of quantum circuits. These speed-ups result from i) the increased parallelism introduced by mapping the tensor-network simulation to a task-based framework, ii) a novel method of reusing shared work between tensor-network contraction tasks, and iii) the concurrent contraction of tensor networks on all available hardware. We demonstrate the advantages of our method by benchmarking our code on several Sycamore-53 and Gaussian boson sampling (GBS) supremacy circuits against other simulators. We also provide and compare theoretical performance estimates for tensor-network simulations of Sycamore-53 and GBS supremacy circuits for the first time.
△ Less
Submitted 30 April, 2022; v1 submitted 20 July, 2021;
originally announced July 2021.
-
A hybrid classical-quantum workflow for natural language processing
Authors:
Lee J. O'Riordan,
Myles Doyle,
Fabio Baruffa,
Venkatesh Kannan
Abstract:
Natural language processing (NLP) problems are ubiquitous in classical computing, where they often require significant computational resources to infer sentence meanings. With the appearance of quantum computing hardware and simulators, it is worth developing methods to examine such problems on these platforms. In this manuscript we demonstrate the use of quantum computing models to perform NLP ta…
▽ More
Natural language processing (NLP) problems are ubiquitous in classical computing, where they often require significant computational resources to infer sentence meanings. With the appearance of quantum computing hardware and simulators, it is worth developing methods to examine such problems on these platforms. In this manuscript we demonstrate the use of quantum computing models to perform NLP tasks, where we represent corpus meanings, and perform comparisons between sentences of a given structure. We develop a hybrid workflow for representing small and large scale corpus data sets to be encoded, processed, and decoded using a quantum circuit model. In addition, we provide our results showing the efficacy of the method, and release our developed toolkit as an open software suite.
△ Less
Submitted 12 April, 2020;
originally announced April 2020.
-
Chaotic few-body vortex dynamics in rotating Bose--Einstein condensates
Authors:
Tiantian Zhang,
James Schloss,
Andreas Thomasen,
Lee James O'Riordan,
Thomas Busch,
Angela White
Abstract:
We investigate a small vortex-lattice system of four co-rotating vortices in an atomic Bose--Einstein condensate and find that the vortex dynamics display chaotic behaviour after a system quench introduced by reversing the direction of circulation of a single vortex through a phase-imprinting process. By tracking the vortex trajectories and Lyapunov exponent, we show the onset of chaotic dynamics…
▽ More
We investigate a small vortex-lattice system of four co-rotating vortices in an atomic Bose--Einstein condensate and find that the vortex dynamics display chaotic behaviour after a system quench introduced by reversing the direction of circulation of a single vortex through a phase-imprinting process. By tracking the vortex trajectories and Lyapunov exponent, we show the onset of chaotic dynamics is not immediate, but occurs at later times and is accelerated by the close-approach and separation of all vortices in a scattering event. The techniques we develop could potentially be applied to create locally induced chaotic dynamics in larger lattice systems as a stepping stone to study the role of chaotic events in turbulent vortex dynamics.
△ Less
Submitted 11 December, 2018;
originally announced December 2018.
-
PennyLane: Automatic differentiation of hybrid quantum-classical computations
Authors:
Ville Bergholm,
Josh Izaac,
Maria Schuld,
Christian Gogolin,
Shahnawaz Ahmed,
Vishnu Ajith,
M. Sohaib Alam,
Guillermo Alonso-Linaje,
B. AkashNarayanan,
Ali Asadi,
Juan Miguel Arrazola,
Utkarsh Azad,
Sam Banning,
Carsten Blank,
Thomas R Bromley,
Benjamin A. Cordier,
Jack Ceroni,
Alain Delgado,
Olivia Di Matteo,
Amintor Dusko,
Tanya Garg,
Diego Guala,
Anthony Hayes,
Ryan Hill,
Aroosa Ijaz
, et al. (43 additional authors not shown)
Abstract:
PennyLane is a Python 3 software framework for differentiable programming of quantum computers. The library provides a unified architecture for near-term quantum computing devices, supporting both qubit and continuous-variable paradigms. PennyLane's core feature is the ability to compute gradients of variational quantum circuits in a way that is compatible with classical techniques such as backpro…
▽ More
PennyLane is a Python 3 software framework for differentiable programming of quantum computers. The library provides a unified architecture for near-term quantum computing devices, supporting both qubit and continuous-variable paradigms. PennyLane's core feature is the ability to compute gradients of variational quantum circuits in a way that is compatible with classical techniques such as backpropagation. PennyLane thus extends the automatic differentiation algorithms common in optimization and machine learning to include quantum and hybrid computations. A plugin system makes the framework compatible with any gate-based quantum simulator or hardware. We provide plugins for hardware providers including the Xanadu Cloud, Amazon Braket, and IBM Quantum, allowing PennyLane optimizations to be run on publicly accessible quantum devices. On the classical front, PennyLane interfaces with accelerated machine learning libraries such as TensorFlow, PyTorch, JAX, and Autograd. PennyLane can be used for the optimization of variational quantum eigensolvers, quantum approximate optimization, quantum machine learning models, and many other applications.
△ Less
Submitted 29 July, 2022; v1 submitted 12 November, 2018;
originally announced November 2018.
-
Topological defect dynamics of vortex lattices in Bose--Einstein condensates
Authors:
Lee James O'Riordan,
Thomas Busch
Abstract:
Vortex lattices in rapidly rotating Bose--Einstein condensates are systems of topological excitations that arrange themselves into periodic patterns. Here we show how phase-imprinting techniques can be used to create a controllable number of defects in these lattices and examine the resulting dynamics. Even though we describe our system using the mean-field Gross--Pitaevskii theory, the full range…
▽ More
Vortex lattices in rapidly rotating Bose--Einstein condensates are systems of topological excitations that arrange themselves into periodic patterns. Here we show how phase-imprinting techniques can be used to create a controllable number of defects in these lattices and examine the resulting dynamics. Even though we describe our system using the mean-field Gross--Pitaevskii theory, the full range of many particle effects among the vortices can be studied. In particular we find the existence of localized vacancies that are quasi-stable over long periods of time, and characterize the effects on the background lattice through use of the orientational correlation function, and Delaunay triangulation.
△ Less
Submitted 6 November, 2016; v1 submitted 27 August, 2016;
originally announced August 2016.
-
Coherent transport by adiabatic passage on atom chips
Authors:
T. Morgan,
L. J. O'Riordan,
N. Crowley,
B. O'Sullivan,
Th. Busch
Abstract:
Adiabatic techniques offer some of the most promising tools to achieve high-fidelity control of the centre-of-mass degree of freedom of single atoms. As their main requirement is to follow an eigenstate of the system, constraints on timing and field strength stability are usually low, especially for trapped systems. In this paper we present a detailed example of a technique to adiabatically transp…
▽ More
Adiabatic techniques offer some of the most promising tools to achieve high-fidelity control of the centre-of-mass degree of freedom of single atoms. As their main requirement is to follow an eigenstate of the system, constraints on timing and field strength stability are usually low, especially for trapped systems. In this paper we present a detailed example of a technique to adiabatically transport a single atom between different waveguides on an atom chip. To ensure that all conditions are fulfilled, we carry out fully three dimensional simulations of the system, using experimentally realistic parameters. We also detail our method for simulating the system in very reasonable timescales on a consumer desktop machine by leveraging the power of GPU computing.
△ Less
Submitted 20 December, 2013; v1 submitted 10 September, 2013;
originally announced September 2013.