Efficiently manipulating Pauli strings with PauliArray

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dion, Maxime, Belabbas, Tania, Bastien, Nolan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910463015518208
author Dion, Maxime
Belabbas, Tania
Bastien, Nolan
author_facet Dion, Maxime
Belabbas, Tania
Bastien, Nolan
contents Pauli matrices and Pauli strings are widely used in quantum computing. These mathematical objects are useful to describe or manipulate the quantum state of qubits. They offer a convenient basis to express operators and observables used in different problem instances such as molecular simulation and combinatorial optimization. Therefore, it is important to have a well-rounded, versatile and efficient tool to handle a large number of Pauli strings and operators expressed in this basis. This is the objective behind the development of the PauliArray library presented in this work. This library introduces data structures to represent arrays of Pauli strings and operators as well as various methods to modify and combine them. Built using NumPy, PauliArray offers fast operations and the ability to use broadcasting to easily carry out otherwise cumbersome manipulations. Applications to the fermion-to-qubit mapping, to the estimation of expectation values and to the computation of commutators are considered to illustrate how PauliArray can simplify some relevant tasks and accomplish them faster than current libraries.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19287
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficiently manipulating Pauli strings with PauliArray
Dion, Maxime
Belabbas, Tania
Bastien, Nolan
Quantum Physics
Pauli matrices and Pauli strings are widely used in quantum computing. These mathematical objects are useful to describe or manipulate the quantum state of qubits. They offer a convenient basis to express operators and observables used in different problem instances such as molecular simulation and combinatorial optimization. Therefore, it is important to have a well-rounded, versatile and efficient tool to handle a large number of Pauli strings and operators expressed in this basis. This is the objective behind the development of the PauliArray library presented in this work. This library introduces data structures to represent arrays of Pauli strings and operators as well as various methods to modify and combine them. Built using NumPy, PauliArray offers fast operations and the ability to use broadcasting to easily carry out otherwise cumbersome manipulations. Applications to the fermion-to-qubit mapping, to the estimation of expectation values and to the computation of commutators are considered to illustrate how PauliArray can simplify some relevant tasks and accomplish them faster than current libraries.
title Efficiently manipulating Pauli strings with PauliArray
topic Quantum Physics
url https://arxiv.org/abs/2405.19287