Skip to main content

fast pauli

Project description

Status Linux Build Status Linting
Usage Documentation Status Installation
Package PyPI - Version
Legal License Contributor Covenant

Introduction

Welcome to fast-pauli from Qognitive, an open-source Python / C++ library for optimized operations on Pauli matrices and Pauli strings, inspired by PauliComposer paper. fast-pauli aims to provide a fast and efficient alternative to existing libraries for working with Pauli matrices and strings, with a focus on performance and usability. For example, fast-pauli provides optimized functions to apply Pauli strings and operators to a batch of states rather than just a single state vector. See our benchmarks for more details about how fast-pauli can speed up certain functions compared to Qiskit.

Our Getting Started guide offers an introduction to some of the core functionality in fast-pauli.

Installation

Pre-built Binaries

pip install fast_pauli

From Source

There are two strategies for building fast_pauli from source. One is a quick and easy method that uses all the default configuration settings. The other is a more configurable method that involves invoking CMake, pip, pytest, and other tools directly.

Requirements

  • CMake >= 3.25
  • Ninja >= 1.11
  • C++ compiler with OpenMP and C++20 support (LLVM recommended)
  • Python >= 3.10

Quick Start (Users)

python -m pip install -e ".[dev]"
pytest -v tests/fast_pauli

Configurable Build (Developers)

python -m pip install --upgrade pip
python -m pip install scikit-build-core
python -m pip install --no-build-isolation -ve ".[dev]" -C cmake.args="-DCMAKE_CXX_COMPILER=<compiler> + <other cmake flags>"
pytest -v tests/fast_pauli # + other pytest flags

Compiled _fast_pauli python module gets installed into fast_pauli directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fast_pauli-0.0.28.tar.gz (157.3 kB view details)

Uploaded Source

Built Distributions

fast_pauli-0.0.28-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.8 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.8 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (336.9 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (337.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

File details

Details for the file fast_pauli-0.0.28.tar.gz.

File metadata

  • Download URL: fast_pauli-0.0.28.tar.gz
  • Upload date:
  • Size: 157.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for fast_pauli-0.0.28.tar.gz
Algorithm Hash digest
SHA256 51ab7d7644ab91f681513e638f17cc514cd108e9463da34c63540913357e2a3e
MD5 892987aa47c886b22e1b863790ef50f8
BLAKE2b-256 5e3a19af0cfe1cbac63a48f046eceaaead2b7d4db9e9e12ff3abd5e2ebd53db6

See more details on using hashes here.

File details

Details for the file fast_pauli-0.0.28-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.28-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8190ace6d8c2523ac457a1677634a17d57ab2515d776dca1b34a43096609325b
MD5 2bb1626399daeb9c9b2d6571c77d7943
BLAKE2b-256 8c879393012c5ba81e04a6ad9ea183d5137fa416661a8f190e5d217d5c15cfda

See more details on using hashes here.

File details

Details for the file fast_pauli-0.0.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90596323de6ca232dd7bbecdd8efa7f19a6e1f7d2ff62f09e9b09a202e3470d9
MD5 a169bbd35e10794ad42732f022afee71
BLAKE2b-256 2aa7c0594091eb9629a2c22b5f639e084ba8570bef50149d64e3595adaadf0cb

See more details on using hashes here.

File details

Details for the file fast_pauli-0.0.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3482dbaf58f9c89044f124fc3d45fe419db2bb3596422385fa887ab2ac7ab7f
MD5 d0c285412bcb6a0a855b9a14d54e3ec2
BLAKE2b-256 4323cb69c73c841144f0eaef8231bee8f8973a000d67ab8cff6cd59e255be4dd

See more details on using hashes here.

File details

Details for the file fast_pauli-0.0.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46f23fb1ab15d3a324fd72b0ede6f9c1b8ba83078a8d06586a65537761b9f426
MD5 72c1ef12dc5a9813fd2ad887d7a67aa3
BLAKE2b-256 e891c5e010004da9b3cb2972219b05e746ffdc71b99421e88d055d67f55bcd7e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page