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

Build from Source (Linux)

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

Build from Source (MacOS)

# Setup
python -m pip install --upgrade pip
python -m pip install scikit-build-core
brew install llvm
# Build
pip install -e . -C cmake.args="-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++;-DCMAKE_CXX_FLAGS='-stdlib=libc++ -fexperimental-library'"
# Test
pytest -v tests/fast_pauli # + other pytest flags

Build from Source (Custom Configuration)

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

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.33rc1.tar.gz (164.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fast_pauli-0.0.33rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (359.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.33rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (359.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.33rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (359.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.33rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (360.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file fast_pauli-0.0.33rc1.tar.gz.

File metadata

  • Download URL: fast_pauli-0.0.33rc1.tar.gz
  • Upload date:
  • Size: 164.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fast_pauli-0.0.33rc1.tar.gz
Algorithm Hash digest
SHA256 f73a6b21832d16aa161ff6a65283ef203a88021fa616ace05fe4aa9c5aea46a0
MD5 4ef9137c523e8495a80a5e2a1f72f15f
BLAKE2b-256 f18517e4049f271050e35a20264d1951b0b35b9fde5e7786b4f2981332183876

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.33rc1.tar.gz:

Publisher: release.yml on qognitive/fast-pauli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_pauli-0.0.33rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.33rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02be41b47bb9a1f2b0ddd295a2923ee9a14a98e4c6a05102abae8781a79c133e
MD5 21831f457436d5bd873e3f1479ffe222
BLAKE2b-256 0fa871c0574f79add06ffca20a6290ace473b0120c08354f0c1cdf48593c3785

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.33rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on qognitive/fast-pauli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_pauli-0.0.33rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.33rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ff7d86f54e11b06f08b08f97eaae8c978de37116d819dd999d4e5dfcfb6ce9c
MD5 4361aeae75c49ccd26abd976e8165b26
BLAKE2b-256 2f46d556d1aef7bf62a0eb3184becc425e65163de9759cdcf1dde66a91f0c5ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.33rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on qognitive/fast-pauli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_pauli-0.0.33rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.33rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3072c7726b4aee66a47290f571ff3f88edea14dd1b2de3187c3ae3295e8f72d9
MD5 d0df09db4bf4621581a16d96bea4b9a2
BLAKE2b-256 14ef5244d33a86d762940cda5089fc4c72df4df0640ecc934237246ecd2a3b48

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.33rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on qognitive/fast-pauli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_pauli-0.0.33rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.33rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 99dd89f94cfd3c0cda05db0b18deffd7f3f4131c46a7758c71b1ad46e3a99f5b
MD5 02a99505e40e1c9a4d47e5fb1742a5c2
BLAKE2b-256 3142a5ad1e4093cf7ad0be35efb5df47e2f9e2294ee3edb6520822d4171b826a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.33rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on qognitive/fast-pauli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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